intel / libyami

Yet Another Media Infrastructure. it is core part of media codec with hardware acceleration, it is yummy to your video experience on Linux like platform.
Apache License 2.0
147 stars 106 forks source link

265_dec: modify the length of sublayer_hrd_params #697

Closed wudping closed 7 years ago

wudping commented 7 years ago

According to specification 7.4.3.1 and 7.4.3.2.1, the value of sps_max_sub_layers_minus1 and vps_max_sub_layers_minus1 shall be in the range of 0 to 6, inclusive, so sublayer_hrd_params[]'s length should be at least MAXSUBLAYERS(7). Or else, decoding will crash when decoding some clips.

hevc 8 bit decoding. VIZ-6406

Signed-off-by: wudping dongpingx.wu@intel.com

wudping commented 7 years ago

please help to review.

wudping commented 7 years ago

updated according to the comments, and set PPS's deblocking filter parameter to the SLICE's when the SLICE's deblocking parameter doesn't present. Please help to review.

wudping commented 7 years ago

update according to the suggestions, please help to review.

wudping commented 7 years ago

updated according to suggestion, please help to review. thanks again.

wudping commented 7 years ago

updated according to suggestions, please help to review..

xuguangxin commented 7 years ago

merged as 125f35d8412252aa67efcb7f13737746a1299f1e