projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e96a435
)
libs: h265dec: remove limitation of get iq matrix
author
Wangfei
<fei.w.wang@intel.com>
Fri, 16 Aug 2019 03:02:08 +0000
(11:02 +0800)
committer
Wangfei
<fei.w.wang@intel.com>
Fri, 16 Aug 2019 03:44:00 +0000
(11:44 +0800)
According hevc spec, scaling_list_data is not related
to chroma_format_idc.
gst-libs/gst/vaapi/gstvaapidecoder_h265.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/vaapi/gstvaapidecoder_h265.c
b/gst-libs/gst/vaapi/gstvaapidecoder_h265.c
index
21dcb4c
..
7a5a2e6
100644
(file)
--- a/
gst-libs/gst/vaapi/gstvaapidecoder_h265.c
+++ b/
gst-libs/gst/vaapi/gstvaapidecoder_h265.c
@@
-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);