hardware/intel/intel-driver
Revisión | 9aa24c3f672aa7f37edfd4ecf99e4dfb2152b8a7 (tree) |
---|---|
Tiempo | 2014-12-14 01:42:17 |
Autor | Xiang, Haihao <haihao.xiang@inte...> |
Commiter | Xiang, Haihao |
HEVC: Submit HCP_TILE_STATE if required
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
(cherry picked from commit 725d5640001c8de6e81a63616a48108db6f3dd8f)
@@ -874,7 +874,9 @@ gen9_hcpd_hevc_decode_picture(VADriverContextP ctx, | ||
874 | 874 | gen9_hcpd_pipe_buf_addr_state(ctx, decode_state, gen9_hcpd_context); |
875 | 875 | gen9_hcpd_hevc_qm_state(ctx, decode_state, gen9_hcpd_context); |
876 | 876 | gen9_hcpd_pic_state(ctx, decode_state, gen9_hcpd_context); |
877 | - gen9_hcpd_tile_state(ctx, decode_state, gen9_hcpd_context); | |
877 | + | |
878 | + if (pic_param->pic_fields.bits.tiles_enabled_flag) | |
879 | + gen9_hcpd_tile_state(ctx, decode_state, gen9_hcpd_context); | |
878 | 880 | |
879 | 881 | /* Need to double it works or not if the two slice groups have differenct slice data buffers */ |
880 | 882 | for (j = 0; j < decode_state->num_slice_params; j++) { |