History

vaapi_encode: Add flag to mark encoders supporting only constant-quality

And set it for MJPEG.

Mark Thompson committed 8 years ago

Commit fef21621 parent a7eda763 files · +6 −1Browse files

Showing the changes to libavcodec/vaapi_encode.h (1 of 3 files). Show all

Unified · Split

libavcodec/vaapi_encode.h+2−0
@@ -251,6 +251,8 @@ typedef struct VAAPIEncodeContext { · 250 unmodified lines
251251 enum {
252252 // Codec supports controlling the subdivision of pictures into slices.
253253 FLAG_SLICE_CONTROL = 1 << 0,
254+ // Codec only supports constant quality (no rate control).
255+ FLAG_CONSTANT_QUALITY_ONLY = 1 << 1,
254256 };
255257
256258 typedef struct VAAPIEncodeType {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t