diff options
author | Boyuan Zhang <[email protected]> | 2016-07-21 19:40:14 -0400 |
---|---|---|
committer | Christian König <[email protected]> | 2016-07-25 13:30:42 +0200 |
commit | 5bcaa1b9e9707aea7be73b406345bb9e46f92a18 (patch) | |
tree | ca06edfbc85b1c1e5d1509df8b92c5eed24d57b0 /src/gallium/auxiliary/util/u_dirty_flags.h | |
parent | e7b2ce5fd872f6bf348310dcb6541ee5263886d5 (diff) |
st/va: add encode entrypoint v2
VAAPI passes PIPE_VIDEO_ENTRYPOINT_ENCODE as entry point for encoding case. We
will save this encode entry point in config. config_id was used as profile
previously. Now, config has both profile and entrypoint field, and config_id is
used to get the config object. Later on, we pass this entrypoint to
context->templat.entrypoint instead of always hardcoded to
PIPE_VIDEO_ENTRYPOINT_BITSTREAM for decoding case previously. Encode entrypoint
is not accepted by driver until we enable Vaapi encode in later patch.
v2 (chk): fix commit message to match 80 chars, use switch instead of ifs,
fix memory leaks in the error path, implement vlVaQueryConfigEntrypoints
as well, drop VAEntrypointEncPicture (only used for JPEG).
Signed-off-by: Boyuan Zhang <[email protected]>
Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/util/u_dirty_flags.h')
0 files changed, 0 insertions, 0 deletions