Go to the source code of this file.
|
#define | find_best_wrapper(name, list) |
|
#define | TEST(input, expected) test(input, expected, &pass, &fail, find_best_base) |
|
#define | TEST_SEMIPLANAR(input, expected) test(input, expected, &pass, &fail, find_best_seminplanar) |
|
#define | TEST_PACKED(input, expected) test(input, expected, &pass, &fail, find_best_packed) |
|
#define | TEST_SUBSAMPLED(input, expected) test(input, expected, &pass, &fail, find_best_subsampled) |
|
#define | TEST_DEPTH_CHROMA(input, expected) test(input, expected, &pass, &fail, find_best_depthchroma) |
|
◆ find_best_wrapper
#define find_best_wrapper |
( |
|
name, |
|
|
|
list |
|
) |
| |
◆ TEST
◆ TEST_SEMIPLANAR
#define TEST_SEMIPLANAR |
( |
|
input, |
|
|
|
expected |
|
) |
| test(input, expected, &pass, &fail, find_best_seminplanar) |
◆ TEST_PACKED
#define TEST_PACKED |
( |
|
input, |
|
|
|
expected |
|
) |
| test(input, expected, &pass, &fail, find_best_packed) |
◆ TEST_SUBSAMPLED
#define TEST_SUBSAMPLED |
( |
|
input, |
|
|
|
expected |
|
) |
| test(input, expected, &pass, &fail, find_best_subsampled) |
◆ TEST_DEPTH_CHROMA
#define TEST_DEPTH_CHROMA |
( |
|
input, |
|
|
|
expected |
|
) |
| test(input, expected, &pass, &fail, find_best_depthchroma) |
◆ find_best_t
◆ find_best_wrapper()
◆ main()
◆ pixfmt_list
◆ semiplanar_list
◆ packed_list
◆ subsampled_list
◆ depthchroma_list
AVPixelFormat
Pixel format.
it s the only field you need to keep assuming you have a context There is some magic you don t need to care about around this just let it vf default minimum maximum flags name is the option name
@ AV_PIX_FMT_MONOWHITE
Y , 1bpp, 0 is white, 1 is black, in each byte pixels are ordered from the msb to the lsb.
#define AV_PIX_FMT_YUV420P10
#define AV_PIX_FMT_GRAY16
#define AV_PIX_FMT_YUV444P10
#define FF_ARRAY_ELEMS(a)
#define AV_PIX_FMT_YUV422P16
#define AV_PIX_FMT_YUV444P16
#define AV_PIX_FMT_YUV420P16
@ AV_PIX_FMT_YUV420P
planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples)
#define AV_PIX_FMT_GRAY10
@ AV_PIX_FMT_YUYV422
packed YUV 4:2:2, 16bpp, Y0 Cb Y1 Cr
Filter the word “frame” indicates either a video frame or a group of audio as stored in an AVFrame structure Format for each input and each output the list of supported formats For video that means pixel format For audio that means channel sample they are references to shared objects When the negotiation mechanism computes the intersection of the formats supported at each end of a all references to both lists are replaced with a reference to the intersection And when a single format is eventually chosen for a link amongst the remaining list
#define AV_PIX_FMT_YUV422P10
@ AV_PIX_FMT_GRAY8
Y , 8bpp.
@ AV_PIX_FMT_RGB24
packed RGB 8:8:8, 24bpp, RGBRGB...
@ AV_PIX_FMT_VAAPI
Hardware acceleration through VA-API, data[3] contains a VASurfaceID.
@ AV_PIX_FMT_VDPAU
HW acceleration through VDPAU, Picture.data[3] contains a VdpVideoSurface.
#define i(width, name, range_min, range_max)
#define AV_PIX_FMT_RGB565
enum AVPixelFormat pixfmt
@ AV_PIX_FMT_NV12
planar YUV 4:2:0, 12bpp, 1 plane for Y and 1 plane for the UV components, which are interleaved (firs...
#define AV_PIX_FMT_YUV422P14
enum AVPixelFormat av_find_best_pix_fmt_of_2(enum AVPixelFormat dst_pix_fmt1, enum AVPixelFormat dst_pix_fmt2, enum AVPixelFormat src_pix_fmt, int has_alpha, int *loss_ptr)
Compute what kind of losses will occur when converting from one specific pixel format to another.
@ AV_PIX_FMT_YUV444P
planar YUV 4:4:4, 24bpp, (1 Cr & Cb sample per 1x1 Y samples)
@ AV_PIX_FMT_YUV422P
planar YUV 4:2:2, 16bpp, (1 Cr & Cb sample per 2x1 Y samples)
@ AV_PIX_FMT_YUV411P
planar YUV 4:1:1, 12bpp, (1 Cr & Cb sample per 4x1 Y samples)
@ AV_PIX_FMT_VUYX
packed VUYX 4:4:4:4, 32bpp, Variant of VUYA where alpha channel is left undefined
#define AV_PIX_FMT_YUV420P14