[Libva] [PATCH] encode: sequence params should be reusable across frames
Haitao Huang
haitao.huang at intel.com
Wed Aug 15 10:43:56 PDT 2012
Client should not be required to send seq for each picture.
Change-Id: I4f24ac7dd7ad2d0657a641fb82793c9bae665694
---
src/i965_drv_video.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/src/i965_drv_video.c b/src/i965_drv_video.c
index dbf4e44..13614fd 100755
--- a/src/i965_drv_video.c
+++ b/src/i965_drv_video.c
@@ -1496,7 +1496,6 @@ i965_BeginPicture(VADriverContextP ctx,
obj_context->codec_state.proc.current_render_target = render_target;
} else if (obj_context->codec_type == CODEC_ENC) {
i965_release_buffer_store(&obj_context->codec_state.encode.pic_param);
- i965_release_buffer_store(&obj_context->codec_state.encode.seq_param);
for (i = 0; i < obj_context->codec_state.encode.num_slice_params; i++) {
i965_release_buffer_store(&obj_context->codec_state.encode.slice_params[i]);
@@ -1506,7 +1505,6 @@ i965_BeginPicture(VADriverContextP ctx,
/* ext */
i965_release_buffer_store(&obj_context->codec_state.encode.pic_param_ext);
- i965_release_buffer_store(&obj_context->codec_state.encode.seq_param_ext);
for (i = 0; i < ARRAY_ELEMS(obj_context->codec_state.encode.packed_header_param); i++)
i965_release_buffer_store(&obj_context->codec_state.encode.packed_header_param[i]);
--
1.7.5.4
More information about the Libva
mailing list