From 2b50847e0f8f8894bfa74aa1c5a63e90a9867b45 Mon Sep 17 00:00:00 2001 From: Vittorio Giovara Date: Thu, 21 Sep 2017 13:23:21 +0200 Subject: [PATCH 1/6] pixdesc: Add API to map color property names to enum values Signed-off-by: Vittorio Giovara --- doc/APIchanges | 5 ++++ libavutil/pixdesc.c | 64 +++++++++++++++++++++++++++++++++++++++++++++ libavutil/pixdesc.h | 25 ++++++++++++++++++ libavutil/version.h | 2 +- 4 files changed, 95 insertions(+), 1 deletion(-) diff --git a/doc/APIchanges b/doc/APIchanges index ed90be890d..fa27007f44 100644 --- a/doc/APIchanges +++ b/doc/APIchanges @@ -13,6 +13,11 @@ libavutil: 2017-03-23 API changes, most recent first: +2017-xx-xx - xxxxxxx - lavu 56.6.0 - pixdesc.h + Add av_color_range_from_name(), av_color_primaries_from_name(), + av_color_transfer_from_name(), av_color_space_from_name(), and + av_chroma_location_from_name(). + 2016-xx-xx - xxxxxxx - lavf 58.1.0 - avio.h Add avio_read_partial(). diff --git a/libavutil/pixdesc.c b/libavutil/pixdesc.c index b168ac7d0b..957f99fdaa 100644 --- a/libavutil/pixdesc.c +++ b/libavutil/pixdesc.c @@ -2013,27 +2013,91 @@ const char *av_color_range_name(enum AVColorRange range) color_range_names[range] : NULL; } +int av_color_range_from_name(const char *name) +{ + int i; + + for (i = 0; i < FF_ARRAY_ELEMS(color_range_names); i++) { + size_t len = strlen(color_range_names[i]); + if (!strncmp(color_range_names[i], name, len)) + return i; + } + + return AVERROR(EINVAL); +} + const char *av_color_primaries_name(enum AVColorPrimaries primaries) { return (unsigned) primaries < AVCOL_PRI_NB ? color_primaries_names[primaries] : NULL; } +int av_color_primaries_from_name(const char *name) +{ + int i; + + for (i = 0; i < FF_ARRAY_ELEMS(color_primaries_names); i++) { + size_t len = strlen(color_primaries_names[i]); + if (!strncmp(color_primaries_names[i], name, len)) + return i; + } + + return AVERROR(EINVAL); +} + const char *av_color_transfer_name(enum AVColorTransferCharacteristic transfer) { return (unsigned) transfer < AVCOL_TRC_NB ? color_transfer_names[transfer] : NULL; } +int av_color_transfer_from_name(const char *name) +{ + int i; + + for (i = 0; i < FF_ARRAY_ELEMS(color_transfer_names); i++) { + size_t len = strlen(color_transfer_names[i]); + if (!strncmp(color_transfer_names[i], name, len)) + return i; + } + + return AVERROR(EINVAL); +} + const char *av_color_space_name(enum AVColorSpace space) { return (unsigned) space < AVCOL_SPC_NB ? color_space_names[space] : NULL; } +int av_color_space_from_name(const char *name) +{ + int i; + + for (i = 0; i < FF_ARRAY_ELEMS(color_space_names); i++) { + size_t len = strlen(color_space_names[i]); + if (!strncmp(color_space_names[i], name, len)) + return i; + } + + return AVERROR(EINVAL); +} + const char *av_chroma_location_name(enum AVChromaLocation location) { return (unsigned) location < AVCHROMA_LOC_NB ? chroma_location_names[location] : NULL; } +int av_chroma_location_from_name(const char *name) +{ + int i; + + for (i = 0; i < FF_ARRAY_ELEMS(chroma_location_names); i++) { + size_t len = strlen(chroma_location_names[i]); + if (!strncmp(chroma_location_names[i], name, len)) + return i; + } + + return AVERROR(EINVAL); +} diff --git a/libavutil/pixdesc.h b/libavutil/pixdesc.h index 3bb10f777a..4e8a29e607 100644 --- a/libavutil/pixdesc.h +++ b/libavutil/pixdesc.h @@ -297,24 +297,49 @@ enum AVPixelFormat av_pix_fmt_swap_endianness(enum AVPixelFormat pix_fmt); */ const char *av_color_range_name(enum AVColorRange range); +/** + * @return the AVColorRange value for name or an AVError if not found. + */ +int av_color_range_from_name(const char *name); + /** * @return the name for provided color primaries or NULL if unknown. */ const char *av_color_primaries_name(enum AVColorPrimaries primaries); +/** + * @return the AVColorPrimaries value for name or an AVError if not found. + */ +int av_color_primaries_from_name(const char *name); + /** * @return the name for provided color transfer or NULL if unknown. */ const char *av_color_transfer_name(enum AVColorTransferCharacteristic transfer); +/** + * @return the AVColorTransferCharacteristic value for name or an AVError if not found. + */ +int av_color_transfer_from_name(const char *name); + /** * @return the name for provided color space or NULL if unknown. */ const char *av_color_space_name(enum AVColorSpace space); +/** + * @return the AVColorSpace value for name or an AVError if not found. + */ +int av_color_space_from_name(const char *name); + /** * @return the name for provided chroma location or NULL if unknown. */ const char *av_chroma_location_name(enum AVChromaLocation location); +/** + * @return the AVChromaLocation value for name or an AVError if not found. + */ +int av_chroma_location_from_name(const char *name); + #endif /* AVUTIL_PIXDESC_H */ diff --git a/libavutil/version.h b/libavutil/version.h index 5d0bb61124..c258968b8e 100644 --- a/libavutil/version.h +++ b/libavutil/version.h @@ -54,7 +54,7 @@ */ #define LIBAVUTIL_VERSION_MAJOR 56 -#define LIBAVUTIL_VERSION_MINOR 5 +#define LIBAVUTIL_VERSION_MINOR 6 #define LIBAVUTIL_VERSION_MICRO 0 #define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \ From 9e361022782514d4d4ce97b9c9d5a7863a2de519 Mon Sep 17 00:00:00 2001 From: Sean McGovern Date: Sun, 24 Sep 2017 12:57:54 +0200 Subject: [PATCH 2/6] smacker: return meaningful error codes on failure --- libavformat/smacker.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libavformat/smacker.c b/libavformat/smacker.c index eb4b63fdad..56c909bc06 100644 --- a/libavformat/smacker.c +++ b/libavformat/smacker.c @@ -112,7 +112,7 @@ static int smacker_read_header(AVFormatContext *s) /* read and check header */ smk->magic = avio_rl32(pb); if (smk->magic != MKTAG('S', 'M', 'K', '2') && smk->magic != MKTAG('S', 'M', 'K', '4')) - return -1; + return AVERROR_INVALIDDATA; smk->width = avio_rl32(pb); smk->height = avio_rl32(pb); smk->frames = avio_rl32(pb); @@ -126,7 +126,7 @@ static int smacker_read_header(AVFormatContext *s) if(smk->treesize >= UINT_MAX/4){ // smk->treesize + 16 must not overflow (this check is probably redundant) av_log(s, AV_LOG_ERROR, "treesize too large\n"); - return -1; + return AVERROR_INVALIDDATA; } //FIXME remove extradata "rebuilding" @@ -142,7 +142,7 @@ static int smacker_read_header(AVFormatContext *s) /* setup data */ if(smk->frames > 0xFFFFFF) { av_log(s, AV_LOG_ERROR, "Too many frames: %"PRIu32"\n", smk->frames); - return -1; + return AVERROR_INVALIDDATA; } smk->frm_size = av_malloc(smk->frames * 4); smk->frm_flags = av_malloc(smk->frames); @@ -160,7 +160,7 @@ static int smacker_read_header(AVFormatContext *s) /* init video codec */ st = avformat_new_stream(s, NULL); if (!st) - return -1; + return AVERROR(ENOMEM); smk->videoindex = st->index; st->codecpar->width = smk->width; st->codecpar->height = smk->height; @@ -221,7 +221,7 @@ static int smacker_read_header(AVFormatContext *s) smk->treesize + 16); av_free(smk->frm_size); av_free(smk->frm_flags); - return -1; + return AVERROR(ENOMEM); } ret = avio_read(pb, st->codecpar->extradata + 16, st->codecpar->extradata_size - 16); if(ret != st->codecpar->extradata_size - 16){ From ec683ed527cef9aad208d1daeb10d0e7fb63e75e Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 24 Sep 2017 12:58:42 +0200 Subject: [PATCH 3/6] smacker: fix integer overflow with pts_inc Bug-Id: 1073 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Sean McGovern --- libavformat/smacker.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libavformat/smacker.c b/libavformat/smacker.c index 56c909bc06..304e746a91 100644 --- a/libavformat/smacker.c +++ b/libavformat/smacker.c @@ -117,6 +117,11 @@ static int smacker_read_header(AVFormatContext *s) smk->height = avio_rl32(pb); smk->frames = avio_rl32(pb); smk->pts_inc = (int32_t)avio_rl32(pb); + if (smk->pts_inc > INT_MAX / 100) { + av_log(s, AV_LOG_ERROR, "pts_inc %d is too large\n", smk->pts_inc); + return AVERROR_INVALIDDATA; + } + smk->flags = avio_rl32(pb); if(smk->flags & SMACKER_FLAG_RING_FRAME) smk->frames++; From 9ed18f302b09e444f5b1be01979cce62c4b2c04a Mon Sep 17 00:00:00 2001 From: Mark Thompson Date: Sat, 23 Sep 2017 16:46:11 +0100 Subject: [PATCH 4/6] cbs_h264: Fix writing streams with auxiliary pictures Tested with the alphaconformanceG sample. --- libavcodec/cbs_h2645.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavcodec/cbs_h2645.c b/libavcodec/cbs_h2645.c index 50a227da78..a1b887fd4c 100644 --- a/libavcodec/cbs_h2645.c +++ b/libavcodec/cbs_h2645.c @@ -1002,7 +1002,7 @@ static int cbs_h264_write_nal_unit(CodedBitstreamContext *ctx, case H264_NAL_SPS_EXT: { - H264RawSPSExtension *sps_ext; + H264RawSPSExtension *sps_ext = unit->content; err = cbs_h264_write_sps_extension(ctx, pbc, sps_ext); if (err < 0) @@ -1026,6 +1026,7 @@ static int cbs_h264_write_nal_unit(CodedBitstreamContext *ctx, case H264_NAL_SLICE: case H264_NAL_IDR_SLICE: + case H264_NAL_AUXILIARY_SLICE: { H264RawSlice *slice = unit->content; BitstreamContext bc; From 9b1c0911146c0d7b4ede57ccfff6eac5b5304091 Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Thu, 20 Jul 2017 13:46:46 +0200 Subject: [PATCH 5/6] http: Reset compressed header flag when starting to read a request MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This fixes redirects, where the original redirect response indicated support for compression, while the actual redirected content didn't. Signed-off-by: Martin Storsjö --- libavformat/http.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavformat/http.c b/libavformat/http.c index 00cf295001..80c87f786a 100644 --- a/libavformat/http.c +++ b/libavformat/http.c @@ -682,6 +682,9 @@ static int http_connect(URLContext *h, const char *path, const char *local_path, s->willclose = 0; s->end_chunked_post = 0; s->end_header = 0; +#if CONFIG_ZLIB + s->compressed = 0; +#endif if (post && !s->post_data && !send_expect_100) { /* Pretend that it did work. We didn't read any header yet, since * we've still to send the POST data, but the code calling this From 3cae7f8b9baaf43789490b676d8f5825f2e1bc2c Mon Sep 17 00:00:00 2001 From: Mark Thompson Date: Tue, 15 Aug 2017 18:14:32 +0100 Subject: [PATCH 6/6] cbs: Add some read/write tests Use the appropriate metadata filter for each codec - in the absence of any options to modify the stream, the output bitstream should be identical to the input (though the output file may differ in padding). All tests use conformance bitstreams, the MPEG-2 streams are newly added from the conformance test streams --- tests/Makefile | 1 + tests/fate/cbs.mak | 74 +++++++++++++++++++ tests/ref/fate/cbs-h264-AUD_MW_E | 1 + tests/ref/fate/cbs-h264-BASQP1_Sony_C | 1 + tests/ref/fate/cbs-h264-CABACI3_Sony_B | 1 + tests/ref/fate/cbs-h264-CVBS3_Sony_C | 1 + tests/ref/fate/cbs-h264-CVFC1_Sony_C | 1 + tests/ref/fate/cbs-h264-CVMANL1_TOSHIBA_B | 1 + tests/ref/fate/cbs-h264-CVNLFI1_Sony_C | 1 + tests/ref/fate/cbs-h264-CVSE2_Sony_B | 1 + tests/ref/fate/cbs-h264-CVWP1_TOSHIBA_E | 1 + tests/ref/fate/cbs-h264-FM1_BT_B | 1 + tests/ref/fate/cbs-h264-MR1_BT_A | 1 + tests/ref/fate/cbs-h264-SVA_Base_B | 1 + tests/ref/fate/cbs-h264-Sharp_MP_PAFF_1r2 | 1 + tests/ref/fate/cbs-h264-sp1_bt_a | 1 + tests/ref/fate/cbs-hevc-CAINIT_E_SHARP_3 | 1 + tests/ref/fate/cbs-hevc-CAINIT_H_SHARP_3 | 1 + tests/ref/fate/cbs-hevc-CONFWIN_A_Sony_1 | 1 + tests/ref/fate/cbs-hevc-HRD_A_Fujitsu_2 | 1 + tests/ref/fate/cbs-hevc-LTRPSPS_A_Qualcomm_1 | 1 + tests/ref/fate/cbs-hevc-NUT_A_ericsson_5 | 1 + tests/ref/fate/cbs-hevc-PICSIZE_A_Bossen_1 | 1 + tests/ref/fate/cbs-hevc-PICSIZE_B_Bossen_1 | 1 + tests/ref/fate/cbs-hevc-RPLM_A_qualcomm_4 | 1 + tests/ref/fate/cbs-hevc-RPS_A_docomo_4 | 1 + tests/ref/fate/cbs-hevc-RPS_E_qualcomm_5 | 1 + tests/ref/fate/cbs-hevc-SLIST_A_Sony_4 | 1 + tests/ref/fate/cbs-hevc-SLIST_D_Sony_9 | 1 + tests/ref/fate/cbs-hevc-STRUCT_A_Samsung_5 | 1 + tests/ref/fate/cbs-hevc-TILES_B_Cisco_1 | 1 + tests/ref/fate/cbs-hevc-WPP_A_ericsson_MAIN_2 | 1 + tests/ref/fate/cbs-hevc-WPP_F_ericsson_MAIN_2 | 1 + tests/ref/fate/cbs-hevc-WP_A_Toshiba_3 | 1 + tests/ref/fate/cbs-hevc-ipcm_E_NEC_2 | 1 + tests/ref/fate/cbs-mpeg2-hhi_burst_422_short | 1 + tests/ref/fate/cbs-mpeg2-sony-ct3 | 1 + tests/ref/fate/cbs-mpeg2-tcela-6 | 1 + 38 files changed, 111 insertions(+) create mode 100644 tests/fate/cbs.mak create mode 100644 tests/ref/fate/cbs-h264-AUD_MW_E create mode 100644 tests/ref/fate/cbs-h264-BASQP1_Sony_C create mode 100644 tests/ref/fate/cbs-h264-CABACI3_Sony_B create mode 100644 tests/ref/fate/cbs-h264-CVBS3_Sony_C create mode 100644 tests/ref/fate/cbs-h264-CVFC1_Sony_C create mode 100644 tests/ref/fate/cbs-h264-CVMANL1_TOSHIBA_B create mode 100644 tests/ref/fate/cbs-h264-CVNLFI1_Sony_C create mode 100644 tests/ref/fate/cbs-h264-CVSE2_Sony_B create mode 100644 tests/ref/fate/cbs-h264-CVWP1_TOSHIBA_E create mode 100644 tests/ref/fate/cbs-h264-FM1_BT_B create mode 100644 tests/ref/fate/cbs-h264-MR1_BT_A create mode 100644 tests/ref/fate/cbs-h264-SVA_Base_B create mode 100644 tests/ref/fate/cbs-h264-Sharp_MP_PAFF_1r2 create mode 100644 tests/ref/fate/cbs-h264-sp1_bt_a create mode 100644 tests/ref/fate/cbs-hevc-CAINIT_E_SHARP_3 create mode 100644 tests/ref/fate/cbs-hevc-CAINIT_H_SHARP_3 create mode 100644 tests/ref/fate/cbs-hevc-CONFWIN_A_Sony_1 create mode 100644 tests/ref/fate/cbs-hevc-HRD_A_Fujitsu_2 create mode 100644 tests/ref/fate/cbs-hevc-LTRPSPS_A_Qualcomm_1 create mode 100644 tests/ref/fate/cbs-hevc-NUT_A_ericsson_5 create mode 100644 tests/ref/fate/cbs-hevc-PICSIZE_A_Bossen_1 create mode 100644 tests/ref/fate/cbs-hevc-PICSIZE_B_Bossen_1 create mode 100644 tests/ref/fate/cbs-hevc-RPLM_A_qualcomm_4 create mode 100644 tests/ref/fate/cbs-hevc-RPS_A_docomo_4 create mode 100644 tests/ref/fate/cbs-hevc-RPS_E_qualcomm_5 create mode 100644 tests/ref/fate/cbs-hevc-SLIST_A_Sony_4 create mode 100644 tests/ref/fate/cbs-hevc-SLIST_D_Sony_9 create mode 100644 tests/ref/fate/cbs-hevc-STRUCT_A_Samsung_5 create mode 100644 tests/ref/fate/cbs-hevc-TILES_B_Cisco_1 create mode 100644 tests/ref/fate/cbs-hevc-WPP_A_ericsson_MAIN_2 create mode 100644 tests/ref/fate/cbs-hevc-WPP_F_ericsson_MAIN_2 create mode 100644 tests/ref/fate/cbs-hevc-WP_A_Toshiba_3 create mode 100644 tests/ref/fate/cbs-hevc-ipcm_E_NEC_2 create mode 100644 tests/ref/fate/cbs-mpeg2-hhi_burst_422_short create mode 100644 tests/ref/fate/cbs-mpeg2-sony-ct3 create mode 100644 tests/ref/fate/cbs-mpeg2-tcela-6 diff --git a/tests/Makefile b/tests/Makefile index d3f11efaaa..9fec13211f 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -74,6 +74,7 @@ include $(SRC_PATH)/tests/fate/audio.mak include $(SRC_PATH)/tests/fate/bmp.mak include $(SRC_PATH)/tests/fate/build.mak include $(SRC_PATH)/tests/fate/canopus.mak +include $(SRC_PATH)/tests/fate/cbs.mak include $(SRC_PATH)/tests/fate/cdxl.mak include $(SRC_PATH)/tests/fate/checkasm.mak include $(SRC_PATH)/tests/fate/cover-art.mak diff --git a/tests/fate/cbs.mak b/tests/fate/cbs.mak new file mode 100644 index 0000000000..afd5c5dd8f --- /dev/null +++ b/tests/fate/cbs.mak @@ -0,0 +1,74 @@ +# Read/write tests: this uses the codec metadata filter - with no +# arguments, it decomposes the stream fully and then recomposes it +# without making any changes. + +fate-cbs: fate-cbs-h264 fate-cbs-hevc fate-cbs-mpeg2 + +define FATE_CBS_TEST +# (codec, test_name, sample_file, output_format) +FATE_CBS_$(1) += fate-cbs-$(1)-$(2) +fate-cbs-$(1)-$(2): CMD = md5 -i $(TARGET_SAMPLES)/$(3) -c:v copy -bsf:v $(1)_metadata -f $(4) +endef + +# H.264 read/write + +FATE_CBS_H264_SAMPLES = \ + SVA_Base_B.264 \ + BASQP1_Sony_C.jsv \ + FM1_BT_B.h264 \ + CVFC1_Sony_C.jsv \ + AUD_MW_E.264 \ + CVBS3_Sony_C.jsv \ + MR1_BT_A.h264 \ + CVWP1_TOSHIBA_E.264 \ + CVNLFI1_Sony_C.jsv \ + Sharp_MP_PAFF_1r2.jvt \ + CVMANL1_TOSHIBA_B.264 \ + sp1_bt_a.h264 \ + CVSE2_Sony_B.jsv \ + CABACI3_Sony_B.jsv + +$(foreach N,$(FATE_CBS_H264_SAMPLES),$(eval $(call FATE_CBS_TEST,h264,$(basename $(N)),h264-conformance/$(N),h264))) + +FATE_SAMPLES_AVCONV += $(FATE_CBS_h264) +fate-cbs-h264: $(FATE_CBS_h264) + +# H.265 read/write + +FATE_CBS_HEVC_SAMPLES = \ + STRUCT_A_Samsung_5.bit \ + WP_A_Toshiba_3.bit \ + SLIST_A_Sony_4.bit \ + SLIST_D_Sony_9.bit \ + CAINIT_E_SHARP_3.bit \ + CAINIT_H_SHARP_3.bit \ + TILES_B_Cisco_1.bit \ + WPP_A_ericsson_MAIN_2.bit \ + WPP_F_ericsson_MAIN_2.bit \ + ipcm_E_NEC_2.bit \ + NUT_A_ericsson_5.bit \ + PICSIZE_A_Bossen_1.bit \ + PICSIZE_B_Bossen_1.bit \ + RPS_A_docomo_4.bit \ + RPS_E_qualcomm_5.bit \ + LTRPSPS_A_Qualcomm_1.bit \ + RPLM_A_qualcomm_4.bit \ + CONFWIN_A_Sony_1.bit \ + HRD_A_Fujitsu_2.bit + +$(foreach N,$(FATE_CBS_HEVC_SAMPLES),$(eval $(call FATE_CBS_TEST,hevc,$(basename $(N)),hevc-conformance/$(N),hevc))) + +FATE_SAMPLES_AVCONV += $(FATE_CBS_hevc) +fate-cbs-hevc: $(FATE_CBS_hevc) + +# MPEG-2 read/write + +FATE_CBS_MPEG2_SAMPLES = \ + hhi_burst_422_short.bits \ + sony-ct3.bs \ + tcela-6.bits + +$(foreach N,$(FATE_CBS_MPEG2_SAMPLES),$(eval $(call FATE_CBS_TEST,mpeg2,$(basename $(N)),mpeg2/$(N),mpeg2video))) + +FATE_SAMPLES_AVCONV += $(FATE_CBS_mpeg2) +fate-cbs-mpeg2: $(FATE_CBS_mpeg2) diff --git a/tests/ref/fate/cbs-h264-AUD_MW_E b/tests/ref/fate/cbs-h264-AUD_MW_E new file mode 100644 index 0000000000..f204792416 --- /dev/null +++ b/tests/ref/fate/cbs-h264-AUD_MW_E @@ -0,0 +1 @@ +9b8884667eda0b9853bec631458686ce diff --git a/tests/ref/fate/cbs-h264-BASQP1_Sony_C b/tests/ref/fate/cbs-h264-BASQP1_Sony_C new file mode 100644 index 0000000000..c2185c770b --- /dev/null +++ b/tests/ref/fate/cbs-h264-BASQP1_Sony_C @@ -0,0 +1 @@ +00c52ae60bf9a41ae1145fbf5fea9838 diff --git a/tests/ref/fate/cbs-h264-CABACI3_Sony_B b/tests/ref/fate/cbs-h264-CABACI3_Sony_B new file mode 100644 index 0000000000..59aeb72155 --- /dev/null +++ b/tests/ref/fate/cbs-h264-CABACI3_Sony_B @@ -0,0 +1 @@ +2d94c80b858aec880530bad47afe3668 diff --git a/tests/ref/fate/cbs-h264-CVBS3_Sony_C b/tests/ref/fate/cbs-h264-CVBS3_Sony_C new file mode 100644 index 0000000000..55f5e0b50e --- /dev/null +++ b/tests/ref/fate/cbs-h264-CVBS3_Sony_C @@ -0,0 +1 @@ +59ff1df9b25e80277cad4ad99e634df6 diff --git a/tests/ref/fate/cbs-h264-CVFC1_Sony_C b/tests/ref/fate/cbs-h264-CVFC1_Sony_C new file mode 100644 index 0000000000..98004cf63c --- /dev/null +++ b/tests/ref/fate/cbs-h264-CVFC1_Sony_C @@ -0,0 +1 @@ +669f4f3d3ae35fa5a6f5c94e48776dcf diff --git a/tests/ref/fate/cbs-h264-CVMANL1_TOSHIBA_B b/tests/ref/fate/cbs-h264-CVMANL1_TOSHIBA_B new file mode 100644 index 0000000000..14aa45300d --- /dev/null +++ b/tests/ref/fate/cbs-h264-CVMANL1_TOSHIBA_B @@ -0,0 +1 @@ +0c1d9694df747cc4697caf866bd3051a diff --git a/tests/ref/fate/cbs-h264-CVNLFI1_Sony_C b/tests/ref/fate/cbs-h264-CVNLFI1_Sony_C new file mode 100644 index 0000000000..d5f5ad1931 --- /dev/null +++ b/tests/ref/fate/cbs-h264-CVNLFI1_Sony_C @@ -0,0 +1 @@ +7817d89bd749bc617a225978958a3af0 diff --git a/tests/ref/fate/cbs-h264-CVSE2_Sony_B b/tests/ref/fate/cbs-h264-CVSE2_Sony_B new file mode 100644 index 0000000000..7845723edd --- /dev/null +++ b/tests/ref/fate/cbs-h264-CVSE2_Sony_B @@ -0,0 +1 @@ +ca8bdba497bd2f3b97c50d59692eb537 diff --git a/tests/ref/fate/cbs-h264-CVWP1_TOSHIBA_E b/tests/ref/fate/cbs-h264-CVWP1_TOSHIBA_E new file mode 100644 index 0000000000..4cb9c475fc --- /dev/null +++ b/tests/ref/fate/cbs-h264-CVWP1_TOSHIBA_E @@ -0,0 +1 @@ +01290611165b8d8ccba8468f3dae4c4d diff --git a/tests/ref/fate/cbs-h264-FM1_BT_B b/tests/ref/fate/cbs-h264-FM1_BT_B new file mode 100644 index 0000000000..ce375b9080 --- /dev/null +++ b/tests/ref/fate/cbs-h264-FM1_BT_B @@ -0,0 +1 @@ +336a9b1373ee04af7b0b1de0da9a32f8 diff --git a/tests/ref/fate/cbs-h264-MR1_BT_A b/tests/ref/fate/cbs-h264-MR1_BT_A new file mode 100644 index 0000000000..0532652e6c --- /dev/null +++ b/tests/ref/fate/cbs-h264-MR1_BT_A @@ -0,0 +1 @@ +699d37e66764ddb3b4265c299ca77dcd diff --git a/tests/ref/fate/cbs-h264-SVA_Base_B b/tests/ref/fate/cbs-h264-SVA_Base_B new file mode 100644 index 0000000000..a591b811b1 --- /dev/null +++ b/tests/ref/fate/cbs-h264-SVA_Base_B @@ -0,0 +1 @@ +443e55dd5f63dccf9a62acbb48451b08 diff --git a/tests/ref/fate/cbs-h264-Sharp_MP_PAFF_1r2 b/tests/ref/fate/cbs-h264-Sharp_MP_PAFF_1r2 new file mode 100644 index 0000000000..cc7d63931c --- /dev/null +++ b/tests/ref/fate/cbs-h264-Sharp_MP_PAFF_1r2 @@ -0,0 +1 @@ +fd01840ed6b086c3118b7c53c86d01f5 diff --git a/tests/ref/fate/cbs-h264-sp1_bt_a b/tests/ref/fate/cbs-h264-sp1_bt_a new file mode 100644 index 0000000000..388c53aa5e --- /dev/null +++ b/tests/ref/fate/cbs-h264-sp1_bt_a @@ -0,0 +1 @@ +8405c5583d31d7015ed401b34b4ec93c diff --git a/tests/ref/fate/cbs-hevc-CAINIT_E_SHARP_3 b/tests/ref/fate/cbs-hevc-CAINIT_E_SHARP_3 new file mode 100644 index 0000000000..f706e2b1dc --- /dev/null +++ b/tests/ref/fate/cbs-hevc-CAINIT_E_SHARP_3 @@ -0,0 +1 @@ +52fc63c7b3e30c0550f4b708477846a5 diff --git a/tests/ref/fate/cbs-hevc-CAINIT_H_SHARP_3 b/tests/ref/fate/cbs-hevc-CAINIT_H_SHARP_3 new file mode 100644 index 0000000000..6bd454ef3b --- /dev/null +++ b/tests/ref/fate/cbs-hevc-CAINIT_H_SHARP_3 @@ -0,0 +1 @@ +c951f0cd30502cf3cebc9d700d3ed67e diff --git a/tests/ref/fate/cbs-hevc-CONFWIN_A_Sony_1 b/tests/ref/fate/cbs-hevc-CONFWIN_A_Sony_1 new file mode 100644 index 0000000000..00445155d0 --- /dev/null +++ b/tests/ref/fate/cbs-hevc-CONFWIN_A_Sony_1 @@ -0,0 +1 @@ +dce8104b2addbdd601eb280a88e18583 diff --git a/tests/ref/fate/cbs-hevc-HRD_A_Fujitsu_2 b/tests/ref/fate/cbs-hevc-HRD_A_Fujitsu_2 new file mode 100644 index 0000000000..a30208dba4 --- /dev/null +++ b/tests/ref/fate/cbs-hevc-HRD_A_Fujitsu_2 @@ -0,0 +1 @@ +f150da624547ace5f7a983e714aa46be diff --git a/tests/ref/fate/cbs-hevc-LTRPSPS_A_Qualcomm_1 b/tests/ref/fate/cbs-hevc-LTRPSPS_A_Qualcomm_1 new file mode 100644 index 0000000000..21dfa5763a --- /dev/null +++ b/tests/ref/fate/cbs-hevc-LTRPSPS_A_Qualcomm_1 @@ -0,0 +1 @@ +11b599202a4d25693123bea8bb003e54 diff --git a/tests/ref/fate/cbs-hevc-NUT_A_ericsson_5 b/tests/ref/fate/cbs-hevc-NUT_A_ericsson_5 new file mode 100644 index 0000000000..6d4a7bf3d2 --- /dev/null +++ b/tests/ref/fate/cbs-hevc-NUT_A_ericsson_5 @@ -0,0 +1 @@ +e089d60eb3a4e0393954fca75dc9b362 diff --git a/tests/ref/fate/cbs-hevc-PICSIZE_A_Bossen_1 b/tests/ref/fate/cbs-hevc-PICSIZE_A_Bossen_1 new file mode 100644 index 0000000000..13dc111b0d --- /dev/null +++ b/tests/ref/fate/cbs-hevc-PICSIZE_A_Bossen_1 @@ -0,0 +1 @@ +df7bdc626044ff4a11644fd347219c0c diff --git a/tests/ref/fate/cbs-hevc-PICSIZE_B_Bossen_1 b/tests/ref/fate/cbs-hevc-PICSIZE_B_Bossen_1 new file mode 100644 index 0000000000..4422ea3d3c --- /dev/null +++ b/tests/ref/fate/cbs-hevc-PICSIZE_B_Bossen_1 @@ -0,0 +1 @@ +b7895403cc9f873eba468b54735cc481 diff --git a/tests/ref/fate/cbs-hevc-RPLM_A_qualcomm_4 b/tests/ref/fate/cbs-hevc-RPLM_A_qualcomm_4 new file mode 100644 index 0000000000..bd8275e4cd --- /dev/null +++ b/tests/ref/fate/cbs-hevc-RPLM_A_qualcomm_4 @@ -0,0 +1 @@ +7a6ca92743ed41e36d422025f639b229 diff --git a/tests/ref/fate/cbs-hevc-RPS_A_docomo_4 b/tests/ref/fate/cbs-hevc-RPS_A_docomo_4 new file mode 100644 index 0000000000..772d16a192 --- /dev/null +++ b/tests/ref/fate/cbs-hevc-RPS_A_docomo_4 @@ -0,0 +1 @@ +97bd4fefd8cd95584f586027e244f283 diff --git a/tests/ref/fate/cbs-hevc-RPS_E_qualcomm_5 b/tests/ref/fate/cbs-hevc-RPS_E_qualcomm_5 new file mode 100644 index 0000000000..f02190aa2b --- /dev/null +++ b/tests/ref/fate/cbs-hevc-RPS_E_qualcomm_5 @@ -0,0 +1 @@ +22199ff2b02e1cde89a2d8778a916c43 diff --git a/tests/ref/fate/cbs-hevc-SLIST_A_Sony_4 b/tests/ref/fate/cbs-hevc-SLIST_A_Sony_4 new file mode 100644 index 0000000000..54ba416cb4 --- /dev/null +++ b/tests/ref/fate/cbs-hevc-SLIST_A_Sony_4 @@ -0,0 +1 @@ +c589578c4d19daf6f1d001a60e694fae diff --git a/tests/ref/fate/cbs-hevc-SLIST_D_Sony_9 b/tests/ref/fate/cbs-hevc-SLIST_D_Sony_9 new file mode 100644 index 0000000000..a29de5c8c9 --- /dev/null +++ b/tests/ref/fate/cbs-hevc-SLIST_D_Sony_9 @@ -0,0 +1 @@ +49cd3af1ed065f2493e75986c81e48b6 diff --git a/tests/ref/fate/cbs-hevc-STRUCT_A_Samsung_5 b/tests/ref/fate/cbs-hevc-STRUCT_A_Samsung_5 new file mode 100644 index 0000000000..6a4508b0c5 --- /dev/null +++ b/tests/ref/fate/cbs-hevc-STRUCT_A_Samsung_5 @@ -0,0 +1 @@ +647eb851b935fd3bc6a98ce5ce45dbc7 diff --git a/tests/ref/fate/cbs-hevc-TILES_B_Cisco_1 b/tests/ref/fate/cbs-hevc-TILES_B_Cisco_1 new file mode 100644 index 0000000000..d767e26d68 --- /dev/null +++ b/tests/ref/fate/cbs-hevc-TILES_B_Cisco_1 @@ -0,0 +1 @@ +85a114def19cefbd0fb0daf8370d711c diff --git a/tests/ref/fate/cbs-hevc-WPP_A_ericsson_MAIN_2 b/tests/ref/fate/cbs-hevc-WPP_A_ericsson_MAIN_2 new file mode 100644 index 0000000000..aadb0fe558 --- /dev/null +++ b/tests/ref/fate/cbs-hevc-WPP_A_ericsson_MAIN_2 @@ -0,0 +1 @@ +904128c902b6feed228215446db940ac diff --git a/tests/ref/fate/cbs-hevc-WPP_F_ericsson_MAIN_2 b/tests/ref/fate/cbs-hevc-WPP_F_ericsson_MAIN_2 new file mode 100644 index 0000000000..024f132cbd --- /dev/null +++ b/tests/ref/fate/cbs-hevc-WPP_F_ericsson_MAIN_2 @@ -0,0 +1 @@ +8fe3ada65124de5412886c892119c150 diff --git a/tests/ref/fate/cbs-hevc-WP_A_Toshiba_3 b/tests/ref/fate/cbs-hevc-WP_A_Toshiba_3 new file mode 100644 index 0000000000..1507a2c446 --- /dev/null +++ b/tests/ref/fate/cbs-hevc-WP_A_Toshiba_3 @@ -0,0 +1 @@ +6ea47b7a46cd254b3348a86033a9aa56 diff --git a/tests/ref/fate/cbs-hevc-ipcm_E_NEC_2 b/tests/ref/fate/cbs-hevc-ipcm_E_NEC_2 new file mode 100644 index 0000000000..cc68b6fb49 --- /dev/null +++ b/tests/ref/fate/cbs-hevc-ipcm_E_NEC_2 @@ -0,0 +1 @@ +2e1f9c95364cfac2aa6e6ee3a52c43c4 diff --git a/tests/ref/fate/cbs-mpeg2-hhi_burst_422_short b/tests/ref/fate/cbs-mpeg2-hhi_burst_422_short new file mode 100644 index 0000000000..c319fba7b3 --- /dev/null +++ b/tests/ref/fate/cbs-mpeg2-hhi_burst_422_short @@ -0,0 +1 @@ +e0c2fdd9baeba0c5ba5839a8cd7a72d3 diff --git a/tests/ref/fate/cbs-mpeg2-sony-ct3 b/tests/ref/fate/cbs-mpeg2-sony-ct3 new file mode 100644 index 0000000000..b5b4b12f07 --- /dev/null +++ b/tests/ref/fate/cbs-mpeg2-sony-ct3 @@ -0,0 +1 @@ +b1e15a09cfffbad801810af0928736ab diff --git a/tests/ref/fate/cbs-mpeg2-tcela-6 b/tests/ref/fate/cbs-mpeg2-tcela-6 new file mode 100644 index 0000000000..530369d672 --- /dev/null +++ b/tests/ref/fate/cbs-mpeg2-tcela-6 @@ -0,0 +1 @@ +771b6756a63793e05b74e645794908a2