Go to the source code of this file.
|
#define | TEST(input, expected) |
|
◆ TEST
#define TEST |
( |
|
input, |
|
|
|
expected |
|
) |
| |
Value:do { \
if (output != expected) { \
printf("Matching %s: got %s, expected %s\n", \
} else \
} while (0)
static enum AVPixelFormat find_best(enum AVPixelFormat pixfmt)
const char * av_get_pix_fmt_name(enum AVPixelFormat pix_fmt)
Return the short name for a pixel format, NULL in case pix_fmt is unknown.
Referenced by main().
◆ find_best()
◆ main()
◆ pixfmt_list
Initial value:= {
}
planar YUV 4:4:4, 24bpp, (1 Cr & Cb sample per 1x1 Y samples)
packed RGB 8:8:8, 24bpp, RGBRGB...
#define AV_PIX_FMT_GRAY10
#define AV_PIX_FMT_YUV444P16
#define AV_PIX_FMT_YUV444P10
planar YUV 4:2:2, 16bpp, (1 Cr & Cb sample per 2x1 Y samples)
#define AV_PIX_FMT_GRAY16
#define AV_PIX_FMT_YUV420P16
#define AV_PIX_FMT_YUV420P10
HW acceleration through VDPAU, Picture.data[3] contains a VdpVideoSurface.
#define AV_PIX_FMT_YUV422P10
planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples)
Y , 1bpp, 0 is white, 1 is black, in each byte pixels are ordered from the msb to the lsb...
#define AV_PIX_FMT_RGB565
#define AV_PIX_FMT_YUV422P16
Definition at line 21 of file pixfmt_best.c.
Referenced by find_best(), and main().