Home
last modified time | relevance | path

Searched refs:isGray (Results 1 – 9 of 9) sorted by relevance

/third_party/ffmpeg/libswscale/
Dvscale.c218 if (isPlanarYUV(c->dstFormat) || (isGray(c->dstFormat) && !isALPHA(c->dstFormat))) { in ff_init_vscale()
230 if (!isGray(c->dstFormat)) { in ff_init_vscale()
270 if (isPlanarYUV(c->dstFormat) || (isGray(c->dstFormat) && !isALPHA(c->dstFormat))) { in ff_init_vscale_pfn()
271 if (!isGray(c->dstFormat)) { in ff_init_vscale_pfn()
Dalphablend.c30 int plane_count = isGray(c->srcFormat) ? 1 : 3; in ff_sws_alphablendaway()
Dswscale.c579 if (!(isGray(srcFormat) || isGray(c->dstFormat) || in sws_init_swscale()
Dutils.c869 return !isYUV(format) && !isGray(format); in range_override_needed()
924 …if ((isYUV(c->dstFormat) || isGray(c->dstFormat)) && (isYUV(c->srcFormat) || isGray(c->srcFormat))… in sws_setColorspaceDetails()
992 if (!isYUV(c->dstFormat) && !isGray(c->dstFormat)) { in sws_setColorspaceDetails()
Dslice.c254 int num_vdesc = isPlanarYUV(c->dstFormat) && !isGray(c->dstFormat) ? 2 : 1; in ff_init_filters()
Dswscale_internal.h706 static av_always_inline int isGray(enum AVPixelFormat pix_fmt) in isGray() function
Dswscale_unscaled.c2204 #define isPlanarGray(x) (isGray(x) && (x) != AV_PIX_FMT_YA8 && (x) != AV_PIX_FMT_YA16LE && (x) != A… in ff_get_unscaled_swscale()
/third_party/ffmpeg/libswscale/tests/
Dpixdesc_query.c37 {"Gray", isGray},
Dswscale.c40 #define isGray(x) \ macro
48 (!(isGray(x) || \