mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-30 19:18:31 +00:00
libs: h265dec: remove limitation of get iq matrix
According hevc spec, scaling_list_data is not related to chroma_format_idc.
This commit is contained in:
parent
e96a435756
commit
b9a6dcd7f2
1 changed files with 0 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue