Commit b9a6dcd7 authored by wangfei's avatar wangfei
Browse files

libs: h265dec: remove limitation of get iq matrix

According hevc spec, scaling_list_data is not related
to chroma_format_idc.
parent e96a4357
Pipeline #56778 passed with stages
in 21 minutes and 1 second
......@@ -1296,10 +1296,6 @@ ensure_quant_matrix (GstVaapiDecoderH265 * decoder,
}
iq_matrix = base_picture->iq_matrix->param;
/* Only supporting 4:2:0 */
if (sps->chroma_format_idc != 1)
return GST_VAAPI_DECODER_STATUS_ERROR_UNSUPPORTED_CHROMA_FORMAT;
fill_iq_matrix_4x4 (iq_matrix, scaling_list);
fill_iq_matrix_8x8 (iq_matrix, scaling_list);
fill_iq_matrix_16x16 (iq_matrix, scaling_list);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment