Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangfei
gstreamer-vaapi
Commits
b9a6dcd7
Commit
b9a6dcd7
authored
Aug 16, 2019
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
gst-libs/gst/vaapi/gstvaapidecoder_h265.c
View file @
b9a6dcd7
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment