Permalink
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also .
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
- 2 commits
- 7 files changed
- 0 comments
- 1 contributor
Unified
Split
Showing
with
86 additions
and 1 deletion.
- +1 −1 libavcodec/hevc_ps.c
- +34 −0 tests/fate/hevc.mak
- +4 −0 tests/ref/fate/hevc-conformance-ADJUST_IPRED_ANGLE_A_RExt_Mitsubishi_1
- +2 −0 tests/ref/fate/hevc-conformance-IPCM_A_RExt_NEC
- +2 −0 tests/ref/fate/hevc-conformance-IPCM_B_RExt_NEC
- +25 −0 tests/ref/fate/hevc-conformance-Main_422_10_A_RExt_Sony_1
- +18 −0 tests/ref/fate/hevc-conformance-Main_422_10_B_RExt_Sony_1
| @@ -1285,7 +1285,7 @@ int ff_hevc_decode_nal_pps(HEVCContext *s) | ||
| int pps_range_extensions_flag = get_bits1(gb); | ||
| /* int pps_extension_7bits = */ get_bits(gb, 7); | ||
| if (sps->ptl.general_ptl.profile_idc == FF_PROFILE_HEVC_REXT && pps_range_extensions_flag) { | ||
| av_log(s->avctx, AV_LOG_ERROR, | ||
| av_log(s->avctx, AV_LOG_WARNING, | ||
| "PPS extension flag is partially implemented.\n"); | ||
| pps_range_extensions(s, pps, sps); | ||
| } | ||
| @@ -143,6 +143,18 @@ HEVC_SAMPLES_10BIT = \ | ||
| WPP_F_ericsson_MAIN10_2 \ | ||
| INITQP_B_Sony_1 \ | ||
|
|
||
| HEVC_SAMPLES_422_10BIT = \ | ||
| ADJUST_IPRED_ANGLE_A_RExt_Mitsubishi_1 \ | ||
| IPCM_A_RExt_NEC \ | ||
|
|
||
| HEVC_SAMPLES_422_10BIN = \ | ||
| Main_422_10_A_RExt_Sony_1 \ | ||
| Main_422_10_B_RExt_Sony_1 \ | ||
|
|
||
| HEVC_SAMPLES_444_12BIT = \ | ||
| IPCM_B_RExt_NEC \ | ||
|
|
||
|
|
||
| # equivalent bitstreams | ||
| # AMP_D_Hisilicon_3 -- AMP_D_Hisilicon | ||
| # AMP_E_Hisilicon_3 -- AMP_E_Hisilicon | ||
| @@ -153,6 +165,10 @@ HEVC_SAMPLES_10BIT = \ | ||
|
|
||
| # do not pass: | ||
| # TSUNEQBD_A_MAIN10_Technicolor_2.bit (segfault mix 9-10bits) | ||
| # PERSIST_RPARAM_A_RExt_Sony_1 (rext) | ||
| # QMATRIX_A_RExt_Sony_1 (rext) | ||
| # SAO_A_RExt_MediaTek_1 (rext) | ||
|
|
||
|
|
||
| define FATE_HEVC_TEST | ||
| FATE_HEVC += fate-hevc-conformance-$(1) | ||
| @@ -164,8 +180,26 @@ FATE_HEVC += fate-hevc-conformance-$(1) | ||
| fate-hevc-conformance-$(1): CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/hevc-conformance/$(1).bit -pix_fmt yuv420p10le | ||
| endef | ||
|
|
||
| define FATE_HEVC_TEST_422_10BIT | ||
| FATE_HEVC += fate-hevc-conformance-$(1) | ||
| fate-hevc-conformance-$(1): CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/hevc-conformance/$(1).bit -pix_fmt yuv422p10le | ||
| endef | ||
|
|
||
| define FATE_HEVC_TEST_422_10BIN | ||
| FATE_HEVC += fate-hevc-conformance-$(1) | ||
| fate-hevc-conformance-$(1): CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/hevc-conformance/$(1).bin -pix_fmt yuv422p10le | ||
| endef | ||
|
|
||
| define FATE_HEVC_TEST_444_12BIT | ||
| FATE_HEVC += fate-hevc-conformance-$(1) | ||
| fate-hevc-conformance-$(1): CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/hevc-conformance/$(1).bit -pix_fmt yuv444p12le | ||
| endef | ||
|
|
||
| $(foreach N,$(HEVC_SAMPLES),$(eval $(call FATE_HEVC_TEST,$(N)))) | ||
| $(foreach N,$(HEVC_SAMPLES_10BIT),$(eval $(call FATE_HEVC_TEST_10BIT,$(N)))) | ||
| $(foreach N,$(HEVC_SAMPLES_422_10BIT),$(eval $(call FATE_HEVC_TEST_422_10BIT,$(N)))) | ||
| $(foreach N,$(HEVC_SAMPLES_422_10BIN),$(eval $(call FATE_HEVC_TEST_422_10BIN,$(N)))) | ||
| $(foreach N,$(HEVC_SAMPLES_444_12BIT),$(eval $(call FATE_HEVC_TEST_444_12BIT,$(N)))) | ||
|
|
||
| FATE_HEVC-$(call DEMDEC, HEVC, HEVC) += $(FATE_HEVC) | ||
|
|
||
| @@ -0,0 +1,4 @@ | ||
| #tb 0: 1/25 | ||
| 0, 0, 0, 1, 8294400, 0xa061c78c | ||
| 0, 1, 1, 1, 8294400, 0x60250c76 | ||
| 0, 2, 2, 1, 8294400, 0x48e3fbdb |
| @@ -0,0 +1,2 @@ | ||
| #tb 0: 1/25 | ||
| 0, 0, 0, 1, 399360, 0xbac29a51 |
| @@ -0,0 +1,2 @@ | ||
| #tb 0: 1/25 | ||
| 0, 0, 0, 1, 599040, 0x1f808406 |
| @@ -0,0 +1,25 @@ | ||
| #tb 0: 1/25 | ||
| 0, 0, 0, 1, 8294400, 0xa189c341 | ||
| 0, 1, 1, 1, 8294400, 0xefe07f3f | ||
| 0, 2, 2, 1, 8294400, 0xf11cd41f | ||
| 0, 3, 3, 1, 8294400, 0x85897411 | ||
| 0, 4, 4, 1, 8294400, 0x2db68eca | ||
| 0, 5, 5, 1, 8294400, 0xbf826c45 | ||
| 0, 6, 6, 1, 8294400, 0x9960de92 | ||
| 0, 7, 7, 1, 8294400, 0xd8125d06 | ||
| 0, 8, 8, 1, 8294400, 0xb90251df | ||
| 0, 9, 9, 1, 8294400, 0x5cc8c099 | ||
| 0, 10, 10, 1, 8294400, 0xe5b49131 | ||
| 0, 11, 11, 1, 8294400, 0xa861faac | ||
| 0, 12, 12, 1, 8294400, 0x1e125ad2 | ||
| 0, 13, 13, 1, 8294400, 0xbceba6d9 | ||
| 0, 14, 14, 1, 8294400, 0x135dab49 | ||
| 0, 15, 15, 1, 8294400, 0xf09f3164 | ||
| 0, 16, 16, 1, 8294400, 0xfda414dd | ||
| 0, 17, 17, 1, 8294400, 0xbf273db4 | ||
| 0, 18, 18, 1, 8294400, 0x0dea125e | ||
| 0, 19, 19, 1, 8294400, 0xde6dedb0 | ||
| 0, 20, 20, 1, 8294400, 0x6389ceb6 | ||
| 0, 21, 21, 1, 8294400, 0x8d69e4b8 | ||
| 0, 22, 22, 1, 8294400, 0xf74c0457 | ||
| 0, 23, 23, 1, 8294400, 0x5ecd983e |
| @@ -0,0 +1,18 @@ | ||
| #tb 0: 1/25 | ||
| 0, 0, 0, 1, 16384000, 0xbf300829 | ||
| 0, 1, 1, 1, 16384000, 0x7beeab61 | ||
| 0, 2, 2, 1, 16384000, 0x5e55cd13 | ||
| 0, 3, 3, 1, 16384000, 0x62a54105 | ||
| 0, 4, 4, 1, 16384000, 0x2db21797 | ||
| 0, 5, 5, 1, 16384000, 0x6d9f84c1 | ||
| 0, 6, 6, 1, 16384000, 0x68fdacfc | ||
| 0, 7, 7, 1, 16384000, 0xe2c93c1a | ||
| 0, 8, 8, 1, 16384000, 0x7d011df0 | ||
| 0, 9, 9, 1, 16384000, 0x7524e2d3 | ||
| 0, 10, 10, 1, 16384000, 0x1d240868 | ||
| 0, 11, 11, 1, 16384000, 0x14cab858 | ||
| 0, 12, 12, 1, 16384000, 0x4e2e1130 | ||
| 0, 13, 13, 1, 16384000, 0x60c75577 | ||
| 0, 14, 14, 1, 16384000, 0x32dfc64b | ||
| 0, 15, 15, 1, 16384000, 0x0725f9ac | ||
| 0, 16, 16, 1, 16384000, 0xda0886f1 |