remove obsolete files
This commit is contained in:
524
externals/ffmpeg/ffmpeg/tests/checkasm/hevc_pel.c
vendored
524
externals/ffmpeg/ffmpeg/tests/checkasm/hevc_pel.c
vendored
@@ -1,524 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2015 Henrik Gramner
|
||||
* Copyright (c) 2021 Josh Dekker
|
||||
*
|
||||
* This file is part of FFmpeg.
|
||||
*
|
||||
* FFmpeg is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* FFmpeg is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along
|
||||
* with FFmpeg; if not, write to the Free Software Foundation, Inc.,
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
#include "checkasm.h"
|
||||
#include "libavcodec/hevcdsp.h"
|
||||
#include "libavutil/common.h"
|
||||
#include "libavutil/internal.h"
|
||||
#include "libavutil/intreadwrite.h"
|
||||
|
||||
static const uint32_t pixel_mask[] = { 0xffffffff, 0x01ff01ff, 0x03ff03ff, 0x07ff07ff, 0x0fff0fff };
|
||||
static const uint32_t pixel_mask16[] = { 0x00ff00ff, 0x01ff01ff, 0x03ff03ff, 0x07ff07ff, 0x0fff0fff };
|
||||
static const int sizes[] = { -1, 4, 6, 8, 12, 16, 24, 32, 48, 64 };
|
||||
static const int weights[] = { 0, 128, 255, -1 };
|
||||
static const int denoms[] = {0, 7, 12, -1 };
|
||||
static const int offsets[] = {0, 255, -1 };
|
||||
|
||||
#define SIZEOF_PIXEL ((bit_depth + 7) / 8)
|
||||
#define BUF_SIZE (2 * MAX_PB_SIZE * (2 * 4 + MAX_PB_SIZE))
|
||||
|
||||
#define randomize_buffers() \
|
||||
do { \
|
||||
uint32_t mask = pixel_mask[bit_depth - 8]; \
|
||||
int k; \
|
||||
for (k = 0; k < BUF_SIZE; k += 4) { \
|
||||
uint32_t r = rnd() & mask; \
|
||||
AV_WN32A(buf0 + k, r); \
|
||||
AV_WN32A(buf1 + k, r); \
|
||||
r = rnd(); \
|
||||
AV_WN32A(dst0 + k, r); \
|
||||
AV_WN32A(dst1 + k, r); \
|
||||
} \
|
||||
} while (0)
|
||||
|
||||
#define randomize_buffers_ref() \
|
||||
randomize_buffers(); \
|
||||
do { \
|
||||
uint32_t mask = pixel_mask16[bit_depth - 8]; \
|
||||
int k; \
|
||||
for (k = 0; k < BUF_SIZE; k += 2) { \
|
||||
uint32_t r = rnd() & mask; \
|
||||
AV_WN32A(ref0 + k, r); \
|
||||
AV_WN32A(ref1 + k, r); \
|
||||
} \
|
||||
} while (0)
|
||||
|
||||
#define src0 (buf0 + 2 * 4 * MAX_PB_SIZE) /* hevc qpel functions read data from negative src pointer offsets */
|
||||
#define src1 (buf1 + 2 * 4 * MAX_PB_SIZE)
|
||||
|
||||
void checkasm_check_hevc_qpel(void)
|
||||
{
|
||||
LOCAL_ALIGNED_32(uint8_t, buf0, [BUF_SIZE]);
|
||||
LOCAL_ALIGNED_32(uint8_t, buf1, [BUF_SIZE]);
|
||||
LOCAL_ALIGNED_32(uint8_t, dst0, [BUF_SIZE]);
|
||||
LOCAL_ALIGNED_32(uint8_t, dst1, [BUF_SIZE]);
|
||||
|
||||
HEVCDSPContext h;
|
||||
int size, bit_depth, i, j, row;
|
||||
declare_func_emms(AV_CPU_FLAG_MMX | AV_CPU_FLAG_MMXEXT, void, int16_t *dst, uint8_t *src, ptrdiff_t srcstride,
|
||||
int height, intptr_t mx, intptr_t my, int width);
|
||||
|
||||
for (bit_depth = 8; bit_depth <= 12; bit_depth++) {
|
||||
ff_hevc_dsp_init(&h, bit_depth);
|
||||
|
||||
for (i = 0; i < 2; i++) {
|
||||
for (j = 0; j < 2; j++) {
|
||||
for (size = 1; size < 10; size++) {
|
||||
const char *type;
|
||||
switch ((j << 1) | i) {
|
||||
case 0: type = "pel_pixels"; break; // 0 0
|
||||
case 1: type = "qpel_h"; break; // 0 1
|
||||
case 2: type = "qpel_v"; break; // 1 0
|
||||
case 3: type = "qpel_hv"; break; // 1 1
|
||||
}
|
||||
|
||||
if (check_func(h.put_hevc_qpel[size][j][i], "put_hevc_%s%d_%d", type, sizes[size], bit_depth)) {
|
||||
int16_t *dstw0 = (int16_t *) dst0, *dstw1 = (int16_t *) dst1;
|
||||
randomize_buffers();
|
||||
call_ref(dstw0, src0, sizes[size] * SIZEOF_PIXEL, sizes[size], i, j, sizes[size]);
|
||||
call_new(dstw1, src1, sizes[size] * SIZEOF_PIXEL, sizes[size], i, j, sizes[size]);
|
||||
for (row = 0; row < size[sizes]; row++) {
|
||||
if (memcmp(dstw0 + row * MAX_PB_SIZE, dstw1 + row * MAX_PB_SIZE, sizes[size] * SIZEOF_PIXEL))
|
||||
fail();
|
||||
}
|
||||
bench_new(dstw1, src1, sizes[size] * SIZEOF_PIXEL, sizes[size], i, j, sizes[size]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
report("qpel");
|
||||
}
|
||||
|
||||
void checkasm_check_hevc_qpel_uni(void)
|
||||
{
|
||||
LOCAL_ALIGNED_32(uint8_t, buf0, [BUF_SIZE]);
|
||||
LOCAL_ALIGNED_32(uint8_t, buf1, [BUF_SIZE]);
|
||||
LOCAL_ALIGNED_32(uint8_t, dst0, [BUF_SIZE]);
|
||||
LOCAL_ALIGNED_32(uint8_t, dst1, [BUF_SIZE]);
|
||||
|
||||
HEVCDSPContext h;
|
||||
int size, bit_depth, i, j;
|
||||
declare_func_emms(AV_CPU_FLAG_MMX | AV_CPU_FLAG_MMXEXT, void, uint8_t *dst, ptrdiff_t dststride, uint8_t *src, ptrdiff_t srcstride,
|
||||
int height, intptr_t mx, intptr_t my, int width);
|
||||
|
||||
for (bit_depth = 8; bit_depth <= 12; bit_depth++) {
|
||||
ff_hevc_dsp_init(&h, bit_depth);
|
||||
|
||||
for (i = 0; i < 2; i++) {
|
||||
for (j = 0; j < 2; j++) {
|
||||
for (size = 1; size < 10; size++) {
|
||||
const char *type;
|
||||
switch ((j << 1) | i) {
|
||||
case 0: type = "pel_uni_pixels"; break; // 0 0
|
||||
case 1: type = "qpel_uni_h"; break; // 0 1
|
||||
case 2: type = "qpel_uni_v"; break; // 1 0
|
||||
case 3: type = "qpel_uni_hv"; break; // 1 1
|
||||
}
|
||||
|
||||
if (check_func(h.put_hevc_qpel_uni[size][j][i], "put_hevc_%s%d_%d", type, sizes[size], bit_depth)) {
|
||||
randomize_buffers();
|
||||
call_ref(dst0, sizes[size] * SIZEOF_PIXEL, src0, sizes[size] * SIZEOF_PIXEL, sizes[size], i, j, sizes[size]);
|
||||
call_new(dst1, sizes[size] * SIZEOF_PIXEL, src1, sizes[size] * SIZEOF_PIXEL, sizes[size], i, j, sizes[size]);
|
||||
if (memcmp(dst0, dst1, sizes[size] * sizes[size] * SIZEOF_PIXEL))
|
||||
fail();
|
||||
bench_new(dst1, sizes[size] * SIZEOF_PIXEL, src1, sizes[size] * SIZEOF_PIXEL, sizes[size], i, j, sizes[size]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
report("qpel_uni");
|
||||
}
|
||||
|
||||
void checkasm_check_hevc_qpel_uni_w(void)
|
||||
{
|
||||
LOCAL_ALIGNED_32(uint8_t, buf0, [BUF_SIZE]);
|
||||
LOCAL_ALIGNED_32(uint8_t, buf1, [BUF_SIZE]);
|
||||
LOCAL_ALIGNED_32(uint8_t, dst0, [BUF_SIZE]);
|
||||
LOCAL_ALIGNED_32(uint8_t, dst1, [BUF_SIZE]);
|
||||
|
||||
HEVCDSPContext h;
|
||||
int size, bit_depth, i, j;
|
||||
const int *denom, *wx, *ox;
|
||||
declare_func_emms(AV_CPU_FLAG_MMX | AV_CPU_FLAG_MMXEXT, void, uint8_t *dst, ptrdiff_t dststride, uint8_t *src, ptrdiff_t srcstride,
|
||||
int height, int denom, int wx, int ox, intptr_t mx, intptr_t my, int width);
|
||||
|
||||
for (bit_depth = 8; bit_depth <= 12; bit_depth++) {
|
||||
ff_hevc_dsp_init(&h, bit_depth);
|
||||
|
||||
for (i = 0; i < 2; i++) {
|
||||
for (j = 0; j < 2; j++) {
|
||||
for (size = 1; size < 10; size++) {
|
||||
const char *type;
|
||||
switch ((j << 1) | i) {
|
||||
case 0: type = "pel_uni_w_pixels"; break; // 0 0
|
||||
case 1: type = "qpel_uni_w_h"; break; // 0 1
|
||||
case 2: type = "qpel_uni_w_v"; break; // 1 0
|
||||
case 3: type = "qpel_uni_w_hv"; break; // 1 1
|
||||
}
|
||||
|
||||
if (check_func(h.put_hevc_qpel_uni_w[size][j][i], "put_hevc_%s%d_%d", type, sizes[size], bit_depth)) {
|
||||
for (denom = denoms; *denom >= 0; denom++) {
|
||||
for (wx = weights; *wx >= 0; wx++) {
|
||||
for (ox = offsets; *ox >= 0; ox++) {
|
||||
randomize_buffers();
|
||||
call_ref(dst0, sizes[size] * SIZEOF_PIXEL, src0, sizes[size] * SIZEOF_PIXEL, sizes[size], *denom, *wx, *ox, i, j, sizes[size]);
|
||||
call_new(dst1, sizes[size] * SIZEOF_PIXEL, src1, sizes[size] * SIZEOF_PIXEL, sizes[size], *denom, *wx, *ox, i, j, sizes[size]);
|
||||
if (memcmp(dst0, dst1, sizes[size] * sizes[size] * SIZEOF_PIXEL))
|
||||
fail();
|
||||
bench_new(dst1, sizes[size] * SIZEOF_PIXEL, src1, sizes[size] * SIZEOF_PIXEL, sizes[size], *denom, *wx, *ox, i, j, sizes[size]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
report("qpel_uni_w");
|
||||
}
|
||||
|
||||
void checkasm_check_hevc_qpel_bi(void)
|
||||
{
|
||||
LOCAL_ALIGNED_32(uint8_t, buf0, [BUF_SIZE]);
|
||||
LOCAL_ALIGNED_32(uint8_t, buf1, [BUF_SIZE]);
|
||||
LOCAL_ALIGNED_32(uint8_t, dst0, [BUF_SIZE]);
|
||||
LOCAL_ALIGNED_32(uint8_t, dst1, [BUF_SIZE]);
|
||||
LOCAL_ALIGNED_32(int16_t, ref0, [BUF_SIZE]);
|
||||
LOCAL_ALIGNED_32(int16_t, ref1, [BUF_SIZE]);
|
||||
|
||||
HEVCDSPContext h;
|
||||
int size, bit_depth, i, j;
|
||||
declare_func_emms(AV_CPU_FLAG_MMX | AV_CPU_FLAG_MMXEXT, void, uint8_t *dst, ptrdiff_t dststride, uint8_t *src, ptrdiff_t srcstride,
|
||||
int16_t *src2,
|
||||
int height, intptr_t mx, intptr_t my, int width);
|
||||
|
||||
for (bit_depth = 8; bit_depth <= 12; bit_depth++) {
|
||||
ff_hevc_dsp_init(&h, bit_depth);
|
||||
|
||||
for (i = 0; i < 2; i++) {
|
||||
for (j = 0; j < 2; j++) {
|
||||
for (size = 1; size < 10; size++) {
|
||||
const char *type;
|
||||
switch ((j << 1) | i) {
|
||||
case 0: type = "pel_bi_pixels"; break; // 0 0
|
||||
case 1: type = "qpel_bi_h"; break; // 0 1
|
||||
case 2: type = "qpel_bi_v"; break; // 1 0
|
||||
case 3: type = "qpel_bi_hv"; break; // 1 1
|
||||
}
|
||||
|
||||
if (check_func(h.put_hevc_qpel_bi[size][j][i], "put_hevc_%s%d_%d", type, sizes[size], bit_depth)) {
|
||||
randomize_buffers_ref();
|
||||
call_ref(dst0, sizes[size] * SIZEOF_PIXEL, src0, sizes[size] * SIZEOF_PIXEL, ref0, sizes[size], i, j, sizes[size]);
|
||||
call_new(dst1, sizes[size] * SIZEOF_PIXEL, src1, sizes[size] * SIZEOF_PIXEL, ref1, sizes[size], i, j, sizes[size]);
|
||||
if (memcmp(dst0, dst1, sizes[size] * sizes[size] * SIZEOF_PIXEL))
|
||||
fail();
|
||||
bench_new(dst1, sizes[size] * SIZEOF_PIXEL, src1, sizes[size] * SIZEOF_PIXEL, ref1, sizes[size], i, j, sizes[size]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
report("qpel_bi");
|
||||
}
|
||||
|
||||
void checkasm_check_hevc_qpel_bi_w(void)
|
||||
{
|
||||
LOCAL_ALIGNED_32(uint8_t, buf0, [BUF_SIZE]);
|
||||
LOCAL_ALIGNED_32(uint8_t, buf1, [BUF_SIZE]);
|
||||
LOCAL_ALIGNED_32(uint8_t, dst0, [BUF_SIZE]);
|
||||
LOCAL_ALIGNED_32(uint8_t, dst1, [BUF_SIZE]);
|
||||
LOCAL_ALIGNED_32(int16_t, ref0, [BUF_SIZE]);
|
||||
LOCAL_ALIGNED_32(int16_t, ref1, [BUF_SIZE]);
|
||||
|
||||
HEVCDSPContext h;
|
||||
int size, bit_depth, i, j;
|
||||
const int *denom, *wx, *ox;
|
||||
declare_func_emms(AV_CPU_FLAG_MMX | AV_CPU_FLAG_MMXEXT, void, uint8_t *dst, ptrdiff_t dststride, uint8_t *src, ptrdiff_t srcstride,
|
||||
int16_t *src2,
|
||||
int height, int denom, int wx0, int wx1,
|
||||
int ox0, int ox1, intptr_t mx, intptr_t my, int width);
|
||||
|
||||
for (bit_depth = 8; bit_depth <= 12; bit_depth++) {
|
||||
ff_hevc_dsp_init(&h, bit_depth);
|
||||
|
||||
for (i = 0; i < 2; i++) {
|
||||
for (j = 0; j < 2; j++) {
|
||||
for (size = 1; size < 10; size++) {
|
||||
const char *type;
|
||||
switch ((j << 1) | i) {
|
||||
case 0: type = "pel_bi_w_pixels"; break; // 0 0
|
||||
case 1: type = "qpel_bi_w_h"; break; // 0 1
|
||||
case 2: type = "qpel_bi_w_v"; break; // 1 0
|
||||
case 3: type = "qpel_bi_w_hv"; break; // 1 1
|
||||
}
|
||||
|
||||
if (check_func(h.put_hevc_qpel_bi_w[size][j][i], "put_hevc_%s%d_%d", type, sizes[size], bit_depth)) {
|
||||
for (denom = denoms; *denom >= 0; denom++) {
|
||||
for (wx = weights; *wx >= 0; wx++) {
|
||||
for (ox = offsets; *ox >= 0; ox++) {
|
||||
randomize_buffers_ref();
|
||||
call_ref(dst0, sizes[size] * SIZEOF_PIXEL, src0, sizes[size] * SIZEOF_PIXEL, ref0, sizes[size], *denom, *wx, *wx, *ox, *ox, i, j, sizes[size]);
|
||||
call_new(dst1, sizes[size] * SIZEOF_PIXEL, src1, sizes[size] * SIZEOF_PIXEL, ref1, sizes[size], *denom, *wx, *wx, *ox, *ox, i, j, sizes[size]);
|
||||
if (memcmp(dst0, dst1, sizes[size] * sizes[size] * SIZEOF_PIXEL))
|
||||
fail();
|
||||
bench_new(dst1, sizes[size] * SIZEOF_PIXEL, src1, sizes[size] * SIZEOF_PIXEL, ref1, sizes[size], *denom, *wx, *wx, *ox, *ox, i, j, sizes[size]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
report("qpel_bi_w");
|
||||
}
|
||||
|
||||
void checkasm_check_hevc_epel(void)
|
||||
{
|
||||
LOCAL_ALIGNED_32(uint8_t, buf0, [BUF_SIZE]);
|
||||
LOCAL_ALIGNED_32(uint8_t, buf1, [BUF_SIZE]);
|
||||
LOCAL_ALIGNED_32(uint8_t, dst0, [BUF_SIZE]);
|
||||
LOCAL_ALIGNED_32(uint8_t, dst1, [BUF_SIZE]);
|
||||
|
||||
HEVCDSPContext h;
|
||||
int size, bit_depth, i, j, row;
|
||||
declare_func_emms(AV_CPU_FLAG_MMX | AV_CPU_FLAG_MMXEXT, void, int16_t *dst, uint8_t *src, ptrdiff_t srcstride,
|
||||
int height, intptr_t mx, intptr_t my, int width);
|
||||
|
||||
for (bit_depth = 8; bit_depth <= 12; bit_depth++) {
|
||||
ff_hevc_dsp_init(&h, bit_depth);
|
||||
|
||||
for (i = 0; i < 2; i++) {
|
||||
for (j = 0; j < 2; j++) {
|
||||
for (size = 1; size < 10; size++) {
|
||||
const char *type;
|
||||
switch ((j << 1) | i) {
|
||||
case 0: type = "pel_pixels"; break; // 0 0
|
||||
case 1: type = "epel_h"; break; // 0 1
|
||||
case 2: type = "epel_v"; break; // 1 0
|
||||
case 3: type = "epel_hv"; break; // 1 1
|
||||
}
|
||||
|
||||
if (check_func(h.put_hevc_epel[size][j][i], "put_hevc_%s%d_%d", type, sizes[size], bit_depth)) {
|
||||
int16_t *dstw0 = (int16_t *) dst0, *dstw1 = (int16_t *) dst1;
|
||||
randomize_buffers();
|
||||
call_ref(dstw0, src0, sizes[size] * SIZEOF_PIXEL, sizes[size], i, j, sizes[size]);
|
||||
call_new(dstw1, src1, sizes[size] * SIZEOF_PIXEL, sizes[size], i, j, sizes[size]);
|
||||
for (row = 0; row < size[sizes]; row++) {
|
||||
if (memcmp(dstw0 + row * MAX_PB_SIZE, dstw1 + row * MAX_PB_SIZE, sizes[size] * SIZEOF_PIXEL))
|
||||
fail();
|
||||
}
|
||||
bench_new(dstw1, src1, sizes[size] * SIZEOF_PIXEL, sizes[size], i, j, sizes[size]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
report("epel");
|
||||
}
|
||||
|
||||
void checkasm_check_hevc_epel_uni(void)
|
||||
{
|
||||
LOCAL_ALIGNED_32(uint8_t, buf0, [BUF_SIZE]);
|
||||
LOCAL_ALIGNED_32(uint8_t, buf1, [BUF_SIZE]);
|
||||
LOCAL_ALIGNED_32(uint8_t, dst0, [BUF_SIZE]);
|
||||
LOCAL_ALIGNED_32(uint8_t, dst1, [BUF_SIZE]);
|
||||
|
||||
HEVCDSPContext h;
|
||||
int size, bit_depth, i, j;
|
||||
declare_func_emms(AV_CPU_FLAG_MMX | AV_CPU_FLAG_MMXEXT, void, uint8_t *dst, ptrdiff_t dststride, uint8_t *src, ptrdiff_t srcstride,
|
||||
int height, intptr_t mx, intptr_t my, int width);
|
||||
|
||||
for (bit_depth = 8; bit_depth <= 12; bit_depth++) {
|
||||
ff_hevc_dsp_init(&h, bit_depth);
|
||||
|
||||
for (i = 0; i < 2; i++) {
|
||||
for (j = 0; j < 2; j++) {
|
||||
for (size = 1; size < 10; size++) {
|
||||
const char *type;
|
||||
switch ((j << 1) | i) {
|
||||
case 0: type = "pel_uni_pixels"; break; // 0 0
|
||||
case 1: type = "epel_uni_h"; break; // 0 1
|
||||
case 2: type = "epel_uni_v"; break; // 1 0
|
||||
case 3: type = "epel_uni_hv"; break; // 1 1
|
||||
}
|
||||
|
||||
if (check_func(h.put_hevc_epel_uni[size][j][i], "put_hevc_%s%d_%d", type, sizes[size], bit_depth)) {
|
||||
randomize_buffers();
|
||||
call_ref(dst0, sizes[size] * SIZEOF_PIXEL, src0, sizes[size] * SIZEOF_PIXEL, sizes[size], i, j, sizes[size]);
|
||||
call_new(dst1, sizes[size] * SIZEOF_PIXEL, src1, sizes[size] * SIZEOF_PIXEL, sizes[size], i, j, sizes[size]);
|
||||
if (memcmp(dst0, dst1, sizes[size] * sizes[size] * SIZEOF_PIXEL))
|
||||
fail();
|
||||
bench_new(dst1, sizes[size] * SIZEOF_PIXEL, src1, sizes[size] * SIZEOF_PIXEL, sizes[size], i, j, sizes[size]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
report("epel_uni");
|
||||
}
|
||||
|
||||
void checkasm_check_hevc_epel_uni_w(void)
|
||||
{
|
||||
LOCAL_ALIGNED_32(uint8_t, buf0, [BUF_SIZE]);
|
||||
LOCAL_ALIGNED_32(uint8_t, buf1, [BUF_SIZE]);
|
||||
LOCAL_ALIGNED_32(uint8_t, dst0, [BUF_SIZE]);
|
||||
LOCAL_ALIGNED_32(uint8_t, dst1, [BUF_SIZE]);
|
||||
|
||||
HEVCDSPContext h;
|
||||
int size, bit_depth, i, j;
|
||||
const int *denom, *wx, *ox;
|
||||
declare_func_emms(AV_CPU_FLAG_MMX | AV_CPU_FLAG_MMXEXT, void, uint8_t *dst, ptrdiff_t dststride, uint8_t *src, ptrdiff_t srcstride,
|
||||
int height, int denom, int wx, int ox, intptr_t mx, intptr_t my, int width);
|
||||
|
||||
for (bit_depth = 8; bit_depth <= 12; bit_depth++) {
|
||||
ff_hevc_dsp_init(&h, bit_depth);
|
||||
|
||||
for (i = 0; i < 2; i++) {
|
||||
for (j = 0; j < 2; j++) {
|
||||
for (size = 1; size < 10; size++) {
|
||||
const char *type;
|
||||
switch ((j << 1) | i) {
|
||||
case 0: type = "pel_uni_w_pixels"; break; // 0 0
|
||||
case 1: type = "epel_uni_w_h"; break; // 0 1
|
||||
case 2: type = "epel_uni_w_v"; break; // 1 0
|
||||
case 3: type = "epel_uni_w_hv"; break; // 1 1
|
||||
}
|
||||
|
||||
if (check_func(h.put_hevc_epel_uni_w[size][j][i], "put_hevc_%s%d_%d", type, sizes[size], bit_depth)) {
|
||||
for (denom = denoms; *denom >= 0; denom++) {
|
||||
for (wx = weights; *wx >= 0; wx++) {
|
||||
for (ox = offsets; *ox >= 0; ox++) {
|
||||
randomize_buffers();
|
||||
call_ref(dst0, sizes[size] * SIZEOF_PIXEL, src0, sizes[size] * SIZEOF_PIXEL, sizes[size], *denom, *wx, *ox, i, j, sizes[size]);
|
||||
call_new(dst1, sizes[size] * SIZEOF_PIXEL, src1, sizes[size] * SIZEOF_PIXEL, sizes[size], *denom, *wx, *ox, i, j, sizes[size]);
|
||||
if (memcmp(dst0, dst1, sizes[size] * sizes[size] * SIZEOF_PIXEL))
|
||||
fail();
|
||||
bench_new(dst1, sizes[size] * SIZEOF_PIXEL, src1, sizes[size] * SIZEOF_PIXEL, sizes[size], *denom, *wx, *ox, i, j, sizes[size]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
report("epel_uni_w");
|
||||
}
|
||||
|
||||
void checkasm_check_hevc_epel_bi(void)
|
||||
{
|
||||
LOCAL_ALIGNED_32(uint8_t, buf0, [BUF_SIZE]);
|
||||
LOCAL_ALIGNED_32(uint8_t, buf1, [BUF_SIZE]);
|
||||
LOCAL_ALIGNED_32(uint8_t, dst0, [BUF_SIZE]);
|
||||
LOCAL_ALIGNED_32(uint8_t, dst1, [BUF_SIZE]);
|
||||
LOCAL_ALIGNED_32(int16_t, ref0, [BUF_SIZE]);
|
||||
LOCAL_ALIGNED_32(int16_t, ref1, [BUF_SIZE]);
|
||||
|
||||
HEVCDSPContext h;
|
||||
int size, bit_depth, i, j;
|
||||
declare_func_emms(AV_CPU_FLAG_MMX | AV_CPU_FLAG_MMXEXT, void, uint8_t *dst, ptrdiff_t dststride, uint8_t *src, ptrdiff_t srcstride,
|
||||
int16_t *src2,
|
||||
int height, intptr_t mx, intptr_t my, int width);
|
||||
|
||||
for (bit_depth = 8; bit_depth <= 12; bit_depth++) {
|
||||
ff_hevc_dsp_init(&h, bit_depth);
|
||||
|
||||
for (i = 0; i < 2; i++) {
|
||||
for (j = 0; j < 2; j++) {
|
||||
for (size = 1; size < 10; size++) {
|
||||
const char *type;
|
||||
switch ((j << 1) | i) {
|
||||
case 0: type = "pel_bi_pixels"; break; // 0 0
|
||||
case 1: type = "epel_bi_h"; break; // 0 1
|
||||
case 2: type = "epel_bi_v"; break; // 1 0
|
||||
case 3: type = "epel_bi_hv"; break; // 1 1
|
||||
}
|
||||
|
||||
if (check_func(h.put_hevc_epel_bi[size][j][i], "put_hevc_%s%d_%d", type, sizes[size], bit_depth)) {
|
||||
randomize_buffers_ref();
|
||||
call_ref(dst0, sizes[size] * SIZEOF_PIXEL, src0, sizes[size] * SIZEOF_PIXEL, ref0, sizes[size], i, j, sizes[size]);
|
||||
call_new(dst1, sizes[size] * SIZEOF_PIXEL, src1, sizes[size] * SIZEOF_PIXEL, ref1, sizes[size], i, j, sizes[size]);
|
||||
if (memcmp(dst0, dst1, sizes[size] * sizes[size] * SIZEOF_PIXEL))
|
||||
fail();
|
||||
bench_new(dst1, sizes[size] * SIZEOF_PIXEL, src1, sizes[size] * SIZEOF_PIXEL, ref1, sizes[size], i, j, sizes[size]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
report("epel_bi");
|
||||
}
|
||||
|
||||
void checkasm_check_hevc_epel_bi_w(void)
|
||||
{
|
||||
LOCAL_ALIGNED_32(uint8_t, buf0, [BUF_SIZE]);
|
||||
LOCAL_ALIGNED_32(uint8_t, buf1, [BUF_SIZE]);
|
||||
LOCAL_ALIGNED_32(uint8_t, dst0, [BUF_SIZE]);
|
||||
LOCAL_ALIGNED_32(uint8_t, dst1, [BUF_SIZE]);
|
||||
LOCAL_ALIGNED_32(int16_t, ref0, [BUF_SIZE]);
|
||||
LOCAL_ALIGNED_32(int16_t, ref1, [BUF_SIZE]);
|
||||
|
||||
HEVCDSPContext h;
|
||||
int size, bit_depth, i, j;
|
||||
const int *denom, *wx, *ox;
|
||||
declare_func_emms(AV_CPU_FLAG_MMX | AV_CPU_FLAG_MMXEXT, void, uint8_t *dst, ptrdiff_t dststride, uint8_t *src, ptrdiff_t srcstride,
|
||||
int16_t *src2,
|
||||
int height, int denom, int wx0, int wx1,
|
||||
int ox0, int ox1, intptr_t mx, intptr_t my, int width);
|
||||
|
||||
for (bit_depth = 8; bit_depth <= 12; bit_depth++) {
|
||||
ff_hevc_dsp_init(&h, bit_depth);
|
||||
|
||||
for (i = 0; i < 2; i++) {
|
||||
for (j = 0; j < 2; j++) {
|
||||
for (size = 1; size < 10; size++) {
|
||||
const char *type;
|
||||
switch ((j << 1) | i) {
|
||||
case 0: type = "pel_bi_w_pixels"; break; // 0 0
|
||||
case 1: type = "epel_bi_w_h"; break; // 0 1
|
||||
case 2: type = "epel_bi_w_v"; break; // 1 0
|
||||
case 3: type = "epel_bi_w_hv"; break; // 1 1
|
||||
}
|
||||
|
||||
if (check_func(h.put_hevc_epel_bi_w[size][j][i], "put_hevc_%s%d_%d", type, sizes[size], bit_depth)) {
|
||||
for (denom = denoms; *denom >= 0; denom++) {
|
||||
for (wx = weights; *wx >= 0; wx++) {
|
||||
for (ox = offsets; *ox >= 0; ox++) {
|
||||
randomize_buffers_ref();
|
||||
call_ref(dst0, sizes[size] * SIZEOF_PIXEL, src0, sizes[size] * SIZEOF_PIXEL, ref0, sizes[size], *denom, *wx, *wx, *ox, *ox, i, j, sizes[size]);
|
||||
call_new(dst1, sizes[size] * SIZEOF_PIXEL, src1, sizes[size] * SIZEOF_PIXEL, ref1, sizes[size], *denom, *wx, *wx, *ox, *ox, i, j, sizes[size]);
|
||||
if (memcmp(dst0, dst1, sizes[size] * sizes[size] * SIZEOF_PIXEL))
|
||||
fail();
|
||||
bench_new(dst1, sizes[size] * SIZEOF_PIXEL, src1, sizes[size] * SIZEOF_PIXEL, ref1, sizes[size], *denom, *wx, *wx, *ox, *ox, i, j, sizes[size]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
report("epel_bi_w");
|
||||
}
|
@@ -1,197 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2020
|
||||
*
|
||||
* This file is part of FFmpeg.
|
||||
*
|
||||
* FFmpeg is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* FFmpeg is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with FFmpeg; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include "libavfilter/dnn/dnn_backend_native_layer_avgpool.h"
|
||||
|
||||
#define EPSON 0.00001
|
||||
|
||||
static int test_with_same(void)
|
||||
{
|
||||
// the input data and expected data are generated with below python code.
|
||||
/*
|
||||
import tensorflow as tf
|
||||
import numpy as np
|
||||
|
||||
x = tf.placeholder(tf.float32, shape=[1, None, None, 3])
|
||||
y = tf.layers.average_pooling2d(x, pool_size=[2,2], strides=[1,1], padding='VALID')
|
||||
data = np.random.rand(1, 5, 6, 3);
|
||||
|
||||
sess=tf.Session()
|
||||
sess.run(tf.global_variables_initializer())
|
||||
|
||||
output = sess.run(y, feed_dict={x: data})
|
||||
|
||||
print("input:")
|
||||
print(data.shape)
|
||||
print(list(data.flatten()))
|
||||
|
||||
print("output:")
|
||||
print(output.shape)
|
||||
print(list(output.flatten()))
|
||||
*/
|
||||
|
||||
AvgPoolParams params;
|
||||
DnnOperand operands[2];
|
||||
int32_t input_indexes[1];
|
||||
float input[1*5*6*3] = {
|
||||
0.7461309859908424, 0.7567538372797069, 0.07662743569678687, 0.8882112610336333, 0.9720443314026668, 0.3337200343220823, 0.4421032129780248,
|
||||
0.14940809044964876, 0.6773177061961277, 0.9778844630669781, 0.6522650522626998, 0.0317651530878591, 0.31259897552911364, 0.6235936821891896,
|
||||
0.40016094349542775, 0.4599222930032276, 0.7893807222960093, 0.8475986363538283, 0.5058802717647394, 0.7827005363222633, 0.3032188123727916,
|
||||
0.8983728631302361, 0.20622408444965523, 0.22966072303869878, 0.09535751273161308, 0.8760709100995375, 0.9982324154558745, 0.7904595468621013,
|
||||
0.13883671508879347, 0.9332751439533138, 0.0010861680752152214, 0.3607210449251048, 0.6600652759586171, 0.7629572058138805, 0.29441975810476106,
|
||||
0.2683471432889405, 0.22574580829831536, 0.8893251976212904, 0.3907737043801005, 0.6421829842863968, 0.6670373870457297, 0.9383850793160277,
|
||||
0.4120458907436003, 0.3589847212711481, 0.48047736550128983, 0.6428192648418949, 0.0313661686292348, 0.429357100401472, 0.5123413386514056,
|
||||
0.8492446404097114, 0.9045286128486804, 0.8123708563814285, 0.3943245008451698, 0.9576713003177785, 0.5985610965938726, 0.9350833279543561,
|
||||
0.8010079897491659, 0.45882114217642866, 0.35275037908941487, 0.4555844661432271, 0.12352455940255314, 0.37801756635035544, 0.2824056214573083,
|
||||
0.6229462823245029, 0.7235305681391472, 0.5408259266122064, 0.12142224381781208, 0.34431198802873686, 0.7112823816321276, 0.6307144385115417,
|
||||
0.8136734589018082, 0.842095618140585, 0.8602767724004784, 0.6649236853766185, 0.5184782829419623, 0.9119607270982825, 0.3084111974561645,
|
||||
0.39460705638161364, 0.17710447526170836, 0.1715485945814199, 0.17277563576521882, 0.40188232428735704, 0.22847985411491878, 0.4135361701550696,
|
||||
0.24621846601980057, 0.6576588108454774, 0.6063336087333997, 0.6452342242996931, 0.7071689702737508, 0.1973416063225648
|
||||
};
|
||||
float expected_output[] = {
|
||||
0.75964886, 0.6794307, 0.23580676, 0.5810112, 0.5509369, 0.55973274, 0.5764512, 0.45414522, 0.6601476, 0.52050734, 0.44385415,
|
||||
0.50631666, 0.38414115, 0.5170288, 0.544043, 0.61143976, 0.5419003, 0.5579729, 0.5680455, 0.6363218, 0.4655096, 0.51198983,
|
||||
0.5270792, 0.66168886, 0.48517057, 0.3513146, 0.7103355, 0.48667657, 0.34504217, 0.7318065, 0.5221889, 0.4746775, 0.69765306,
|
||||
0.78766406, 0.34437215, 0.6130092, 0.48132777, 0.7110491, 0.6464378, 0.40914366, 0.4391975, 0.5392131, 0.45033398, 0.37297475,
|
||||
0.43326652, 0.4748823, 0.48711336, 0.64649844, 0.51921225, 0.60038865, 0.8538945, 0.7215426, 0.60399896, 0.89988345, 0.707405,
|
||||
0.5652921, 0.54241943, 0.41785273, 0.30268195, 0.3263432, 0.3313644, 0.37539417, 0.35238582, 0.34811732, 0.48849532, 0.56799453,
|
||||
0.41089734, 0.63070333, 0.5892633, 0.6379743, 0.7604212, 0.5197186, 0.88611877, 0.48666745, 0.45654267, 0.5445326, 0.2399799,
|
||||
0.28369135, 0.28949338, 0.20001422, 0.2931559, 0.3240504, 0.44306934, 0.5099349, 0.44572634, 0.68241394, 0.40183762, 0.6452342,
|
||||
0.707169, 0.1973416
|
||||
};
|
||||
float *output;
|
||||
|
||||
params.strides = 1;
|
||||
params.kernel_size = 2;
|
||||
params.padding_method = SAME;
|
||||
|
||||
operands[0].data = input;
|
||||
operands[0].dims[0] = 1;
|
||||
operands[0].dims[1] = 5;
|
||||
operands[0].dims[2] = 6;
|
||||
operands[0].dims[3] = 3;
|
||||
operands[1].data = NULL;
|
||||
|
||||
input_indexes[0] = 0;
|
||||
ff_dnn_execute_layer_avg_pool(operands, input_indexes, 1, ¶ms, NULL);
|
||||
|
||||
output = operands[1].data;
|
||||
for (int i = 0; i < sizeof(expected_output) / sizeof(float); ++i) {
|
||||
if (fabs(output[i] - expected_output[i]) > EPSON) {
|
||||
printf("at index %d, output: %f, expected_output: %f\n", i, output[i], expected_output[i]);
|
||||
av_freep(&output);
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
av_freep(&output);
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int test_with_valid(void)
|
||||
{
|
||||
// the input data and expected data are generated with below python code.
|
||||
/*
|
||||
import tensorflow as tf
|
||||
import numpy as np
|
||||
|
||||
x = tf.placeholder(tf.float32, shape=[1, None, None, 3])
|
||||
y = tf.layers.average_pooling2d(x, pool_size=[2,2], strides=[1,1], padding='VALID')
|
||||
data = np.random.rand(1, 5, 6, 3);
|
||||
|
||||
sess=tf.Session()
|
||||
sess.run(tf.global_variables_initializer())
|
||||
|
||||
output = sess.run(y, feed_dict={x: data})
|
||||
|
||||
print("input:")
|
||||
print(data.shape)
|
||||
print(list(data.flatten()))
|
||||
|
||||
print("output:")
|
||||
print(output.shape)
|
||||
print(list(output.flatten()))
|
||||
*/
|
||||
|
||||
AvgPoolParams params;
|
||||
DnnOperand operands[2];
|
||||
int32_t input_indexes[1];
|
||||
float input[1*5*6*3] = {
|
||||
0.5046741692941682, 0.9273653202485155, 0.8193878359859937, 0.1904059431360905, 0.8664919633253656, 0.7484625128286059, 0.984534184632278,
|
||||
0.31900804890072254, 0.3259426099940872, 0.05388974903570376, 0.7356610151331133, 0.46710858713311965, 0.718553768817036, 0.062478421853278676,
|
||||
0.7813224786584609, 0.4826837517658389, 0.9748095400220147, 0.8078547703898341, 0.11976750668368585, 0.8713586777195065, 0.41447321551284355,
|
||||
0.9818788239089807, 0.4335715767584073, 0.4059793452147419, 0.3677205907204525, 0.47919995923571, 0.8341395256258882, 0.7059726374074609,
|
||||
0.5478504551919791, 0.8622900484790175, 0.8343709722511167, 0.05089827275068537, 0.6465283980840416, 0.544539116066677, 0.39812057257884337,
|
||||
0.9578115576866337, 0.25012888117580145, 0.579333516024662, 0.5556732133051457, 0.6119862111181243, 0.0018736758772316398, 0.9795490254040474,
|
||||
0.4488085008883018, 0.28947489777011737, 0.4834108668633247, 0.9280490084385024, 0.9895821458049648, 0.31777618554697606, 0.42679693258977847,
|
||||
0.74447844466923, 0.9752225305081498, 0.17564130841849335, 0.22382692067314292, 0.009602884447469373, 0.5144884415025782, 0.031622570708844555,
|
||||
0.8277532752502512, 0.4111593210409763, 0.5272084646575664, 0.28856508082905297, 0.11317726946036655, 0.7203328275540273, 0.8310055019972384,
|
||||
0.8535951508685228, 0.40230347305233227, 0.2819703265132867, 0.6243143957791139, 0.7512463693822311, 0.7523056340495644, 0.8838077258040928,
|
||||
0.5472240664033092, 0.2550538284454935, 0.5560317774456567, 0.8966847087518931, 0.6728358284165321, 0.30361297147530875, 0.464343925441822,
|
||||
0.34507695659461224, 0.6333175615390685, 0.26661369038523497, 0.9926748632253231, 0.9994267301382666, 0.8684917986974414, 0.3598754806113009,
|
||||
0.49550268625464666, 0.03652458679973214, 0.13469081713137177, 0.4579424049273835, 0.48641107969110353, 0.9670250266945365
|
||||
};
|
||||
float expected_output[1*4*5*3] = {
|
||||
0.44918162, 0.7746969, 0.5970757, 0.63113487, 0.5245679, 0.578631, 0.52802926, 0.52042985, 0.6223702, 0.57819676, 0.34922206,
|
||||
0.6893124, 0.64503694, 0.37157673, 0.7983793, 0.49094033, 0.47153437, 0.5889187, 0.6025985, 0.30103004, 0.6757697, 0.6126377,
|
||||
0.5765268, 0.62440413, 0.7237974, 0.5832023, 0.7004543, 0.49533707, 0.35433105, 0.6472913, 0.44694072, 0.28500956, 0.6628852,
|
||||
0.39628282, 0.38472247, 0.6456326, 0.58590746, 0.60042334, 0.47854072, 0.7081889, 0.7219026, 0.5818187, 0.5276401, 0.56669396,
|
||||
0.49804622, 0.4463231, 0.4799649, 0.5335578, 0.36531678, 0.4946247, 0.6143306, 0.6498792, 0.5644355, 0.6163815, 0.7432098,
|
||||
0.5146416, 0.38221055, 0.6153918, 0.45535153, 0.5272688
|
||||
};
|
||||
float *output;
|
||||
|
||||
params.strides = 1;
|
||||
params.kernel_size = 2;
|
||||
params.padding_method = VALID;
|
||||
|
||||
operands[0].data = input;
|
||||
operands[0].dims[0] = 1;
|
||||
operands[0].dims[1] = 5;
|
||||
operands[0].dims[2] = 6;
|
||||
operands[0].dims[3] = 3;
|
||||
operands[1].data = NULL;
|
||||
|
||||
input_indexes[0] = 0;
|
||||
ff_dnn_execute_layer_avg_pool(operands, input_indexes, 1, ¶ms, NULL);
|
||||
|
||||
output = operands[1].data;
|
||||
for (int i = 0; i < sizeof(expected_output) / sizeof(float); ++i) {
|
||||
if (fabs(output[i] - expected_output[i]) > EPSON) {
|
||||
printf("at index %d, output: %f, expected_output: %f\n", i, output[i], expected_output[i]);
|
||||
av_freep(&output);
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
av_freep(&output);
|
||||
return 0;
|
||||
}
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
if (test_with_same())
|
||||
return 1;
|
||||
if (test_with_valid())
|
||||
return 1;
|
||||
|
||||
return 0;
|
||||
}
|
@@ -1,131 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2020
|
||||
*
|
||||
* This file is part of FFmpeg.
|
||||
*
|
||||
* FFmpeg is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* FFmpeg is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with FFmpeg; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
#include "libavfilter/dnn/dnn_backend_native_layer_dense.h"
|
||||
|
||||
#define EPSON 0.00001
|
||||
|
||||
static int test(void)
|
||||
{
|
||||
// the input data and expected data are generated with below python code.
|
||||
/*
|
||||
x = tf.placeholder(tf.float32, shape=[1, None, None, 3])
|
||||
y = tf.layers.dense(input_x, 3, activation=tf.nn.sigmoid, bias_initializer=tf.keras.initializers.he_normal())
|
||||
data = np.random.rand(1, 5, 6, 3);
|
||||
|
||||
sess=tf.Session()
|
||||
sess.run(tf.global_variables_initializer())
|
||||
|
||||
weights = dict([(var.name, sess.run(var)) for var in tf.trainable_variables()])
|
||||
kernel = weights['dense/kernel:0']
|
||||
kernel = np.transpose(kernel, [1, 0])
|
||||
print("kernel:")
|
||||
print(kernel.shape)
|
||||
print(list(kernel.flatten()))
|
||||
|
||||
bias = weights['dense/bias:0']
|
||||
print("bias:")
|
||||
print(bias.shape)
|
||||
print(list(bias.flatten()))
|
||||
|
||||
output = sess.run(y, feed_dict={x: data})
|
||||
|
||||
print("input:")
|
||||
print(data.shape)
|
||||
print(list(data.flatten()))
|
||||
|
||||
print("output:")
|
||||
print(output.shape)
|
||||
print(list(output.flatten()))
|
||||
*/
|
||||
|
||||
DenseParams params;
|
||||
DnnOperand operands[2];
|
||||
int32_t input_indexes[1];
|
||||
float input[1*5*6*3] = {
|
||||
0.5552418686576308, 0.20653189262022464, 0.31115120939398877, 0.5897014433221428, 0.37340078861060655, 0.6470921693941893, 0.8039950367872679, 0.8762700891949274,
|
||||
0.6556655583829558, 0.5911096107039339, 0.18640250865290997, 0.2803248779238966, 0.31586613136402053, 0.9447300740056483, 0.9443980824873418, 0.8158851991115941,
|
||||
0.5631010340387631, 0.9407402251929046, 0.6485434876551682, 0.5631376966470001, 0.17581924875609634, 0.7033802439103178, 0.04802402495561675, 0.9183681450194972,
|
||||
0.46059317944364, 0.07964160481596883, 0.871787076270302, 0.973743142324361, 0.15923146943258415, 0.8212946080584571, 0.5415954459227064, 0.9552813822803975,
|
||||
0.4908552668172057, 0.33723691635292274, 0.46588057864910026, 0.8994239961321776, 0.09845220457674186, 0.1713400292123486, 0.39570294912818826, 0.08018956486392803,
|
||||
0.5290478278169032, 0.7141906125920976, 0.0320878067840098, 0.6412406575332606, 0.0075712007102423096, 0.7150828462386156, 0.1311989216968138, 0.4706847944253756,
|
||||
0.5447610794883336, 0.3430923933318001, 0.536082357943209, 0.4371629342483694, 0.40227962985019927, 0.3553806249465469, 0.031806622424259245, 0.7053916426174,
|
||||
0.3261570237309813, 0.419500213292063, 0.3155691223480851, 0.05664028113178088, 0.3636491555914486, 0.8502419746667123, 0.9836596530684955, 0.1628681802975801,
|
||||
0.09410832912479894, 0.28407218939480294, 0.7983417928813697, 0.24132158596506748, 0.8154729498062224, 0.29173768373895637, 0.13407102008052096, 0.18705786678800385,
|
||||
0.7167943621295573, 0.09222004247174376, 0.2319220738766018, 0.17708964382285064, 0.1391440370249517, 0.3254088083499256, 0.4013916894718289, 0.4819742663322323,
|
||||
0.15080103744648077, 0.9302407847555013, 0.9397597961319524, 0.5719200825550793, 0.9538938024682824, 0.9583882089203861, 0.5168861091262276, 0.1926396841842669,
|
||||
0.6781176744337578, 0.719366447288566
|
||||
};
|
||||
float expected_output[1*5*6*3] = {
|
||||
-0.3921688, -0.9243112, -0.29659146, -0.64000785, -0.9466343, -0.62125254, -0.71759033, -0.9171336, -0.735589, -0.34365994,
|
||||
-0.92100817, -0.23903961, -0.8962277, -0.9521279, -0.90962386, -0.7488303, -0.9563761, -0.7701762, -0.40800542, -0.87684774,
|
||||
-0.3339763, -0.6354543, -0.97068924, -0.6246325, -0.6992075, -0.9706726, -0.6818918, -0.51864433, -0.9592881, -0.51187396,
|
||||
-0.7423632, -0.89911884, -0.7457824, -0.82009757, -0.96402895, -0.8235518, -0.61980766, -0.94494647, -0.5410502, -0.8281218,
|
||||
-0.95508635, -0.8201453, -0.5937325, -0.8679507, -0.500767, -0.39430764, -0.93967676, -0.32183182, -0.58913624, -0.939717,
|
||||
-0.55179894, -0.55004454, -0.9214453, -0.4889004, -0.75294703, -0.9118363, -0.7200309, -0.3248641, -0.8878874, -0.18977344,
|
||||
-0.8873837, -0.9571257, -0.90145934, -0.50521654, -0.93739635, -0.39051685, -0.61143184, -0.9591179, -0.605999, -0.40008977,
|
||||
-0.92219675, -0.26732883, -0.19607787, -0.9172511, -0.07068595, -0.5409857, -0.9387041, -0.44181606, -0.4705004, -0.8899935,
|
||||
-0.37997037, -0.66105115, -0.89754754, -0.68141997, -0.6324047, -0.886776, -0.65066385, -0.8334821, -0.94801456, -0.83297
|
||||
};
|
||||
float *output;
|
||||
float kernel[3*3] = {
|
||||
0.56611896, -0.5144603, -0.82600045, 0.19219112, 0.3835776, -0.7475352, 0.5209291, -0.6301091, -0.99442935};
|
||||
float bias[3] = {-0.3654299, -1.5711838, -0.15546428};
|
||||
|
||||
params.activation = TANH;
|
||||
params.has_bias = 1;
|
||||
params.biases = bias;
|
||||
params.input_num = 3;
|
||||
params.kernel = kernel;
|
||||
params.output_num = 3;
|
||||
|
||||
operands[0].data = input;
|
||||
operands[0].dims[0] = 1;
|
||||
operands[0].dims[1] = 5;
|
||||
operands[0].dims[2] = 6;
|
||||
operands[0].dims[3] = 3;
|
||||
operands[1].data = NULL;
|
||||
|
||||
input_indexes[0] = 0;
|
||||
ff_dnn_execute_layer_dense(operands, input_indexes, 1, ¶ms, NULL);
|
||||
|
||||
output = operands[1].data;
|
||||
for (int i = 0; i < sizeof(expected_output) / sizeof(float); i++) {
|
||||
if (fabs(output[i] - expected_output[i]) > EPSON) {
|
||||
printf("at index %d, output: %f, expected_output: %f\n", i, output[i], expected_output[i]);
|
||||
av_freep(&output);
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
av_freep(&output);
|
||||
return 0;
|
||||
}
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
if (test())
|
||||
return 1;
|
||||
|
||||
return 0;
|
||||
}
|
@@ -1,5 +0,0 @@
|
||||
sws_flags=+accurate_rnd+bitexact;
|
||||
split [main][over];
|
||||
[over] scale=88:72, format=yuv420p10, pad=96:80:4:4 [overf];
|
||||
[main] format=yuv420p10 [mainf];
|
||||
[mainf][overf] overlay=240:16:format=yuv420p10
|
@@ -1,5 +0,0 @@
|
||||
sws_flags=+accurate_rnd+bitexact;
|
||||
split [main][over];
|
||||
[over] scale=88:72, format=yuv420p10, pad=96:80:4:4 [overf];
|
||||
[main] format=yuv420p10 [mainf];
|
||||
[mainf][overf] overlay=240:16:format=yuv422p10
|
@@ -1,4 +0,0 @@
|
||||
14b2507d14e95c20bb7ae49b4fcbcbf1 *tests/data/fate/acodec-adpcm-argo.argo_asf
|
||||
281190 tests/data/fate/acodec-adpcm-argo.argo_asf
|
||||
cc5e5c695adeaebaa2b1f0df5ebd59ee *tests/data/fate/acodec-adpcm-argo.out.wav
|
||||
stddev: 1542.05 PSNR: 32.57 MAXDIFF:59667 bytes: 1058400/ 1058432
|
@@ -1,4 +0,0 @@
|
||||
d84466bdfbe6405fa31e44df255f6aad *tests/data/fate/acodec-adpcm-ima_alp.alp
|
||||
264620 tests/data/fate/acodec-adpcm-ima_alp.alp
|
||||
d60c48654568a1cf0abd56b565b12f00 *tests/data/fate/acodec-adpcm-ima_alp.out.wav
|
||||
stddev: 1467.15 PSNR: 33.00 MAXDIFF:33866 bytes: 1058400/ 1058400
|
@@ -1,4 +0,0 @@
|
||||
2e795c6c06baabe01ab92864d963e71b *tests/data/fate/acodec-adpcm-ima_apm.apm
|
||||
264700 tests/data/fate/acodec-adpcm-ima_apm.apm
|
||||
201607bf7610f062b9a1e6524354c569 *tests/data/fate/acodec-adpcm-ima_apm.out.wav
|
||||
stddev: 904.76 PSNR: 37.20 MAXDIFF:34029 bytes: 1058400/ 1058400
|
@@ -1,4 +0,0 @@
|
||||
a21ee5ba531ec89e306d78c861eb6ed1 *tests/data/fate/acodec-adpcm-swf-wav.wav
|
||||
266624 tests/data/fate/acodec-adpcm-swf-wav.wav
|
||||
9d061488fdc1a557bdc454b9d1aba59c *tests/data/fate/acodec-adpcm-swf-wav.out.wav
|
||||
stddev: 919.82 PSNR: 37.06 MAXDIFF:51119 bytes: 1058400/ 1064960
|
283
externals/ffmpeg/ffmpeg/tests/ref/fate/aa-demux
vendored
283
externals/ffmpeg/ffmpeg/tests/ref/fate/aa-demux
vendored
@@ -1,283 +0,0 @@
|
||||
#tb 0: 1/1062500
|
||||
#media_type 0: audio
|
||||
#codec_id 0: sipr
|
||||
#sample_rate 0: 8500
|
||||
#channel_layout 0: 4
|
||||
#channel_layout_name 0: mono
|
||||
0, 0, 0, 18000, 19, 0x36e10529
|
||||
0, 18000, 18000, 18000, 19, 0x70810a69
|
||||
0, 36000, 36000, 18000, 19, 0x618f08a0
|
||||
0, 54000, 54000, 18000, 19, 0x65a508bd
|
||||
0, 72000, 72000, 18000, 19, 0x50420796
|
||||
0, 90000, 90000, 18000, 19, 0x6468084f
|
||||
0, 108000, 108000, 18000, 19, 0x75020a84
|
||||
0, 126000, 126000, 18000, 19, 0x68be09ae
|
||||
0, 144000, 144000, 18000, 19, 0x6cb709b8
|
||||
0, 162000, 162000, 18000, 19, 0x3fee061e
|
||||
0, 180000, 180000, 18000, 19, 0x53220770
|
||||
0, 198000, 198000, 18000, 19, 0x57590888
|
||||
0, 216000, 216000, 18000, 19, 0x6653089c
|
||||
0, 234000, 234000, 18000, 19, 0x55eb081f
|
||||
0, 252000, 252000, 18000, 19, 0x79750ad6
|
||||
0, 270000, 270000, 18000, 19, 0x5e340927
|
||||
0, 288000, 288000, 18000, 19, 0x60c80974
|
||||
0, 306000, 306000, 18000, 19, 0x6c5008f5
|
||||
0, 324000, 324000, 18000, 19, 0x6f5609ca
|
||||
0, 342000, 342000, 18000, 19, 0x79a609f5
|
||||
0, 360000, 360000, 18000, 19, 0x6fa308d5
|
||||
0, 378000, 378000, 18000, 19, 0x56de0789
|
||||
0, 396000, 396000, 18000, 19, 0x567408bf
|
||||
0, 414000, 414000, 18000, 19, 0x62800968
|
||||
0, 432000, 432000, 18000, 19, 0x64ae0a88
|
||||
0, 450000, 450000, 18000, 19, 0x73eb0af5
|
||||
0, 468000, 468000, 18000, 19, 0x6f1e0ac0
|
||||
0, 486000, 486000, 18000, 19, 0x5d0e0a34
|
||||
0, 504000, 504000, 18000, 19, 0x61990a70
|
||||
0, 522000, 522000, 18000, 19, 0x71e00a8a
|
||||
0, 540000, 540000, 18000, 19, 0x6c400a3f
|
||||
0, 558000, 558000, 18000, 19, 0x5f850921
|
||||
0, 576000, 576000, 18000, 19, 0x6e7e0a5e
|
||||
0, 594000, 594000, 18000, 19, 0x4bbe08cd
|
||||
0, 612000, 612000, 18000, 19, 0x62c407d5
|
||||
0, 630000, 630000, 18000, 19, 0x475f07b9
|
||||
0, 648000, 648000, 18000, 19, 0x6f480a68
|
||||
0, 666000, 666000, 18000, 19, 0x65710a4d
|
||||
0, 684000, 684000, 18000, 19, 0x4b2d0841
|
||||
0, 702000, 702000, 18000, 19, 0x64a80a03
|
||||
0, 720000, 720000, 18000, 19, 0x61f608fa
|
||||
0, 738000, 738000, 18000, 19, 0x6fb70a5e
|
||||
0, 756000, 756000, 18000, 19, 0x5f4e0a48
|
||||
0, 774000, 774000, 18000, 19, 0x5a200919
|
||||
0, 792000, 792000, 18000, 19, 0x69af0a1f
|
||||
0, 810000, 810000, 18000, 19, 0x643d094a
|
||||
0, 828000, 828000, 18000, 19, 0x56e707f7
|
||||
0, 846000, 846000, 18000, 19, 0x60ed0923
|
||||
0, 864000, 864000, 18000, 19, 0x6d5d099c
|
||||
0, 882000, 882000, 18000, 19, 0x736d0abd
|
||||
0, 900000, 900000, 18000, 19, 0x578d0981
|
||||
0, 918000, 918000, 18000, 19, 0x621f0979
|
||||
0, 936000, 936000, 18000, 19, 0x690a0938
|
||||
0, 954000, 954000, 18000, 19, 0x55df096f
|
||||
0, 972000, 972000, 18000, 19, 0x5b900945
|
||||
0, 990000, 990000, 18000, 19, 0x595e090a
|
||||
0, 1008000, 1008000, 18000, 19, 0x6f3a0b0d
|
||||
0, 1026000, 1026000, 18000, 19, 0x5df80902
|
||||
0, 1044000, 1044000, 18000, 19, 0x61fa08f6
|
||||
0, 1062000, 1062000, 18000, 19, 0x6a8e0a90
|
||||
0, 1080000, 1080000, 18000, 19, 0x7ec40b7d
|
||||
0, 1098000, 1098000, 18000, 19, 0x554707e3
|
||||
0, 1116000, 1116000, 18000, 19, 0x5ef9097a
|
||||
0, 1134000, 1134000, 18000, 19, 0x74d40c65
|
||||
0, 1152000, 1152000, 18000, 19, 0x52c909a3
|
||||
0, 1170000, 1170000, 18000, 19, 0x79740b0c
|
||||
0, 1188000, 1188000, 18000, 19, 0x64350b42
|
||||
0, 1206000, 1206000, 18000, 19, 0x65f109f4
|
||||
0, 1224000, 1224000, 18000, 19, 0x53760920
|
||||
0, 1242000, 1242000, 18000, 19, 0x5600091a
|
||||
0, 1260000, 1260000, 18000, 19, 0x5b4e08c2
|
||||
0, 1278000, 1278000, 18000, 19, 0x672d09d0
|
||||
0, 1296000, 1296000, 18000, 19, 0x658e09bc
|
||||
0, 1314000, 1314000, 18000, 19, 0x5a560999
|
||||
0, 1332000, 1332000, 18000, 19, 0x69a40ae0
|
||||
0, 1350000, 1350000, 18000, 19, 0x602a0855
|
||||
0, 1368000, 1368000, 18000, 19, 0x4f8606ed
|
||||
0, 1386000, 1386000, 18000, 19, 0x78cb0afe
|
||||
0, 1404000, 1404000, 18000, 19, 0x661609dc
|
||||
0, 1422000, 1422000, 18000, 19, 0x6ea50b3d
|
||||
0, 1440000, 1440000, 18000, 19, 0x60a709dd
|
||||
0, 1458000, 1458000, 18000, 19, 0x55ef082b
|
||||
0, 1476000, 1476000, 18000, 19, 0x6ab70a57
|
||||
0, 1494000, 1494000, 18000, 19, 0x68cb0b92
|
||||
0, 1512000, 1512000, 18000, 19, 0x752809f5
|
||||
0, 1530000, 1530000, 18000, 19, 0x4e810789
|
||||
0, 1548000, 1548000, 18000, 19, 0x60130987
|
||||
0, 1566000, 1566000, 18000, 19, 0x5ea40a08
|
||||
0, 1584000, 1584000, 18000, 19, 0x628507d4
|
||||
0, 1602000, 1602000, 18000, 19, 0x5fc2096c
|
||||
0, 1620000, 1620000, 18000, 19, 0x52a70775
|
||||
0, 1638000, 1638000, 18000, 19, 0x6e4b09af
|
||||
0, 1656000, 1656000, 18000, 19, 0x79750aab
|
||||
0, 1674000, 1674000, 18000, 19, 0x5e23085a
|
||||
0, 1692000, 1692000, 18000, 19, 0x4fb8081b
|
||||
0, 1710000, 1710000, 18000, 19, 0x574b07fc
|
||||
0, 1728000, 1728000, 18000, 19, 0x59d407b2
|
||||
0, 1746000, 1746000, 18000, 19, 0x56d308d4
|
||||
0, 1764000, 1764000, 18000, 19, 0x61310856
|
||||
0, 1782000, 1782000, 18000, 19, 0x4df90867
|
||||
0, 1800000, 1800000, 18000, 19, 0x3d760522
|
||||
0, 1818000, 1818000, 18000, 19, 0x5a0f0917
|
||||
0, 1836000, 1836000, 18000, 19, 0x5e8d0939
|
||||
0, 1854000, 1854000, 18000, 19, 0x65ee081a
|
||||
0, 1872000, 1872000, 18000, 19, 0x4665056f
|
||||
0, 1890000, 1890000, 18000, 19, 0x55c70851
|
||||
0, 1908000, 1908000, 18000, 19, 0x6cf00a94
|
||||
0, 1926000, 1926000, 18000, 19, 0x698308f0
|
||||
0, 1944000, 1944000, 18000, 19, 0x4c9106c9
|
||||
0, 1962000, 1962000, 18000, 19, 0x719d0a28
|
||||
0, 1980000, 1980000, 18000, 19, 0x491f06cc
|
||||
0, 1998000, 1998000, 18000, 19, 0x61fa0972
|
||||
0, 2016000, 2016000, 18000, 19, 0x49b105cb
|
||||
0, 2034000, 2034000, 18000, 19, 0x4b5f071f
|
||||
0, 2052000, 2052000, 18000, 19, 0x5e8e08b3
|
||||
0, 2070000, 2070000, 18000, 19, 0x5d2309bb
|
||||
0, 2088000, 2088000, 18000, 19, 0x4e8806d1
|
||||
0, 2106000, 2106000, 18000, 19, 0x566607dc
|
||||
0, 2124000, 2124000, 18000, 19, 0x4b2506ee
|
||||
0, 2142000, 2142000, 18000, 19, 0x4d810687
|
||||
0, 2160000, 2160000, 18000, 19, 0x51990841
|
||||
0, 2178000, 2178000, 18000, 19, 0x5e220870
|
||||
0, 2196000, 2196000, 18000, 19, 0x4b2f0787
|
||||
0, 2214000, 2214000, 18000, 19, 0x4a4b05f0
|
||||
0, 2232000, 2232000, 18000, 19, 0x485106b5
|
||||
0, 2250000, 2250000, 18000, 19, 0x58d20755
|
||||
0, 2268000, 2268000, 18000, 19, 0x51b807ad
|
||||
0, 2286000, 2286000, 18000, 19, 0x475b06d0
|
||||
0, 2304000, 2304000, 18000, 19, 0x4f93072f
|
||||
0, 2322000, 2322000, 18000, 19, 0x5841082a
|
||||
0, 2340000, 2340000, 18000, 19, 0x5e7f08f6
|
||||
0, 2358000, 2358000, 18000, 19, 0x4cb7075c
|
||||
0, 2376000, 2376000, 18000, 19, 0x560807b9
|
||||
0, 2394000, 2394000, 18000, 19, 0x49fb0732
|
||||
0, 2412000, 2412000, 18000, 19, 0x56790830
|
||||
0, 2430000, 2430000, 18000, 19, 0x4962066b
|
||||
0, 2448000, 2448000, 18000, 19, 0x4f410703
|
||||
0, 2466000, 2466000, 18000, 19, 0x517c078f
|
||||
0, 2484000, 2484000, 18000, 19, 0x594c0850
|
||||
0, 2502000, 2502000, 18000, 19, 0x5df7089d
|
||||
0, 2520000, 2520000, 18000, 19, 0x4b0c0813
|
||||
0, 2538000, 2538000, 18000, 19, 0x5b4d08ec
|
||||
0, 2556000, 2556000, 18000, 19, 0x66840a37
|
||||
0, 2574000, 2574000, 18000, 19, 0x60d20942
|
||||
0, 2592000, 2592000, 18000, 19, 0x5049082e
|
||||
0, 2610000, 2610000, 18000, 19, 0x64a60b38
|
||||
0, 2628000, 2628000, 18000, 19, 0x49400889
|
||||
0, 2646000, 2646000, 18000, 19, 0x598608f6
|
||||
0, 2664000, 2664000, 18000, 19, 0x496e0736
|
||||
0, 2682000, 2682000, 18000, 19, 0x5c5008af
|
||||
0, 2700000, 2700000, 18000, 19, 0x633b0aa7
|
||||
0, 2718000, 2718000, 18000, 19, 0x58ae0888
|
||||
0, 2736000, 2736000, 18000, 19, 0x3da106b3
|
||||
0, 2754000, 2754000, 18000, 19, 0x3f7b077b
|
||||
0, 2772000, 2772000, 18000, 19, 0x4ba60917
|
||||
0, 2790000, 2790000, 18000, 19, 0x5637099b
|
||||
0, 2808000, 2808000, 18000, 19, 0x61e10a50
|
||||
0, 2826000, 2826000, 18000, 19, 0x5157078e
|
||||
0, 2844000, 2844000, 18000, 19, 0x55cf0943
|
||||
0, 2862000, 2862000, 18000, 19, 0x59b308cb
|
||||
0, 2880000, 2880000, 18000, 19, 0x61920a8e
|
||||
0, 2898000, 2898000, 18000, 19, 0x6ee20b7b
|
||||
0, 2916000, 2916000, 18000, 19, 0x67620a9a
|
||||
0, 2934000, 2934000, 18000, 19, 0x57cb0933
|
||||
0, 2952000, 2952000, 18000, 19, 0x618209d8
|
||||
0, 2970000, 2970000, 18000, 19, 0x65bb0a22
|
||||
0, 2988000, 2988000, 18000, 19, 0x55ec0911
|
||||
0, 3006000, 3006000, 18000, 19, 0x607e0966
|
||||
0, 3024000, 3024000, 18000, 19, 0x40ee05f0
|
||||
0, 3042000, 3042000, 18000, 19, 0x5b9308f5
|
||||
0, 3060000, 3060000, 18000, 19, 0x5eb3089a
|
||||
0, 3078000, 3078000, 18000, 19, 0x555a0842
|
||||
0, 3096000, 3096000, 18000, 19, 0x66980839
|
||||
0, 3114000, 3114000, 18000, 19, 0x532e08d2
|
||||
0, 3132000, 3132000, 18000, 19, 0x672d0a76
|
||||
0, 3150000, 3150000, 18000, 19, 0x5c780996
|
||||
0, 3168000, 3168000, 18000, 19, 0x51d408cc
|
||||
0, 3186000, 3186000, 18000, 19, 0x6ee10c12
|
||||
0, 3204000, 3204000, 18000, 19, 0x463c081d
|
||||
0, 3222000, 3222000, 18000, 19, 0x65850aa0
|
||||
0, 3240000, 3240000, 18000, 19, 0x6d1c0a88
|
||||
0, 3258000, 3258000, 18000, 19, 0x5ace08d7
|
||||
0, 3276000, 3276000, 18000, 19, 0x5fef096a
|
||||
0, 3294000, 3294000, 18000, 19, 0x590607e9
|
||||
0, 3312000, 3312000, 18000, 19, 0x61bd0a65
|
||||
0, 3330000, 3330000, 18000, 19, 0x633808c2
|
||||
0, 3348000, 3348000, 18000, 19, 0x3ea2063a
|
||||
0, 3366000, 3366000, 18000, 19, 0x5ff70a03
|
||||
0, 3384000, 3384000, 18000, 19, 0x6c020997
|
||||
0, 3402000, 3402000, 18000, 19, 0x82b00c41
|
||||
0, 3420000, 3420000, 18000, 19, 0x6b9509d2
|
||||
0, 3438000, 3438000, 18000, 19, 0x54af0943
|
||||
0, 3456000, 3456000, 18000, 19, 0x49d40802
|
||||
0, 3474000, 3474000, 18000, 19, 0x52de08df
|
||||
0, 3492000, 3492000, 18000, 19, 0x6dae0ad8
|
||||
0, 3510000, 3510000, 18000, 19, 0x5fbc0883
|
||||
0, 3528000, 3528000, 18000, 19, 0x56620873
|
||||
0, 3546000, 3546000, 18000, 19, 0x5203093c
|
||||
0, 3564000, 3564000, 18000, 19, 0x653d0b5f
|
||||
0, 3582000, 3582000, 18000, 19, 0x6068097d
|
||||
0, 3600000, 3600000, 18000, 19, 0x57700810
|
||||
0, 3618000, 3618000, 18000, 19, 0x562809ce
|
||||
0, 3636000, 3636000, 18000, 19, 0x57ad0849
|
||||
0, 3654000, 3654000, 18000, 19, 0x5dde099d
|
||||
0, 3672000, 3672000, 18000, 19, 0x66700947
|
||||
0, 3690000, 3690000, 18000, 19, 0x5ca108fb
|
||||
0, 3708000, 3708000, 18000, 19, 0x53270773
|
||||
0, 3726000, 3726000, 18000, 19, 0x63a50a30
|
||||
0, 3744000, 3744000, 18000, 19, 0x64f20a63
|
||||
0, 3762000, 3762000, 18000, 19, 0x654509e0
|
||||
0, 3780000, 3780000, 18000, 19, 0x560207f2
|
||||
0, 3798000, 3798000, 18000, 19, 0x54bf0811
|
||||
0, 3816000, 3816000, 18000, 19, 0x5bb70a2d
|
||||
0, 3834000, 3834000, 18000, 19, 0x661d08dd
|
||||
0, 3852000, 3852000, 18000, 19, 0x4f130960
|
||||
0, 3870000, 3870000, 18000, 19, 0x56000920
|
||||
0, 3888000, 3888000, 18000, 19, 0x59110a1d
|
||||
0, 3906000, 3906000, 18000, 19, 0x588009c7
|
||||
0, 3924000, 3924000, 18000, 19, 0x60b40a23
|
||||
0, 3942000, 3942000, 18000, 19, 0x5ab708dd
|
||||
0, 3960000, 3960000, 18000, 19, 0x510208b6
|
||||
0, 3978000, 3978000, 18000, 19, 0x4cbb07fd
|
||||
0, 3996000, 3996000, 18000, 19, 0x5a990938
|
||||
0, 4014000, 4014000, 18000, 19, 0x671b09f7
|
||||
0, 4032000, 4032000, 18000, 19, 0x76d90a8a
|
||||
0, 4050000, 4050000, 18000, 19, 0x81350b4b
|
||||
0, 4068000, 4068000, 18000, 19, 0x5eeb08b8
|
||||
0, 4086000, 4086000, 18000, 19, 0x538d0a68
|
||||
0, 4104000, 4104000, 18000, 19, 0x649a0962
|
||||
0, 4122000, 4122000, 18000, 19, 0x64130a0b
|
||||
0, 4140000, 4140000, 18000, 19, 0x5ef30948
|
||||
0, 4158000, 4158000, 18000, 19, 0x585a0824
|
||||
0, 4176000, 4176000, 18000, 19, 0x46ce07ff
|
||||
0, 4194000, 4194000, 18000, 19, 0x50bc08da
|
||||
0, 4212000, 4212000, 18000, 19, 0x5b1d08a5
|
||||
0, 4230000, 4230000, 18000, 19, 0x5da50993
|
||||
0, 4248000, 4248000, 18000, 19, 0x4d15087b
|
||||
0, 4266000, 4266000, 18000, 19, 0x472106a1
|
||||
0, 4284000, 4284000, 18000, 19, 0x6713098a
|
||||
0, 4302000, 4302000, 18000, 19, 0x4bec0881
|
||||
0, 4320000, 4320000, 18000, 19, 0x607109d9
|
||||
0, 4338000, 4338000, 18000, 19, 0x631a0af3
|
||||
0, 4356000, 4356000, 18000, 19, 0x7b020b89
|
||||
0, 4374000, 4374000, 18000, 19, 0x6cc80ae5
|
||||
0, 4392000, 4392000, 18000, 19, 0x5bce0a35
|
||||
0, 4410000, 4410000, 18000, 19, 0x71750a72
|
||||
0, 4428000, 4428000, 18000, 19, 0x61330af8
|
||||
0, 4446000, 4446000, 18000, 19, 0x80390d10
|
||||
0, 4464000, 4464000, 18000, 19, 0x60300a32
|
||||
0, 4482000, 4482000, 18000, 19, 0x4bbb0764
|
||||
0, 4500000, 4500000, 18000, 19, 0x749c0a92
|
||||
0, 4518000, 4518000, 18000, 19, 0x5d0709ce
|
||||
0, 4536000, 4536000, 18000, 19, 0x75400bd2
|
||||
0, 4554000, 4554000, 18000, 19, 0x56b008ed
|
||||
0, 4572000, 4572000, 18000, 19, 0x5b5309ec
|
||||
0, 4590000, 4590000, 18000, 19, 0x4f110862
|
||||
0, 4608000, 4608000, 18000, 19, 0x574e0869
|
||||
0, 4626000, 4626000, 18000, 19, 0x58e409a7
|
||||
0, 4644000, 4644000, 18000, 19, 0x636108d7
|
||||
0, 4662000, 4662000, 18000, 19, 0x5a8b0862
|
||||
0, 4680000, 4680000, 18000, 19, 0x508908ec
|
||||
0, 4698000, 4698000, 18000, 19, 0x4bdd06d8
|
||||
0, 4716000, 4716000, 18000, 19, 0x6abb0a58
|
||||
0, 4734000, 4734000, 18000, 19, 0x674b0ab4
|
||||
0, 4752000, 4752000, 18000, 19, 0x587d08be
|
||||
0, 4770000, 4770000, 18000, 19, 0x63f808b9
|
||||
0, 4788000, 4788000, 18000, 19, 0x662609e4
|
||||
0, 4806000, 4806000, 18000, 19, 0x6c490b07
|
||||
0, 4824000, 4824000, 18000, 19, 0x41df075a
|
||||
0, 4842000, 4842000, 18000, 19, 0x5f870a0f
|
||||
0, 4860000, 4860000, 18000, 19, 0x600f0a87
|
||||
0, 4878000, 4878000, 18000, 19, 0x535f0880
|
||||
0, 4896000, 4896000, 18000, 19, 0x5f3a09e5
|
||||
0, 4914000, 4914000, 18000, 19, 0x529d08d4
|
||||
0, 4932000, 4932000, 18000, 19, 0x67630a76
|
||||
0, 4950000, 4950000, 18000, 19, 0x4bc40844
|
||||
0, 4968000, 4968000, 18000, 19, 0x5091083a
|
@@ -1 +0,0 @@
|
||||
c508235656525c97429153c639dbe8eb
|
@@ -1,139 +0,0 @@
|
||||
#tb 0: 1/10
|
||||
#media_type 0: video
|
||||
#codec_id 0: rawvideo
|
||||
#dimensions 0: 85x128
|
||||
#sar 0: 0/1
|
||||
0, 0, 0, 1, 43520, 0xff012b7c
|
||||
0, 1, 1, 1, 43520, 0x76842464
|
||||
0, 2, 2, 1, 43520, 0xa35de191
|
||||
0, 3, 3, 1, 43520, 0x7ece479c
|
||||
0, 4, 4, 1, 43520, 0xea12fa4a
|
||||
0, 5, 5, 1, 43520, 0xcb2c2256
|
||||
0, 6, 6, 1, 43520, 0x7d225965
|
||||
0, 7, 7, 1, 43520, 0xc0d95d3f
|
||||
0, 8, 8, 1, 43520, 0xee864d84
|
||||
0, 9, 9, 1, 43520, 0x1fadbb0e
|
||||
0, 10, 10, 1, 43520, 0xab89647b
|
||||
0, 11, 11, 1, 43520, 0x206141bc
|
||||
0, 12, 12, 1, 43520, 0x6432e720
|
||||
0, 13, 13, 1, 43520, 0xe25ab561
|
||||
0, 14, 14, 1, 43520, 0xc2df7c6b
|
||||
0, 15, 15, 1, 43520, 0x372768c3
|
||||
0, 16, 16, 1, 43520, 0xfeea0d7b
|
||||
0, 17, 17, 1, 43520, 0x89c1f76d
|
||||
0, 18, 18, 1, 43520, 0xae16c8b3
|
||||
0, 19, 19, 1, 43520, 0x98949570
|
||||
0, 20, 20, 1, 43520, 0x5bb75099
|
||||
0, 21, 21, 1, 43520, 0xb4c73263
|
||||
0, 22, 22, 1, 43520, 0xcf26f441
|
||||
0, 23, 23, 1, 43520, 0xba47d23b
|
||||
0, 24, 24, 1, 43520, 0x4c3e87da
|
||||
0, 25, 25, 1, 43520, 0xe95b7398
|
||||
0, 26, 26, 1, 43520, 0x00575c74
|
||||
0, 27, 27, 1, 43520, 0xea1d59f6
|
||||
0, 28, 28, 1, 43520, 0xbede4d2e
|
||||
0, 29, 29, 1, 43520, 0x9ed736a6
|
||||
0, 30, 30, 1, 43520, 0x8b027f56
|
||||
0, 31, 31, 1, 43520, 0x1db24f15
|
||||
0, 32, 32, 1, 43520, 0x1835a2dd
|
||||
0, 33, 33, 1, 43520, 0xfda26b24
|
||||
0, 34, 34, 1, 43520, 0x52f3e8eb
|
||||
0, 35, 35, 1, 43520, 0xda01102f
|
||||
0, 36, 36, 1, 43520, 0x443adff3
|
||||
0, 37, 37, 1, 43520, 0x46c72f9a
|
||||
0, 38, 38, 1, 43520, 0x3ec78642
|
||||
0, 39, 39, 1, 43520, 0x12033c40
|
||||
0, 40, 40, 1, 43520, 0x41fe0964
|
||||
0, 41, 41, 1, 43520, 0xc7a53be5
|
||||
0, 42, 42, 1, 43520, 0x4b185aa0
|
||||
0, 43, 43, 1, 43520, 0xf45cc1f0
|
||||
0, 44, 44, 1, 43520, 0x8bdc77cd
|
||||
0, 45, 45, 1, 43520, 0x94c5ac41
|
||||
0, 46, 46, 1, 43520, 0xfbabeefe
|
||||
0, 47, 47, 1, 43520, 0x92d657d9
|
||||
0, 48, 48, 1, 43520, 0x09dbd475
|
||||
0, 49, 49, 1, 43520, 0x5f9926e4
|
||||
0, 50, 50, 1, 43520, 0x4fdb5a64
|
||||
0, 51, 51, 1, 43520, 0xc0a382f6
|
||||
0, 52, 52, 1, 43520, 0x104f9b45
|
||||
0, 53, 53, 1, 43520, 0xfaf5d8f7
|
||||
0, 54, 54, 1, 43520, 0x2559e38b
|
||||
0, 55, 55, 1, 43520, 0x82890381
|
||||
0, 56, 56, 1, 43520, 0xfe7aec01
|
||||
0, 57, 57, 1, 43520, 0x4543f499
|
||||
0, 58, 58, 1, 43520, 0x60d7cbd1
|
||||
0, 59, 59, 1, 43520, 0x576fc249
|
||||
0, 60, 60, 1, 43520, 0xc96d9035
|
||||
0, 61, 61, 1, 43520, 0x40857b3a
|
||||
0, 62, 62, 1, 43520, 0x422a2eef
|
||||
0, 63, 63, 1, 43520, 0xb1510101
|
||||
0, 64, 64, 1, 43520, 0x3f619ad7
|
||||
0, 65, 65, 1, 43520, 0x497f42fa
|
||||
0, 66, 66, 1, 43520, 0x8b4b1ce2
|
||||
0, 67, 67, 1, 43520, 0x21f2f75b
|
||||
0, 68, 68, 1, 43520, 0x8b4b1ce2
|
||||
0, 69, 69, 1, 43520, 0x497f42fa
|
||||
0, 70, 70, 1, 43520, 0x3f619ad7
|
||||
0, 71, 71, 1, 43520, 0xb1510101
|
||||
0, 72, 72, 1, 43520, 0x422a2eef
|
||||
0, 73, 73, 1, 43520, 0x40857b3a
|
||||
0, 74, 74, 1, 43520, 0xc96d9035
|
||||
0, 75, 75, 1, 43520, 0x576fc249
|
||||
0, 76, 76, 1, 43520, 0x60d7cbd1
|
||||
0, 77, 77, 1, 43520, 0x4543f499
|
||||
0, 78, 78, 1, 43520, 0xfe7aec01
|
||||
0, 79, 79, 1, 43520, 0x82890381
|
||||
0, 80, 80, 1, 43520, 0x2559e38b
|
||||
0, 81, 81, 1, 43520, 0xfaf5d8f7
|
||||
0, 82, 82, 1, 43520, 0x104f9b45
|
||||
0, 83, 83, 1, 43520, 0xc0a382f6
|
||||
0, 84, 84, 1, 43520, 0x4fdb5a64
|
||||
0, 85, 85, 1, 43520, 0x5f9926e4
|
||||
0, 86, 86, 1, 43520, 0x09dbd475
|
||||
0, 87, 87, 1, 43520, 0x92d657d9
|
||||
0, 88, 88, 1, 43520, 0xfbabeefe
|
||||
0, 89, 89, 1, 43520, 0x94c5ac41
|
||||
0, 90, 90, 1, 43520, 0x8bdc77cd
|
||||
0, 91, 91, 1, 43520, 0xf45cc1f0
|
||||
0, 92, 92, 1, 43520, 0x4b185aa0
|
||||
0, 93, 93, 1, 43520, 0xc7a53be5
|
||||
0, 94, 94, 1, 43520, 0x41fe0964
|
||||
0, 95, 95, 1, 43520, 0x12033c40
|
||||
0, 96, 96, 1, 43520, 0x3ec78642
|
||||
0, 97, 97, 1, 43520, 0x46c72f9a
|
||||
0, 98, 98, 1, 43520, 0x443adff3
|
||||
0, 99, 99, 1, 43520, 0xda01102f
|
||||
0, 100, 100, 1, 43520, 0x52f3e8eb
|
||||
0, 101, 101, 1, 43520, 0xfda26b24
|
||||
0, 102, 102, 1, 43520, 0x1835a2dd
|
||||
0, 103, 103, 1, 43520, 0x1db24f15
|
||||
0, 104, 104, 1, 43520, 0x8b027f56
|
||||
0, 105, 105, 1, 43520, 0x9ed736a6
|
||||
0, 106, 106, 1, 43520, 0xbede4d2e
|
||||
0, 107, 107, 1, 43520, 0xea1d59f6
|
||||
0, 108, 108, 1, 43520, 0x00575c74
|
||||
0, 109, 109, 1, 43520, 0xe95b7398
|
||||
0, 110, 110, 1, 43520, 0x4c3e87da
|
||||
0, 111, 111, 1, 43520, 0xba47d23b
|
||||
0, 112, 112, 1, 43520, 0xcf26f441
|
||||
0, 113, 113, 1, 43520, 0xb4c73263
|
||||
0, 114, 114, 1, 43520, 0x5bb75099
|
||||
0, 115, 115, 1, 43520, 0x98949570
|
||||
0, 116, 116, 1, 43520, 0xae16c8b3
|
||||
0, 117, 117, 1, 43520, 0x89c1f76d
|
||||
0, 118, 118, 1, 43520, 0xfeea0d7b
|
||||
0, 119, 119, 1, 43520, 0x372768c3
|
||||
0, 120, 120, 1, 43520, 0xc2df7c6b
|
||||
0, 121, 121, 1, 43520, 0xe25ab561
|
||||
0, 122, 122, 1, 43520, 0x6432e720
|
||||
0, 123, 123, 1, 43520, 0x206141bc
|
||||
0, 124, 124, 1, 43520, 0xab89647b
|
||||
0, 125, 125, 1, 43520, 0x1fadbb0e
|
||||
0, 126, 126, 1, 43520, 0xee864d84
|
||||
0, 127, 127, 1, 43520, 0xc0d95d3f
|
||||
0, 128, 128, 1, 43520, 0x7d225965
|
||||
0, 129, 129, 1, 43520, 0xcb2c2256
|
||||
0, 130, 130, 1, 43520, 0xea12fa4a
|
||||
0, 131, 131, 1, 43520, 0x7ece479c
|
||||
0, 132, 132, 1, 43520, 0xa35de191
|
||||
0, 133, 133, 1, 43520, 0x76842464
|
@@ -1,7 +0,0 @@
|
||||
#tb 0: 100/2397
|
||||
#media_type 0: video
|
||||
#codec_id 0: rawvideo
|
||||
#dimensions 0: 720x486
|
||||
#sar 0: 0/1
|
||||
0, 0, 0, 1, 699840, 0xc59a264e
|
||||
0, 1, 1, 1, 699840, 0x06f13712
|
@@ -1,15 +0,0 @@
|
||||
#tb 0: 20859/500000
|
||||
#media_type 0: video
|
||||
#codec_id 0: rawvideo
|
||||
#dimensions 0: 320x240
|
||||
#sar 0: 0/1
|
||||
0, 0, 0, 1, 153600, 0xbfd35869
|
||||
0, 1, 1, 1, 153600, 0xbe7c74a0
|
||||
0, 2, 2, 1, 153600, 0x9f2524ee
|
||||
0, 3, 3, 1, 153600, 0x3c8df375
|
||||
0, 4, 4, 1, 153600, 0xe0ac5d7d
|
||||
0, 5, 5, 1, 153600, 0xf0c6da50
|
||||
0, 6, 6, 1, 153600, 0xbd50751f
|
||||
0, 7, 7, 1, 153600, 0x51caf5f7
|
||||
0, 8, 8, 1, 153600, 0x27752d4f
|
||||
0, 9, 9, 1, 153600, 0x63a0d0dc
|
16
externals/ffmpeg/ffmpeg/tests/ref/fate/dpx-probe
vendored
16
externals/ffmpeg/ffmpeg/tests/ref/fate/dpx-probe
vendored
@@ -1,16 +0,0 @@
|
||||
[FRAME]
|
||||
sample_aspect_ratio=1:1
|
||||
color_range=pc
|
||||
color_space=gbr
|
||||
color_primaries=bt709
|
||||
color_transfer=unknown
|
||||
TAG:timecode=00:00:01:18
|
||||
TAG:Creator=Apple Compressor
|
||||
TAG:Input Device=
|
||||
[SIDE_DATA]
|
||||
side_data_type=SMPTE 12-1 timecode
|
||||
[TIMECODE]
|
||||
value=00:00:01:18
|
||||
[/TIMECODE]
|
||||
[/SIDE_DATA]
|
||||
[/FRAME]
|
@@ -1,6 +0,0 @@
|
||||
#tb 0: 1/25
|
||||
#media_type 0: video
|
||||
#codec_id 0: rawvideo
|
||||
#dimensions 0: 50x50
|
||||
#sar 0: 1/1
|
||||
0, 0, 0, 1, 30000, 0x947ce379
|
@@ -1,6 +0,0 @@
|
||||
#tb 0: 1/25
|
||||
#media_type 0: video
|
||||
#codec_id 0: rawvideo
|
||||
#dimensions 0: 50x50
|
||||
#sar 0: 1/1
|
||||
0, 0, 0, 1, 30000, 0xb329ee9c
|
@@ -1,6 +0,0 @@
|
||||
#tb 0: 1/25
|
||||
#media_type 0: video
|
||||
#codec_id 0: rawvideo
|
||||
#dimensions 0: 50x50
|
||||
#sar 0: 1/1
|
||||
0, 0, 0, 1, 30000, 0xb329ee9c
|
@@ -1,6 +0,0 @@
|
||||
#tb 0: 1/25
|
||||
#media_type 0: video
|
||||
#codec_id 0: rawvideo
|
||||
#dimensions 0: 501x401
|
||||
#sar 0: 1/1
|
||||
0, 0, 0, 1, 2410812, 0x00000000
|
@@ -1,6 +0,0 @@
|
||||
#tb 0: 1/25
|
||||
#media_type 0: video
|
||||
#codec_id 0: rawvideo
|
||||
#dimensions 0: 50x50
|
||||
#sar 0: 1/1
|
||||
0, 0, 0, 1, 15000, 0xeeacd171
|
@@ -1,6 +0,0 @@
|
||||
#tb 0: 1/25
|
||||
#media_type 0: video
|
||||
#codec_id 0: rawvideo
|
||||
#dimensions 0: 256x256
|
||||
#sar 0: 1/1
|
||||
0, 0, 0, 1, 786432, 0x1445e411
|
@@ -1,6 +0,0 @@
|
||||
#tb 0: 1/25
|
||||
#media_type 0: video
|
||||
#codec_id 0: rawvideo
|
||||
#dimensions 0: 50x50
|
||||
#sar 0: 1/1
|
||||
0, 0, 0, 1, 30000, 0xb329ee9c
|
@@ -1,6 +0,0 @@
|
||||
#tb 0: 1/25
|
||||
#media_type 0: video
|
||||
#codec_id 0: rawvideo
|
||||
#dimensions 0: 501x401
|
||||
#sar 0: 1/1
|
||||
0, 0, 0, 1, 2410812, 0x2dd1b00b
|
@@ -1,6 +0,0 @@
|
||||
#tb 0: 1/25
|
||||
#media_type 0: video
|
||||
#codec_id 0: rawvideo
|
||||
#dimensions 0: 501x401
|
||||
#sar 0: 1/1
|
||||
0, 0, 0, 1, 2410812, 0x00000000
|
@@ -1,6 +0,0 @@
|
||||
#tb 0: 1/25
|
||||
#media_type 0: video
|
||||
#codec_id 0: rawvideo
|
||||
#dimensions 0: 50x50
|
||||
#sar 0: 1/1
|
||||
0, 0, 0, 1, 15000, 0xeeacd171
|
@@ -1,6 +0,0 @@
|
||||
#tb 0: 1/25
|
||||
#media_type 0: video
|
||||
#codec_id 0: rawvideo
|
||||
#dimensions 0: 12x8
|
||||
#sar 0: 1/1
|
||||
0, 0, 0, 1, 1536, 0x9473ee5c
|
@@ -1,8 +0,0 @@
|
||||
#tb 0: 1/25
|
||||
#media_type 0: video
|
||||
#codec_id 0: rawvideo
|
||||
#dimensions 0: 352x288
|
||||
#sar 0: 0/1
|
||||
0, 0, 0, 1, 304128, 0x29a6ca86
|
||||
0, 1, 1, 1, 304128, 0x82950e6f
|
||||
0, 2, 2, 1, 304128, 0x8363d1d8
|
@@ -1,8 +0,0 @@
|
||||
#tb 0: 1/25
|
||||
#media_type 0: video
|
||||
#codec_id 0: rawvideo
|
||||
#dimensions 0: 352x288
|
||||
#sar 0: 0/1
|
||||
0, 0, 0, 1, 405504, 0x11108b36
|
||||
0, 1, 1, 1, 405504, 0x9d5f7c2a
|
||||
0, 2, 2, 1, 405504, 0x25373098
|
@@ -1 +0,0 @@
|
||||
pixdesc-x2rgb10le 98d697ed4668daf535163d5e08c903bb
|
@@ -1,25 +0,0 @@
|
||||
#tb 0: 1/2
|
||||
#media_type 0: video
|
||||
#codec_id 0: rawvideo
|
||||
#dimensions 0: 320x240
|
||||
#sar 0: 1/1
|
||||
0, 0, 0, 1, 230400, 0x091f3ed7
|
||||
0, 1, 1, 1, 230400, 0x4151292d
|
||||
0, 2, 2, 1, 230400, 0xe7066e96
|
||||
0, 3, 3, 1, 230400, 0x57c20d15
|
||||
0, 4, 4, 1, 230400, 0x01269a37
|
||||
0, 5, 5, 1, 230400, 0xb2b04e5c
|
||||
0, 6, 6, 1, 230400, 0x98fc479f
|
||||
0, 7, 7, 1, 230400, 0x561915bb
|
||||
0, 8, 8, 1, 230400, 0xd60c45f7
|
||||
0, 9, 9, 1, 230400, 0x747d8a28
|
||||
0, 10, 10, 1, 230400, 0x92505d36
|
||||
0, 11, 11, 1, 230400, 0x9476af1f
|
||||
0, 12, 12, 1, 230400, 0x1382c3d0
|
||||
0, 13, 13, 1, 230400, 0x94ea40bd
|
||||
0, 14, 14, 1, 230400, 0x8d46229a
|
||||
0, 15, 15, 1, 230400, 0xe5736654
|
||||
0, 16, 16, 1, 230400, 0x04bd4db2
|
||||
0, 17, 17, 1, 230400, 0x4d721ad2
|
||||
0, 18, 18, 1, 230400, 0xebe151a2
|
||||
0, 19, 19, 1, 230400, 0xa1263f01
|
@@ -1,62 +0,0 @@
|
||||
[FRAME]
|
||||
[SIDE_DATA]
|
||||
side_data_type=Mastering display metadata
|
||||
red_x=13250/50000
|
||||
red_y=34500/50000
|
||||
green_x=7500/50000
|
||||
green_y=3000/50000
|
||||
blue_x=34000/50000
|
||||
blue_y=16000/50000
|
||||
white_point_x=15635/50000
|
||||
white_point_y=16450/50000
|
||||
min_luminance=50/10000
|
||||
max_luminance=10000000/10000
|
||||
[/SIDE_DATA]
|
||||
[SIDE_DATA]
|
||||
side_data_type=Content light level metadata
|
||||
max_content=1000
|
||||
max_average=200
|
||||
[/SIDE_DATA]
|
||||
[SIDE_DATA]
|
||||
side_data_type=HDR Dynamic Metadata SMPTE2094-40 (HDR10+)
|
||||
application version=1
|
||||
num_windows=1
|
||||
targeted_system_display_maximum_luminance=400/1
|
||||
maxscl=3340/100000
|
||||
maxscl=2870/100000
|
||||
maxscl=2720/100000
|
||||
average_maxrgb=510/100000
|
||||
num_distribution_maxrgb_percentiles=9
|
||||
distribution_maxrgb_percentage=1
|
||||
distribution_maxrgb_percentile=30/100000
|
||||
distribution_maxrgb_percentage=5
|
||||
distribution_maxrgb_percentile=2940/100000
|
||||
distribution_maxrgb_percentage=10
|
||||
distribution_maxrgb_percentile=255/100000
|
||||
distribution_maxrgb_percentage=25
|
||||
distribution_maxrgb_percentile=70/100000
|
||||
distribution_maxrgb_percentage=50
|
||||
distribution_maxrgb_percentile=1340/100000
|
||||
distribution_maxrgb_percentage=75
|
||||
distribution_maxrgb_percentile=1600/100000
|
||||
distribution_maxrgb_percentage=90
|
||||
distribution_maxrgb_percentile=1850/100000
|
||||
distribution_maxrgb_percentage=95
|
||||
distribution_maxrgb_percentile=1950/100000
|
||||
distribution_maxrgb_percentage=99
|
||||
distribution_maxrgb_percentile=2940/100000
|
||||
fraction_bright_pixels=1/1000
|
||||
knee_point_x=0/4095
|
||||
knee_point_y=0/4095
|
||||
num_bezier_curve_anchors=9
|
||||
bezier_curve_anchors=102/1023
|
||||
bezier_curve_anchors=205/1023
|
||||
bezier_curve_anchors=307/1023
|
||||
bezier_curve_anchors=410/1023
|
||||
bezier_curve_anchors=512/1023
|
||||
bezier_curve_anchors=614/1023
|
||||
bezier_curve_anchors=717/1023
|
||||
bezier_curve_anchors=819/1023
|
||||
bezier_curve_anchors=922/1023
|
||||
[/SIDE_DATA]
|
||||
[/FRAME]
|
@@ -1,6 +0,0 @@
|
||||
#tb 0: 1/50
|
||||
#media_type 0: video
|
||||
#codec_id 0: rawvideo
|
||||
#dimensions 0: 3840x2160
|
||||
#sar 0: 1/1
|
||||
0, 11, 11, 1, 33177600, 0x53015e18
|
@@ -1,8 +0,0 @@
|
||||
[STREAM]
|
||||
codec_name=ac3
|
||||
sample_fmt=fltp
|
||||
channels=6
|
||||
channel_layout=5.1(side)
|
||||
[SIDE_DATA]
|
||||
[/SIDE_DATA]
|
||||
[/STREAM]
|
21
externals/ffmpeg/ffmpeg/tests/ref/fate/lscr
vendored
21
externals/ffmpeg/ffmpeg/tests/ref/fate/lscr
vendored
@@ -1,21 +0,0 @@
|
||||
#tb 0: 100/2397
|
||||
#media_type 0: video
|
||||
#codec_id 0: rawvideo
|
||||
#dimensions 0: 320x240
|
||||
#sar 0: 0/1
|
||||
0, 0, 0, 1, 230400, 0x07c93bd9
|
||||
0, 1, 1, 1, 230400, 0xdcacc274
|
||||
0, 2, 2, 1, 230400, 0x6115dc34
|
||||
0, 3, 3, 1, 230400, 0x7317f35c
|
||||
0, 4, 4, 1, 230400, 0xca18d9a6
|
||||
0, 5, 5, 1, 230400, 0x0c104d49
|
||||
0, 6, 6, 1, 230400, 0xc4c415cf
|
||||
0, 7, 7, 1, 230400, 0xd1e4149f
|
||||
0, 8, 8, 1, 230400, 0x5973ae25
|
||||
0, 9, 9, 1, 230400, 0xd77893e6
|
||||
0, 10, 10, 1, 230400, 0x7f9cac97
|
||||
0, 11, 11, 1, 230400, 0xc8f81940
|
||||
0, 12, 12, 1, 230400, 0xa2b6f5d4
|
||||
0, 13, 13, 1, 230400, 0x620c3222
|
||||
0, 14, 14, 1, 230400, 0x60d097a0
|
||||
0, 15, 15, 1, 230400, 0x47201c65
|
@@ -1,97 +0,0 @@
|
||||
542ababe5c088ab925ee49373d8b8a85 *tests/data/fate/matroska-mastering-display-metadata.matroska
|
||||
1669695 tests/data/fate/matroska-mastering-display-metadata.matroska
|
||||
#extradata 0: 4, 0x040901a3
|
||||
#extradata 3: 200, 0x506463a8
|
||||
#tb 0: 1/1000
|
||||
#media_type 0: video
|
||||
#codec_id 0: prores
|
||||
#dimensions 0: 1280x720
|
||||
#sar 0: 1/1
|
||||
#tb 1: 1/1000
|
||||
#media_type 1: audio
|
||||
#codec_id 1: pcm_s24le
|
||||
#sample_rate 1: 48000
|
||||
#channel_layout 1: 4
|
||||
#channel_layout_name 1: mono
|
||||
#tb 2: 1/1000
|
||||
#media_type 2: audio
|
||||
#codec_id 2: pcm_s16be
|
||||
#sample_rate 2: 48000
|
||||
#channel_layout 2: 4
|
||||
#channel_layout_name 2: mono
|
||||
#tb 3: 1/1000
|
||||
#media_type 3: video
|
||||
#codec_id 3: ffv1
|
||||
#dimensions 3: 1280x720
|
||||
#sar 3: 1/1
|
||||
0, 0, 0, 16, 57008, 0x43416399, S=2, 8, 0x08e5014f, 88, 0xd65a04db
|
||||
1, 0, 0, 16, 2403, 0xaa818522
|
||||
3, 0, 0, 16, 274117, 0xc439610f, S=2, 8, 0x08e5014f, 88, 0xd65a04db
|
||||
0, 17, 17, 16, 57248, 0xa06cd7b5
|
||||
1, 17, 17, 16, 2403, 0xe1a991e5
|
||||
2, 17, 17, 16, 1602, 0x5d868171
|
||||
3, 17, 17, 16, 273691, 0x5a3b88a5, F=0x0
|
||||
0, 33, 33, 16, 57200, 0x5623da10
|
||||
1, 33, 33, 16, 2400, 0x6650907f
|
||||
2, 33, 33, 16, 1600, 0xa90f0044
|
||||
3, 33, 33, 16, 272987, 0x48c443e7, F=0x0
|
||||
0, 50, 50, 16, 57152, 0x52d89d3f
|
||||
1, 50, 50, 16, 2403, 0x43398a08
|
||||
2, 50, 50, 16, 1602, 0x3a350084
|
||||
3, 50, 50, 16, 271465, 0x251b9cbe, F=0x0
|
||||
0, 67, 67, 16, 56960, 0x431d5189
|
||||
1, 67, 67, 16, 2403, 0x61cd96cb
|
||||
2, 67, 67, 16, 1602, 0xd74800c6
|
||||
3, 67, 67, 16, 270800, 0x8fb2e217, F=0x0
|
||||
[STREAM]
|
||||
index=0
|
||||
codec_name=prores
|
||||
[SIDE_DATA]
|
||||
side_data_type=Content light level metadata
|
||||
max_content=1000
|
||||
max_average=100
|
||||
[/SIDE_DATA]
|
||||
[SIDE_DATA]
|
||||
side_data_type=Mastering display metadata
|
||||
red_x=17/25
|
||||
red_y=8/25
|
||||
green_x=53/200
|
||||
green_y=69/100
|
||||
blue_x=3/20
|
||||
blue_y=3/50
|
||||
white_point_x=3127/10000
|
||||
white_point_y=329/1000
|
||||
min_luminance=0/1
|
||||
max_luminance=1000/1
|
||||
[/SIDE_DATA]
|
||||
[/STREAM]
|
||||
[STREAM]
|
||||
index=1
|
||||
codec_name=pcm_s24le
|
||||
[/STREAM]
|
||||
[STREAM]
|
||||
index=2
|
||||
codec_name=pcm_s16be
|
||||
[/STREAM]
|
||||
[STREAM]
|
||||
index=3
|
||||
codec_name=ffv1
|
||||
[SIDE_DATA]
|
||||
side_data_type=Content light level metadata
|
||||
max_content=1000
|
||||
max_average=100
|
||||
[/SIDE_DATA]
|
||||
[SIDE_DATA]
|
||||
side_data_type=Mastering display metadata
|
||||
red_x=17/25
|
||||
red_y=8/25
|
||||
green_x=53/200
|
||||
green_y=69/100
|
||||
blue_x=3/20
|
||||
blue_y=3/50
|
||||
white_point_x=3127/10000
|
||||
white_point_y=329/1000
|
||||
min_luminance=0/1
|
||||
max_luminance=1000/1
|
||||
[/SIDE_DATA]
|
||||
[/STREAM]
|
@@ -1,52 +0,0 @@
|
||||
4e6253c1f5f96ff64ae855dea426547d *tests/data/fate/matroska-mpegts-remux.matroska
|
||||
6509 tests/data/fate/matroska-mpegts-remux.matroska
|
||||
#tb 0: 1/1000
|
||||
#media_type 0: audio
|
||||
#codec_id 0: ac3
|
||||
#sample_rate 0: 48000
|
||||
#channel_layout 0: 3
|
||||
#channel_layout_name 0: stereo
|
||||
#tb 1: 1/1000
|
||||
#media_type 1: audio
|
||||
#codec_id 1: ac3
|
||||
#sample_rate 1: 48000
|
||||
#channel_layout 1: 3
|
||||
#channel_layout_name 1: stereo
|
||||
0, 0, 0, 32, 768, 0xa63778d4
|
||||
1, 0, 0, 32, 768, 0xa63778d4
|
||||
0, 32, 32, 32, 768, 0x7d577f3f
|
||||
1, 32, 32, 32, 768, 0x7d577f3f
|
||||
0, 64, 64, 32, 768, 0xd86b7c8f
|
||||
1, 64, 64, 32, 768, 0xd86b7c8f
|
||||
0, 96, 96, 32, 626, 0x09f4382f
|
||||
1, 96, 96, 32, 626, 0x09f4382f
|
||||
[STREAM]
|
||||
index=0
|
||||
DISPOSITION:default=1
|
||||
DISPOSITION:dub=0
|
||||
DISPOSITION:original=0
|
||||
DISPOSITION:comment=0
|
||||
DISPOSITION:lyrics=0
|
||||
DISPOSITION:karaoke=0
|
||||
DISPOSITION:forced=0
|
||||
DISPOSITION:hearing_impaired=0
|
||||
DISPOSITION:visual_impaired=1
|
||||
DISPOSITION:clean_effects=0
|
||||
DISPOSITION:attached_pic=0
|
||||
DISPOSITION:timed_thumbnails=0
|
||||
[/STREAM]
|
||||
[STREAM]
|
||||
index=1
|
||||
DISPOSITION:default=0
|
||||
DISPOSITION:dub=0
|
||||
DISPOSITION:original=0
|
||||
DISPOSITION:comment=0
|
||||
DISPOSITION:lyrics=0
|
||||
DISPOSITION:karaoke=0
|
||||
DISPOSITION:forced=0
|
||||
DISPOSITION:hearing_impaired=1
|
||||
DISPOSITION:visual_impaired=0
|
||||
DISPOSITION:clean_effects=0
|
||||
DISPOSITION:attached_pic=0
|
||||
DISPOSITION:timed_thumbnails=0
|
||||
[/STREAM]
|
@@ -1,66 +0,0 @@
|
||||
9176856edc1ff2b401e323f422fd8e78 *tests/data/fate/matroska-spherical-mono-remux.matroska
|
||||
161583 tests/data/fate/matroska-spherical-mono-remux.matroska
|
||||
#extradata 0: 43, 0x2b0e0d7b
|
||||
#extradata 1: 43, 0x2b0e0d7b
|
||||
#tb 0: 1/1000
|
||||
#media_type 0: video
|
||||
#codec_id 0: h264
|
||||
#dimensions 0: 1920x1080
|
||||
#sar 0: 0/1
|
||||
#tb 1: 1/1000
|
||||
#media_type 1: video
|
||||
#codec_id 1: h264
|
||||
#dimensions 1: 1920x1080
|
||||
#sar 1: 0/1
|
||||
0, -80, 0, 40, 69118, 0x73cb52f0, S=2, 12, 0x00000000, 36, 0x2cf8035c
|
||||
1, -80, 0, 40, 69118, 0x73cb52f0, S=2, 12, 0x00000000, 36, 0x2cf8035c
|
||||
0, -40, 160, 40, 1103, 0x082a059f, F=0x0
|
||||
1, -40, 160, 40, 1103, 0x082a059f, F=0x0
|
||||
[STREAM]
|
||||
color_range=unknown
|
||||
color_space=unknown
|
||||
color_transfer=unknown
|
||||
color_primaries=unknown
|
||||
DISPOSITION:default=0
|
||||
DISPOSITION:forced=1
|
||||
[SIDE_DATA]
|
||||
side_data_type=Stereo 3D
|
||||
type=2D
|
||||
inverted=0
|
||||
[/SIDE_DATA]
|
||||
[SIDE_DATA]
|
||||
side_data_type=Spherical Mapping
|
||||
projection=tiled equirectangular
|
||||
bound_left=148
|
||||
bound_top=73
|
||||
bound_right=147
|
||||
bound_bottom=72
|
||||
yaw=45
|
||||
pitch=30
|
||||
roll=15
|
||||
[/SIDE_DATA]
|
||||
[/STREAM]
|
||||
[STREAM]
|
||||
color_range=pc
|
||||
color_space=bt2020c
|
||||
color_transfer=smpte170m
|
||||
color_primaries=bt709
|
||||
DISPOSITION:default=0
|
||||
DISPOSITION:forced=0
|
||||
[SIDE_DATA]
|
||||
side_data_type=Stereo 3D
|
||||
type=2D
|
||||
inverted=0
|
||||
[/SIDE_DATA]
|
||||
[SIDE_DATA]
|
||||
side_data_type=Spherical Mapping
|
||||
projection=tiled equirectangular
|
||||
bound_left=148
|
||||
bound_top=73
|
||||
bound_right=147
|
||||
bound_bottom=72
|
||||
yaw=45
|
||||
pitch=30
|
||||
roll=15
|
||||
[/SIDE_DATA]
|
||||
[/STREAM]
|
@@ -1,33 +0,0 @@
|
||||
d06be833da8e8d9d00bf334e0dfe8a58 *tests/data/fate/matroska-vp8-alpha-remux.matroska
|
||||
237192 tests/data/fate/matroska-vp8-alpha-remux.matroska
|
||||
#tb 0: 1/1000
|
||||
#media_type 0: video
|
||||
#codec_id 0: vp8
|
||||
#dimensions 0: 320x213
|
||||
#sar 0: 1/1
|
||||
0, 0, 0, 33, 2108, 0x59b92a34, S=2, 1900, 0x8fb3adc5, 12, 0x00000000
|
||||
0, 32, 32, 33, 142, 0x2f2a3fed, F=0x0, S=1, 160, 0xa13346af
|
||||
0, 65, 65, 33, 157, 0x17804767, F=0x0, S=1, 209, 0x64115f15
|
||||
0, 99, 99, 33, 206, 0x537262ca, F=0x0, S=1, 317, 0x44a09dd0
|
||||
0, 132, 132, 33, 259, 0x73ff74b6, F=0x0, S=1, 384, 0x2ee2c588
|
||||
0, 165, 165, 33, 320, 0x0fcf8ce4, F=0x0, S=1, 415, 0xff68c953
|
||||
0, 199, 199, 33, 377, 0x8fffb5f5, F=0x0, S=1, 475, 0x4166f3eb
|
||||
[STREAM]
|
||||
DISPOSITION:default=1
|
||||
DISPOSITION:dub=0
|
||||
DISPOSITION:original=0
|
||||
DISPOSITION:comment=0
|
||||
DISPOSITION:lyrics=0
|
||||
DISPOSITION:karaoke=0
|
||||
DISPOSITION:forced=0
|
||||
DISPOSITION:hearing_impaired=1
|
||||
DISPOSITION:visual_impaired=0
|
||||
DISPOSITION:clean_effects=0
|
||||
DISPOSITION:attached_pic=0
|
||||
DISPOSITION:timed_thumbnails=0
|
||||
[SIDE_DATA]
|
||||
side_data_type=Stereo 3D
|
||||
type=2D
|
||||
inverted=0
|
||||
[/SIDE_DATA]
|
||||
[/STREAM]
|
@@ -1,10 +0,0 @@
|
||||
ba78b3e846d57002711bc481fa806717 *tests/data/fate/matroska-zero-length-block.matroska
|
||||
643 tests/data/fate/matroska-zero-length-block.matroska
|
||||
#tb 0: 1/1000
|
||||
#media_type 0: subtitle
|
||||
#codec_id 0: subrip
|
||||
0, 1000, 1000, 2000, 5, 0x05b801df
|
||||
0, 3300, 3300, 3700, 16, 0x300705b2
|
||||
[STREAM]
|
||||
TAG:DESCRIPTION=This track uses header removal compression and has a Block of size zero before reversing it.
|
||||
[/STREAM]
|
@@ -1 +0,0 @@
|
||||
packet|codec_type=video|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=1001|duration_time=0.033367|size=14798|pos=16|flags=K_
|
@@ -1,166 +0,0 @@
|
||||
[STREAM]
|
||||
index=0
|
||||
codec_name=prores
|
||||
profile=0
|
||||
codec_type=video
|
||||
codec_tag_string=apco
|
||||
codec_tag=0x6f637061
|
||||
width=1280
|
||||
height=720
|
||||
coded_width=1280
|
||||
coded_height=720
|
||||
closed_captions=0
|
||||
has_b_frames=0
|
||||
sample_aspect_ratio=1:1
|
||||
display_aspect_ratio=16:9
|
||||
pix_fmt=yuv422p10
|
||||
level=-99
|
||||
color_range=tv
|
||||
color_space=bt2020nc
|
||||
color_transfer=smpte2084
|
||||
color_primaries=bt2020
|
||||
chroma_location=unspecified
|
||||
field_order=progressive
|
||||
refs=1
|
||||
id=N/A
|
||||
r_frame_rate=60000/1001
|
||||
avg_frame_rate=0/0
|
||||
time_base=1001/60000
|
||||
start_pts=0
|
||||
start_time=0.000000
|
||||
duration_ts=5
|
||||
duration=0.083417
|
||||
bit_rate=N/A
|
||||
max_bit_rate=N/A
|
||||
bits_per_raw_sample=10
|
||||
nb_frames=N/A
|
||||
nb_read_frames=N/A
|
||||
nb_read_packets=N/A
|
||||
DISPOSITION:default=0
|
||||
DISPOSITION:dub=0
|
||||
DISPOSITION:original=0
|
||||
DISPOSITION:comment=0
|
||||
DISPOSITION:lyrics=0
|
||||
DISPOSITION:karaoke=0
|
||||
DISPOSITION:forced=0
|
||||
DISPOSITION:hearing_impaired=0
|
||||
DISPOSITION:visual_impaired=0
|
||||
DISPOSITION:clean_effects=0
|
||||
DISPOSITION:attached_pic=0
|
||||
DISPOSITION:timed_thumbnails=0
|
||||
TAG:file_package_umid=0x060A2B340101010501010D201300000040ECCE167353449C92D6F2693A9F1D75
|
||||
[SIDE_DATA]
|
||||
side_data_type=Mastering display metadata
|
||||
red_x=34000/50000
|
||||
red_y=16000/50000
|
||||
green_x=13250/50000
|
||||
green_y=34500/50000
|
||||
blue_x=7500/50000
|
||||
blue_y=3000/50000
|
||||
white_point_x=15635/50000
|
||||
white_point_y=16450/50000
|
||||
min_luminance=0/10000
|
||||
max_luminance=10000000/10000
|
||||
[/SIDE_DATA]
|
||||
[SIDE_DATA]
|
||||
side_data_type=Content light level metadata
|
||||
max_content=1000
|
||||
max_average=100
|
||||
[/SIDE_DATA]
|
||||
[/STREAM]
|
||||
[STREAM]
|
||||
index=1
|
||||
codec_name=pcm_s24le
|
||||
profile=unknown
|
||||
codec_type=audio
|
||||
codec_tag_string=[0][0][0][0]
|
||||
codec_tag=0x0000
|
||||
sample_fmt=s32
|
||||
sample_rate=48000
|
||||
channels=1
|
||||
channel_layout=unknown
|
||||
bits_per_sample=24
|
||||
id=N/A
|
||||
r_frame_rate=0/0
|
||||
avg_frame_rate=0/0
|
||||
time_base=1/48000
|
||||
start_pts=0
|
||||
start_time=0.000000
|
||||
duration_ts=4004
|
||||
duration=0.083417
|
||||
bit_rate=1152000
|
||||
max_bit_rate=N/A
|
||||
bits_per_raw_sample=24
|
||||
nb_frames=N/A
|
||||
nb_read_frames=N/A
|
||||
nb_read_packets=N/A
|
||||
DISPOSITION:default=0
|
||||
DISPOSITION:dub=0
|
||||
DISPOSITION:original=0
|
||||
DISPOSITION:comment=0
|
||||
DISPOSITION:lyrics=0
|
||||
DISPOSITION:karaoke=0
|
||||
DISPOSITION:forced=0
|
||||
DISPOSITION:hearing_impaired=0
|
||||
DISPOSITION:visual_impaired=0
|
||||
DISPOSITION:clean_effects=0
|
||||
DISPOSITION:attached_pic=0
|
||||
DISPOSITION:timed_thumbnails=0
|
||||
TAG:file_package_umid=0x060A2B340101010501010D201300000040ECCE167353449C92D6F2693A9F1D75
|
||||
[/STREAM]
|
||||
[STREAM]
|
||||
index=2
|
||||
codec_name=pcm_s24le
|
||||
profile=unknown
|
||||
codec_type=audio
|
||||
codec_tag_string=[0][0][0][0]
|
||||
codec_tag=0x0000
|
||||
sample_fmt=s32
|
||||
sample_rate=48000
|
||||
channels=1
|
||||
channel_layout=unknown
|
||||
bits_per_sample=24
|
||||
id=N/A
|
||||
r_frame_rate=0/0
|
||||
avg_frame_rate=0/0
|
||||
time_base=1/48000
|
||||
start_pts=0
|
||||
start_time=0.000000
|
||||
duration_ts=4004
|
||||
duration=0.083417
|
||||
bit_rate=1152000
|
||||
max_bit_rate=N/A
|
||||
bits_per_raw_sample=24
|
||||
nb_frames=N/A
|
||||
nb_read_frames=N/A
|
||||
nb_read_packets=N/A
|
||||
DISPOSITION:default=0
|
||||
DISPOSITION:dub=0
|
||||
DISPOSITION:original=0
|
||||
DISPOSITION:comment=0
|
||||
DISPOSITION:lyrics=0
|
||||
DISPOSITION:karaoke=0
|
||||
DISPOSITION:forced=0
|
||||
DISPOSITION:hearing_impaired=0
|
||||
DISPOSITION:visual_impaired=0
|
||||
DISPOSITION:clean_effects=0
|
||||
DISPOSITION:attached_pic=0
|
||||
DISPOSITION:timed_thumbnails=0
|
||||
TAG:file_package_umid=0x060A2B340101010501010D201300000040ECCE167353449C92D6F2693A9F1D75
|
||||
[/STREAM]
|
||||
[FORMAT]
|
||||
format_name=mxf
|
||||
duration=0.083417
|
||||
bit_rate=30913698
|
||||
TAG:operational_pattern_ul=060e2b34.04010101.0d010201.01010900
|
||||
TAG:uid=0002475a-49e3-430b-85d9-3b35d180e3b5
|
||||
TAG:generation_uid=240f15ec-50ee-4285-83bf-7c17122fac0c
|
||||
TAG:company_name=Apple Inc.
|
||||
TAG:product_name=Compressor
|
||||
TAG:product_version=4.4.7 (4.4.7)
|
||||
TAG:product_uid=00000000-0000-0000-0000-000000000000
|
||||
TAG:modification_date=2020-09-08T16:18:57.036000Z
|
||||
TAG:toolkit_version_num=3.8.0.171.1
|
||||
TAG:material_package_umid=0x060A2B340101010501010D201300000045843C9FE69D4B8FA90DDAAA1602A2E8
|
||||
TAG:timecode=00:01:15;26
|
||||
[/FORMAT]
|
75
externals/ffmpeg/ffmpeg/tests/ref/fate/sub-dvb
vendored
75
externals/ffmpeg/ffmpeg/tests/ref/fate/sub-dvb
vendored
@@ -1,75 +0,0 @@
|
||||
#tb 0: 1/1000000
|
||||
#media_type 0: subtitle
|
||||
#codec_id 0: dvb_subtitle
|
||||
0, 15600000, 15600000, 159000, 1168, 0xd0f89d82
|
||||
0, 15759000, 15759000, 159000, 14, 0x064900eb
|
||||
0, 15760000, 15760000, 239000, 1544, 0xe60f1751
|
||||
0, 15999000, 15999000, 239000, 14, 0x0729010b
|
||||
0, 16000000, 16000000, 339000, 1658, 0xbe343093
|
||||
0, 16339000, 16339000, 339000, 14, 0x0809012b
|
||||
0, 16340000, 16340000, 599000, 2343, 0xc68f07ef
|
||||
0, 16939000, 16939000, 599000, 14, 0x08e9014b
|
||||
0, 16940000, 16940000, 459000, 2568, 0x0ee657b1
|
||||
0, 17399000, 17399000, 459000, 14, 0x09c9016b
|
||||
0, 17400000, 17400000, 359000, 3422, 0xba5b63ce
|
||||
0, 17759000, 17759000, 359000, 14, 0x0aa9018b
|
||||
0, 17760000, 17760000, 219000, 5078, 0x95b19902
|
||||
0, 17979000, 17979000, 219000, 14, 0x0b8901ab
|
||||
0, 17980000, 17980000, 959000, 5808, 0xc9717b89
|
||||
0, 18939000, 18939000, 959000, 14, 0x0c6901cb
|
||||
0, 18940000, 18940000, 219000, 6015, 0x0becbfac
|
||||
0, 19159000, 19159000, 219000, 14, 0x064900eb
|
||||
0, 19160000, 19160000, 259000, 6519, 0xfcd24d26
|
||||
0, 19419000, 19419000, 259000, 14, 0x0729010b
|
||||
0, 19420000, 19420000, 99000, 7061, 0xf0320408
|
||||
0, 19519000, 19519000, 99000, 14, 0x0809012b
|
||||
0, 19520000, 19520000, 219000, 4773, 0x66c93074
|
||||
0, 19739000, 19739000, 219000, 14, 0x08e9014b
|
||||
0, 19740000, 19740000, 219000, 5546, 0x06052c81
|
||||
0, 19959000, 19959000, 219000, 14, 0x09c9016b
|
||||
0, 19960000, 19960000, 239000, 5754, 0x904f7325
|
||||
0, 20199000, 20199000, 239000, 14, 0x0aa9018b
|
||||
0, 20200000, 20200000, 139000, 6099, 0xe30cde07
|
||||
0, 20339000, 20339000, 139000, 14, 0x0b8901ab
|
||||
0, 20340000, 20340000, 799000, 6839, 0x770fcb6c
|
||||
0, 21139000, 21139000, 799000, 14, 0x0c6901cb
|
||||
0, 21140000, 21140000, 239000, 4744, 0xa91e1b41
|
||||
0, 21379000, 21379000, 239000, 14, 0x064900eb
|
||||
0, 21380000, 21380000, 339000, 5824, 0xcf6d782b
|
||||
0, 21719000, 21719000, 339000, 14, 0x0729010b
|
||||
0, 21720000, 21720000, 1439000, 6212, 0xabf8f7cf
|
||||
0, 23159000, 23159000, 1439000, 14, 0x0809012b
|
||||
0, 23160000, 23160000, 1319000, 7082, 0xd7ca10f2
|
||||
0, 24479000, 24479000, 1319000, 14, 0x08e9014b
|
||||
0, 24480000, 24480000, 219000, 5345, 0x12b2cae0
|
||||
0, 24699000, 24699000, 219000, 14, 0x09c9016b
|
||||
0, 24700000, 24700000, 219000, 5765, 0xc7d46192
|
||||
0, 24919000, 24919000, 219000, 14, 0x0aa9018b
|
||||
0, 24920000, 24920000, 599000, 6557, 0xcb995d30
|
||||
0, 25519000, 25519000, 599000, 14, 0x0b8901ab
|
||||
0, 25520000, 25520000, 219000, 7091, 0xe6ea0559
|
||||
0, 25739000, 25739000, 219000, 14, 0x0c6901cb
|
||||
0, 25740000, 25740000, 239000, 7305, 0xb66c404e
|
||||
0, 25979000, 25979000, 239000, 14, 0x064900eb
|
||||
0, 25980000, 25980000, 359000, 7590, 0x0cc2a481
|
||||
0, 26339000, 26339000, 359000, 14, 0x0729010b
|
||||
0, 26340000, 26340000, 219000, 4629, 0xe18cfea8
|
||||
0, 26559000, 26559000, 219000, 14, 0x0809012b
|
||||
0, 26560000, 26560000, 719000, 4785, 0x82043fc0
|
||||
0, 27279000, 27279000, 719000, 14, 0x08e9014b
|
||||
0, 27280000, 27280000, 459000, 6061, 0xbde7d245
|
||||
0, 27739000, 27739000, 459000, 14, 0x09c9016b
|
||||
0, 27740000, 27740000, 239000, 6301, 0x92d01a51
|
||||
0, 27979000, 27979000, 239000, 14, 0x0aa9018b
|
||||
0, 27980000, 27980000, 99000, 6736, 0xbd25a134
|
||||
0, 28079000, 28079000, 99000, 14, 0x0b8901ab
|
||||
0, 28080000, 28080000, 219000, 7214, 0x7ef93c13
|
||||
0, 28299000, 28299000, 219000, 14, 0x0c6901cb
|
||||
0, 28300000, 28300000, 239000, 7366, 0x5bed7fcd
|
||||
0, 28539000, 28539000, 239000, 14, 0x064900eb
|
||||
0, 28540000, 28540000, 599000, 4564, 0x7f4c014b
|
||||
0, 29139000, 29139000, 599000, 14, 0x0729010b
|
||||
0, 29140000, 29140000, 219000, 4637, 0x682626b7
|
||||
0, 29359000, 29359000, 219000, 14, 0x0809012b
|
||||
0, 29360000, 29360000, 1679000, 5358, 0x29e30c48
|
||||
0, 31039000, 31039000, 1679000, 14, 0x08e9014b
|
122
externals/ffmpeg/ffmpeg/tests/ref/fate/sub-ttmlenc
vendored
122
externals/ffmpeg/ffmpeg/tests/ref/fate/sub-ttmlenc
vendored
@@ -1,122 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<tt
|
||||
xmlns="http://www.w3.org/ns/ttml"
|
||||
xmlns:ttm="http://www.w3.org/ns/ttml#metadata"
|
||||
xmlns:tts="http://www.w3.org/ns/ttml#styling"
|
||||
xml:lang="">
|
||||
<body>
|
||||
<div>
|
||||
<p
|
||||
begin="00:00:00.000"
|
||||
end="00:00:00.000">Don't show this text it may be used to insert hidden data</p>
|
||||
<p
|
||||
begin="00:00:01.500"
|
||||
end="00:00:04.500">SubRip subtitles capability tester 1.3o by ale5000<br/>Use VLC 1.1 or higher as reference for most things and MPC Home Cinema for others<br/>This text should be blue<br/>This text should be red<br/>This text should be black<br/>If you see this with the normal font, the player don't (fully) support font face</p>
|
||||
<p
|
||||
begin="00:00:04.500"
|
||||
end="00:00:04.500">Hidden</p>
|
||||
<p
|
||||
begin="00:00:04.501"
|
||||
end="00:00:07.500">This text should be small<br/>This text should be normal<br/>This text should be big</p>
|
||||
<p
|
||||
begin="00:00:07.501"
|
||||
end="00:00:11.500">This should be an E with an accent: È<br/>日本語<br/>This text should be bold, italics and underline<br/>This text should be small and green<br/>This text should be small and red<br/>This text should be big and brown</p>
|
||||
<p
|
||||
begin="00:00:11.501"
|
||||
end="00:00:14.500">This line should be bold<br/>This line should be italics<br/>This line should be underline<br/>This line should be strikethrough<br/>Both lines<br/>should be underline</p>
|
||||
<p
|
||||
begin="00:00:14.501"
|
||||
end="00:00:17.500">><br/>It would be a good thing to<br/>hide invalid html tags that are closed and show the text in them<br/>but show un-closed invalid html tags<br/>Show not opened tags<br/><</p>
|
||||
<p
|
||||
begin="00:00:17.501"
|
||||
end="00:00:20.500">and also<br/>hide invalid html tags with parameters that are closed and show the text in them<br/>but show un-closed invalid html tags<br/>This text should be showed underlined without problems also: 2<3,5>1,4<6<br/>This shouldn't be underlined</p>
|
||||
<p
|
||||
begin="00:00:20.501"
|
||||
end="00:00:21.500">This text should be in the normal position...</p>
|
||||
<p
|
||||
begin="00:00:21.501"
|
||||
end="00:00:22.500">This text should NOT be in the normal position</p>
|
||||
<p
|
||||
begin="00:00:22.501"
|
||||
end="00:00:24.500">Implementation is the same of the ASS tag<br/>This text should be at the<br/>top and horizontally centered</p>
|
||||
<p
|
||||
begin="00:00:22.501"
|
||||
end="00:00:24.500">This text should be at the<br/>middle and horizontally centered</p>
|
||||
<p
|
||||
begin="00:00:22.501"
|
||||
end="00:00:24.500">This text should be at the<br/>bottom and horizontally centered</p>
|
||||
<p
|
||||
begin="00:00:24.501"
|
||||
end="00:00:26.500">This text should be at the<br/>top and horizontally at the left</p>
|
||||
<p
|
||||
begin="00:00:24.501"
|
||||
end="00:00:26.500">This text should be at the<br/>middle and horizontally at the left<br/>(The second position must be ignored)</p>
|
||||
<p
|
||||
begin="00:00:24.501"
|
||||
end="00:00:26.500">This text should be at the<br/>bottom and horizontally at the left</p>
|
||||
<p
|
||||
begin="00:00:26.501"
|
||||
end="00:00:28.500">This text should be at the<br/>top and horizontally at the right</p>
|
||||
<p
|
||||
begin="00:00:26.501"
|
||||
end="00:00:28.500">This text should be at the<br/>middle and horizontally at the right</p>
|
||||
<p
|
||||
begin="00:00:26.501"
|
||||
end="00:00:28.500">This text should be at the<br/>bottom and horizontally at the right</p>
|
||||
<p
|
||||
begin="00:00:28.501"
|
||||
end="00:00:31.500">This could be the most difficult thing to implement</p>
|
||||
<p
|
||||
begin="00:00:31.501"
|
||||
end="00:00:50.500">First text</p>
|
||||
<p
|
||||
begin="00:00:33.500"
|
||||
end="00:00:35.500">Second, it shouldn't overlap first</p>
|
||||
<p
|
||||
begin="00:00:35.501"
|
||||
end="00:00:37.500">Third, it should replace second</p>
|
||||
<p
|
||||
begin="00:00:36.501"
|
||||
end="00:00:50.500">Fourth, it shouldn't overlap first and third</p>
|
||||
<p
|
||||
begin="00:00:40.501"
|
||||
end="00:00:45.500">Fifth, it should replace third</p>
|
||||
<p
|
||||
begin="00:00:45.501"
|
||||
end="00:00:50.500">Sixth, it shouldn't be<br/>showed overlapped</p>
|
||||
<p
|
||||
begin="00:00:50.501"
|
||||
end="00:00:52.500">TEXT 1 (bottom)</p>
|
||||
<p
|
||||
begin="00:00:50.501"
|
||||
end="00:00:52.500">text 2</p>
|
||||
<p
|
||||
begin="00:00:52.501"
|
||||
end="00:00:54.500">Hide these tags:<br/>also hide these tags:<br/>but show this: {normal text}</p>
|
||||
<p
|
||||
begin="00:00:54.501"
|
||||
end="00:01:00.500"><br/>\ N is a forced line break<br/>\ h is a hard space<br/>Normal spaces at the start and at the end of the line are trimmed while hard spaces are not trimmed.<br/>The\hline\hwill\hnever\hbreak\hautomatically\hright\hbefore\hor\hafter\ha\hhard\hspace.\h:-D</p>
|
||||
<p
|
||||
begin="00:00:54.501"
|
||||
end="00:00:56.500"><br/>\h\h\h\h\hA (05 hard spaces followed by a letter)<br/>A (Normal spaces followed by a letter)<br/>A (No hard spaces followed by a letter)</p>
|
||||
<p
|
||||
begin="00:00:56.501"
|
||||
end="00:00:58.500">\h\h\h\h\hA (05 hard spaces followed by a letter)<br/>A (Normal spaces followed by a letter)<br/>A (No hard spaces followed by a letter)<br/>Show this: \TEST and this: \-)</p>
|
||||
<p
|
||||
begin="00:00:58.501"
|
||||
end="00:01:00.500"><br/>A letter followed by 05 hard spaces: A\h\h\h\h\h<br/>A letter followed by normal spaces: A<br/>A letter followed by no hard spaces: A<br/>05 hard spaces between letters: A\h\h\h\h\hA<br/>5 normal spaces between letters: A A<br/><br/>^--Forced line break</p>
|
||||
<p
|
||||
begin="00:01:00.501"
|
||||
end="00:01:02.500">Both line should be strikethrough,<br/>yes.<br/>Correctly closed tags<br/>should be hidden.</p>
|
||||
<p
|
||||
begin="00:01:02.501"
|
||||
end="00:01:04.500">It shouldn't be strikethrough,<br/>not opened tag showed as text.<br/>Not opened tag showed as text.</p>
|
||||
<p
|
||||
begin="00:01:04.501"
|
||||
end="00:01:06.500">Three lines should be strikethrough,<br/>yes.<br/>Not closed tags showed as text</p>
|
||||
<p
|
||||
begin="00:01:06.501"
|
||||
end="00:01:08.500">Both line should be strikethrough but<br/>the wrong closing tag should be showed</p>
|
||||
</div>
|
||||
</body>
|
||||
</tt>
|
@@ -1,120 +0,0 @@
|
||||
gbrpf32le -> yuv444p16le -> gbrpf32le
|
||||
avg diff: 0.000125
|
||||
min diff: 0.000000
|
||||
max diff: 0.000501
|
||||
gbrpf32le -> yuv444p -> gbrpf32le
|
||||
avg diff: 0.001804
|
||||
min diff: 0.000000
|
||||
max diff: 0.006399
|
||||
gbrpf32le -> yuv444p9le -> gbrpf32le
|
||||
avg diff: 0.000906
|
||||
min diff: 0.000000
|
||||
max diff: 0.003313
|
||||
gbrpf32le -> yuv444p10le -> gbrpf32le
|
||||
avg diff: 0.000467
|
||||
min diff: 0.000000
|
||||
max diff: 0.001912
|
||||
gbrpf32le -> yuv444p12le -> gbrpf32le
|
||||
avg diff: 0.000166
|
||||
min diff: 0.000000
|
||||
max diff: 0.000802
|
||||
gbrpf32le -> yuv444p14le -> gbrpf32le
|
||||
avg diff: 0.000127
|
||||
min diff: 0.000000
|
||||
max diff: 0.000524
|
||||
gbrpf32le -> rgb24 -> gbrpf32le
|
||||
avg diff: 0.001011
|
||||
min diff: 0.000000
|
||||
max diff: 0.004229
|
||||
gbrpf32le -> bgr24 -> gbrpf32le
|
||||
avg diff: 0.001011
|
||||
min diff: 0.000000
|
||||
max diff: 0.004229
|
||||
gbrpf32le -> rgba -> gbrpf32le
|
||||
avg diff: 0.001011
|
||||
min diff: 0.000000
|
||||
max diff: 0.004229
|
||||
gbrpf32le -> bgra -> gbrpf32le
|
||||
avg diff: 0.001011
|
||||
min diff: 0.000000
|
||||
max diff: 0.004229
|
||||
gbrpf32le -> argb -> gbrpf32le
|
||||
avg diff: 0.001011
|
||||
min diff: 0.000000
|
||||
max diff: 0.004229
|
||||
gbrpf32le -> abgr -> gbrpf32le
|
||||
avg diff: 0.001011
|
||||
min diff: 0.000000
|
||||
max diff: 0.004229
|
||||
gbrpf32le -> 0rgb -> gbrpf32le
|
||||
avg diff: 0.001011
|
||||
min diff: 0.000000
|
||||
max diff: 0.004229
|
||||
gbrpf32le -> 0bgr -> gbrpf32le
|
||||
avg diff: 0.001011
|
||||
min diff: 0.000000
|
||||
max diff: 0.004229
|
||||
gbrpf32le -> rgb0 -> gbrpf32le
|
||||
avg diff: 0.001011
|
||||
min diff: 0.000000
|
||||
max diff: 0.004229
|
||||
gbrpf32le -> bgr0 -> gbrpf32le
|
||||
avg diff: 0.001011
|
||||
min diff: 0.000000
|
||||
max diff: 0.004229
|
||||
gbrpf32le -> rgb48le -> gbrpf32le
|
||||
avg diff: 0.000249
|
||||
min diff: 0.000000
|
||||
max diff: 0.000990
|
||||
gbrpf32le -> bgr48le -> gbrpf32le
|
||||
avg diff: 0.000249
|
||||
min diff: 0.000000
|
||||
max diff: 0.000990
|
||||
gbrpf32le -> rgba64le -> gbrpf32le
|
||||
avg diff: 0.000249
|
||||
min diff: 0.000000
|
||||
max diff: 0.000990
|
||||
gbrpf32le -> bgra64le -> gbrpf32le
|
||||
avg diff: 0.000249
|
||||
min diff: 0.000000
|
||||
max diff: 0.000990
|
||||
gbrpf32le -> gbrp -> gbrpf32le
|
||||
avg diff: 0.001011
|
||||
min diff: 0.000000
|
||||
max diff: 0.004229
|
||||
gbrpf32le -> gbrap -> gbrpf32le
|
||||
avg diff: 0.001011
|
||||
min diff: 0.000000
|
||||
max diff: 0.004229
|
||||
gbrpf32le -> gbrp9le -> gbrpf32le
|
||||
avg diff: 0.000545
|
||||
min diff: 0.000000
|
||||
max diff: 0.002245
|
||||
gbrpf32le -> gbrp10le -> gbrpf32le
|
||||
avg diff: 0.000350
|
||||
min diff: 0.000000
|
||||
max diff: 0.001475
|
||||
gbrpf32le -> gbrap10le -> gbrpf32le
|
||||
avg diff: 0.000350
|
||||
min diff: 0.000000
|
||||
max diff: 0.001475
|
||||
gbrpf32le -> gbrp12le -> gbrpf32le
|
||||
avg diff: 0.000260
|
||||
min diff: 0.000000
|
||||
max diff: 0.001135
|
||||
gbrpf32le -> gbrap12le -> gbrpf32le
|
||||
avg diff: 0.000260
|
||||
min diff: 0.000000
|
||||
max diff: 0.001135
|
||||
gbrpf32le -> gbrp14le -> gbrpf32le
|
||||
avg diff: 0.000253
|
||||
min diff: 0.000000
|
||||
max diff: 0.001068
|
||||
gbrpf32le -> gbrp16le -> gbrpf32le
|
||||
avg diff: 0.000249
|
||||
min diff: 0.000000
|
||||
max diff: 0.000990
|
||||
gbrpf32le -> gbrap16le -> gbrpf32le
|
||||
avg diff: 0.000249
|
||||
min diff: 0.000000
|
||||
max diff: 0.000990
|
@@ -1,45 +0,0 @@
|
||||
[CHAPTER]
|
||||
id=1
|
||||
time_base=1/48000
|
||||
start=148992
|
||||
start_time=3.104000
|
||||
end=226560
|
||||
end_time=4.720000
|
||||
TAG:title=01
|
||||
[/CHAPTER]
|
||||
[CHAPTER]
|
||||
id=2
|
||||
time_base=1/48000
|
||||
start=226560
|
||||
start_time=4.720000
|
||||
end=301728
|
||||
end_time=6.286000
|
||||
TAG:title=02
|
||||
[/CHAPTER]
|
||||
[CHAPTER]
|
||||
id=3
|
||||
time_base=1/48000
|
||||
start=301728
|
||||
start_time=6.286000
|
||||
end=314016
|
||||
end_time=6.542000
|
||||
TAG:title=03
|
||||
[/CHAPTER]
|
||||
[CHAPTER]
|
||||
id=4
|
||||
time_base=1/48000
|
||||
start=314016
|
||||
start_time=6.542000
|
||||
end=396528
|
||||
end_time=8.261000
|
||||
TAG:title=04
|
||||
[/CHAPTER]
|
||||
[CHAPTER]
|
||||
id=5
|
||||
time_base=1/48000
|
||||
start=396528
|
||||
start_time=8.261000
|
||||
end=614464
|
||||
end_time=12.801333
|
||||
TAG:title=05
|
||||
[/CHAPTER]
|
Reference in New Issue
Block a user