History

vaapi_encode: Check packed header capabilities

This improves behaviour with drivers which do not support packed headers, such as AMD VCE on mesa/gallium. (cherry picked from commit 892bbbcdc171ff0d08d69636a240ffb95f54243c)

Mark Thompson committed 10 years ago

Commit 478a4b71 parent c8241e75 files · +54 −7Browse files

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

Unified · Split

libavcodec/vaapi_encode.h+3−0
@@ -101,6 +101,9 @@ typedef struct VAAPIEncodeContext { · 100 unmodified lines
101101 unsigned int va_rt_format;
102102 // Rate control mode.
103103 unsigned int va_rc_mode;
104+ // Supported packed headers (initially the desired set, modified
105+ // later to what is actually supported).
106+ unsigned int va_packed_headers;
104107
105108 // The required size of surfaces. This is probably the input
106109 // size (AVCodecContext.width|height) aligned up to whatever

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