• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

hardware/intel/intel-driver


Commit MetaInfo

Révision142f38867d44dfa85b9502bce48e6d66f75f8141 (tree)
l'heure2016-05-27 14:24:35
AuteurZhao Yakui <yakui.zhao@inte...>
CommiterXiang, Haihao

Message de Log

Release the corresponding buffers for VP9 encoding

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Reviewed-by: Sean V Kelley <sean.v.kelley@intel.com>

Change Summary

Modification

--- a/src/i965_drv_video.c
+++ b/src/i965_drv_video.c
@@ -2835,6 +2835,13 @@ i965_BeginPicture(VADriverContextP ctx,
28352835 obj_context->codec_state.encode.slice_index = 0;
28362836 obj_context->codec_state.encode.vps_sps_seq_index = 0;
28372837 i965_release_buffer_store(&obj_context->codec_state.encode.encmb_map);
2838+
2839+ if (obj_config->profile == VAProfileVP9Profile0) {
2840+ for (i = 0; i < ARRAY_ELEMS(obj_context->codec_state.encode.misc_param); i++)
2841+ i965_release_buffer_store(&obj_context->codec_state.encode.misc_param[i]);
2842+
2843+ i965_release_buffer_store(&obj_context->codec_state.encode.seq_param_ext);
2844+ }
28382845 } else {
28392846 obj_context->codec_state.decode.current_render_target = render_target;
28402847 i965_release_buffer_store(&obj_context->codec_state.decode.pic_param);