Go to the documentation of this file.
54 const char *s1 = *(
const char **)
a;
55 const char *s2 = *(
const char **)
b;
56 return strcmp(s1, s2);
71 const char *pix_name = pix_desc->
name;
85 for (j = 0; j < nb_pix_fmts; j++)
static av_always_inline int isBayer(enum AVPixelFormat pix_fmt)
AVPixelFormat
Pixel format.
static av_always_inline int isPlanarRGB(enum AVPixelFormat pix_fmt)
static av_always_inline int isRGB(enum AVPixelFormat pix_fmt)
static av_always_inline int isPacked(enum AVPixelFormat pix_fmt)
const AVPixFmtDescriptor * av_pix_fmt_desc_next(const AVPixFmtDescriptor *prev)
Iterate over all pixel format descriptors known to libavutil.
#define AV_PIX_FMT_RGB32_1
static av_always_inline int is16BPS(enum AVPixelFormat pix_fmt)
static av_always_inline int isNBPS(enum AVPixelFormat pix_fmt)
#define FF_ARRAY_ELEMS(a)
static const struct @460 query_tab[]
static enum AVPixelFormat pix_fmt
static enum AVPixelFormat pix_fmts[]
#define AV_PIX_FMT_BGR32_1
static av_always_inline int isSemiPlanarYUV(enum AVPixelFormat pix_fmt)
static av_always_inline int isDataInHighBits(enum AVPixelFormat pix_fmt)
static av_always_inline int isBE(enum AVPixelFormat pix_fmt)
void av_dynarray_add(void *tab_ptr, int *nb_ptr, void *elem)
Add the pointer to an element to a dynamic array.
static av_always_inline int usePal(enum AVPixelFormat pix_fmt)
static av_always_inline int isAnyRGB(enum AVPixelFormat pix_fmt)
static av_always_inline int isYUV(enum AVPixelFormat pix_fmt)
printf("static const uint8_t my_array[100] = {\n")
static int cmp_str(const void *a, const void *b)
The reader does not expect b to be semantically here and if the code is changed by maybe adding a a division or other the signedness will almost certainly be mistaken To avoid this confusion a new type was SUINT is the C unsigned type but it holds a signed int to use the same example SUINT a
static av_always_inline int isBGRinInt(enum AVPixelFormat pix_fmt)
static av_always_inline int isSwappedChroma(enum AVPixelFormat pix_fmt)
enum AVPixelFormat av_pix_fmt_desc_get_id(const AVPixFmtDescriptor *desc)
#define i(width, name, range_min, range_max)
static av_always_inline int isPackedRGB(enum AVPixelFormat pix_fmt)
static av_always_inline int isPlanarYUV(enum AVPixelFormat pix_fmt)
Descriptor that unambiguously describes how the bits of a pixel are stored in the up to 4 data planes...
static av_always_inline int isRGBinInt(enum AVPixelFormat pix_fmt)
static av_always_inline int isPlanar(enum AVPixelFormat pix_fmt)
int(* cond)(enum AVPixelFormat pix_fmt)
static av_always_inline int isALPHA(enum AVPixelFormat pix_fmt)