summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/radeon_vce.h
diff options
context:
space:
mode:
authorLeo Liu <leo.liu@amd.com>2015-03-30 13:33:19 -0400
committerLeo Liu <leo.liu@amd.com>2015-03-31 12:31:58 -0400
commita714fbacf7bc5dcbc316bbfcb6bd9cb38fb4f858 (patch)
treefe15fc5fa481ebe73a3dc8352891cd6bfc0c9d16 /src/gallium/drivers/radeon/radeon_vce.h
parent8e3668a7c0c725285d1d23cf5f2bc32c69114650 (diff)
downloadexternal_mesa3d-a714fbacf7bc5dcbc316bbfcb6bd9cb38fb4f858.zip
external_mesa3d-a714fbacf7bc5dcbc316bbfcb6bd9cb38fb4f858.tar.gz
external_mesa3d-a714fbacf7bc5dcbc316bbfcb6bd9cb38fb4f858.tar.bz2
radeon/vce: implement video usability information support
This will help encoding VUI into the bitstream v2: make backward compatible Signed-off-by: Leo Liu <leo.liu@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'src/gallium/drivers/radeon/radeon_vce.h')
-rw-r--r--src/gallium/drivers/radeon/radeon_vce.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/radeon_vce.h b/src/gallium/drivers/radeon/radeon_vce.h
index 11febc8..7f0cd1f 100644
--- a/src/gallium/drivers/radeon/radeon_vce.h
+++ b/src/gallium/drivers/radeon/radeon_vce.h
@@ -75,6 +75,7 @@ struct rvce_encoder {
void (*pic_control)(struct rvce_encoder *enc);
void (*motion_estimation)(struct rvce_encoder *enc);
void (*rdo)(struct rvce_encoder *enc);
+ void (*vui)(struct rvce_encoder *enc);
void (*encode)(struct rvce_encoder *enc);
void (*destroy)(struct rvce_encoder *enc);
@@ -100,6 +101,7 @@ struct rvce_encoder {
struct rvid_buffer *fb;
struct rvid_buffer cpb;
struct pipe_h264_enc_picture_desc pic;
+ bool use_vui;
};
struct pipe_video_codec *rvce_create_encoder(struct pipe_context *context,