• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libswscale/

Lines Matching defs:srcFormat

305     const enum PixelFormat srcFormat = c->srcFormat;
313 if (srcFormat == PIX_FMT_Y400A) {
322 } else if (usePal(srcFormat)) {
335 sws_format_name(srcFormat), sws_format_name(dstFormat));
358 const enum PixelFormat srcFormat = c->srcFormat;
369 if (IS_NOT_NE(srcId, srcFormat) || IS_NOT_NE(dstId, dstFormat))
372 #define CONV_IS(src, dst) (srcFormat == PIX_FMT_##src && dstFormat == PIX_FMT_##dst)
374 if (isRGBA32(srcFormat) && isRGBA32(dstFormat)) {
389 if ((isBGRinInt(srcFormat) && isBGRinInt(dstFormat)) ||
390 (isRGBinInt(srcFormat) && isRGBinInt(dstFormat))) {
406 } else if ((isBGRinInt(srcFormat) && isRGBinInt(dstFormat)) ||
407 (isRGBinInt(srcFormat) && isBGRinInt(dstFormat))) {
437 const enum PixelFormat srcFormat = c->srcFormat;
445 sws_format_name(srcFormat), sws_format_name(dstFormat));
449 if ((srcFormat == PIX_FMT_RGB32_1 || srcFormat == PIX_FMT_BGR32_1) &&
454 !isRGBA32(srcFormat))
578 if (is9_OR_10BPS(c->srcFormat)) {
579 const int src_depth = av_pix_fmt_descriptors[c->srcFormat].comp[plane].depth_minus1 + 1;
595 if (isBE(c->srcFormat)) {
601 if (isBE(c->srcFormat)) {
629 if (isBE(c->srcFormat)) {
635 if (isBE(c->srcFormat)) {
653 if (isBE(c->srcFormat)) {
663 if (is16BPS(c->srcFormat)) {
676 if (isBE(c->srcFormat)) {
682 if (isBE(c->srcFormat)) {
704 } else if (is16BPS(c->srcFormat) && !is16BPS(c->dstFormat)) {
710 if (isBE(c->srcFormat)) {
715 } else if (!is16BPS(c->srcFormat) && is16BPS(c->dstFormat)) {
724 } else if (is16BPS(c->srcFormat) && is16BPS(c->dstFormat) &&
725 isBE(c->srcFormat) != isBE(c->dstFormat)) {
738 if (is16BPS(c->srcFormat) && is16BPS(c->dstFormat))
740 else if (!av_pix_fmt_descriptors[c->srcFormat].comp[0].depth_minus1)
761 const enum PixelFormat srcFormat = c->srcFormat;
769 (c->dstFormatBpp < c->srcFormatBpp || (!isAnyRGB(srcFormat)));
772 if ((srcFormat == PIX_FMT_YUV420P || srcFormat == PIX_FMT_YUVA420P) &&
777 if ((srcFormat == PIX_FMT_YUV420P || srcFormat == PIX_FMT_YUV422P ||
778 srcFormat == PIX_FMT_YUVA420P) && isAnyRGB(dstFormat) &&
783 if (srcFormat == PIX_FMT_YUV410P &&
790 if (srcFormat == PIX_FMT_BGR24 &&
796 if (isAnyRGB(srcFormat) && isAnyRGB(dstFormat) && findRgbConvFn(c)
801 if (IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, PIX_FMT_BGR444) ||
802 IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, PIX_FMT_BGR48) ||
803 IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, PIX_FMT_BGR555) ||
804 IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, PIX_FMT_BGR565) ||
805 IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, PIX_FMT_GRAY16) ||
806 IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, PIX_FMT_RGB444) ||
807 IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, PIX_FMT_RGB48) ||
808 IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, PIX_FMT_RGB555) ||
809 IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, PIX_FMT_RGB565))
812 if ((usePal(srcFormat) && (
821 if (srcFormat == PIX_FMT_YUV422P) {
831 if (srcFormat == PIX_FMT_YUV420P || srcFormat == PIX_FMT_YUVA420P) {
838 if (srcFormat == PIX_FMT_YUYV422 &&
841 if (srcFormat == PIX_FMT_UYVY422 &&
844 if (srcFormat == PIX_FMT_YUYV422 && dstFormat == PIX_FMT_YUV422P)
846 if (srcFormat == PIX_FMT_UYVY422 && dstFormat == PIX_FMT_YUV422P)
850 if ( srcFormat == dstFormat ||
851 (srcFormat == PIX_FMT_YUVA420P && dstFormat == PIX_FMT_YUV420P) ||
852 (srcFormat == PIX_FMT_YUV420P && dstFormat == PIX_FMT_YUVA420P) ||
853 (isPlanarYUV(srcFormat) && isGray(dstFormat)) ||
854 (isPlanarYUV(dstFormat) && isGray(srcFormat)) ||
855 (isGray(dstFormat) && isGray(srcFormat)) ||
856 (isPlanarYUV(srcFormat) && isPlanarYUV(dstFormat) &&
860 srcFormat != PIX_FMT_NV12 && srcFormat != PIX_FMT_NV21))
862 if (isPacked(c->srcFormat))
919 if (!check_image_pointers(srcSlice, c->srcFormat, srcStride)) {
936 if (usePal(c->srcFormat)) {
939 if (c->srcFormat == PIX_FMT_PAL8) {
944 } else if (c->srcFormat == PIX_FMT_RGB8) {
948 } else if (c->srcFormat == PIX_FMT_BGR8) {
952 } else if (c->srcFormat == PIX_FMT_RGB4_BYTE) {
956 } else if (c->srcFormat == PIX_FMT_GRAY8 ||
957 c->srcFormat == PIX_FMT_Y400A) {
960 assert(c->srcFormat == PIX_FMT_BGR4_BYTE);
1007 reset_ptr(src2, c->srcFormat);
1024 if (!usePal(c->srcFormat))
1033 reset_ptr(src2, c->srcFormat);