• 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:dstFormat

128     if (c->dstFormat == PIX_FMT_NV12)
306 const enum PixelFormat dstFormat = c->dstFormat;
314 switch (dstFormat) {
323 switch (dstFormat) {
335 sws_format_name(srcFormat), sws_format_name(dstFormat));
359 const enum PixelFormat dstFormat = c->dstFormat;
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))) {
438 const enum PixelFormat dstFormat = c->dstFormat;
445 sws_format_name(srcFormat), sws_format_name(dstFormat));
450 !isRGBA32(dstFormat))
453 if ((dstFormat == PIX_FMT_RGB32_1 || dstFormat == PIX_FMT_BGR32_1) &&
573 if (is16BPS(c->dstFormat))
580 const int dst_depth = av_pix_fmt_descriptors[c->dstFormat].comp[plane].depth_minus1 + 1;
583 if (is16BPS(c->dstFormat)) {
594 if (isBE(c->dstFormat)) {
607 } else if (is9_OR_10BPS(c->dstFormat)) {
628 if (isBE(c->dstFormat)) {
659 } else if (is9_OR_10BPS(c->dstFormat)) {
660 const int dst_depth = av_pix_fmt_descriptors[c->dstFormat].comp[plane].depth_minus1 + 1;
675 if (isBE(c->dstFormat)) {
698 if (isBE(c->dstFormat)) {
704 } else if (is16BPS(c->srcFormat) && !is16BPS(c->dstFormat)) {
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))
762 const enum PixelFormat dstFormat = c->dstFormat;
767 needsDither = isAnyRGB(dstFormat) &&
773 (dstFormat == PIX_FMT_NV12 || dstFormat == PIX_FMT_NV21)) {
778 srcFormat == PIX_FMT_YUVA420P) && isAnyRGB(dstFormat) &&
784 (dstFormat == PIX_FMT_YUV420P || dstFormat == PIX_FMT_YUVA420P) &&
791 (dstFormat == PIX_FMT_YUV420P || dstFormat == PIX_FMT_YUVA420P) &&
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))
813 dstFormat == PIX_FMT_RGB32 ||
814 dstFormat == PIX_FMT_RGB32_1 ||
815 dstFormat == PIX_FMT_RGB24 ||
816 dstFormat == PIX_FMT_BGR32 ||
817 dstFormat == PIX_FMT_BGR32_1 ||
818 dstFormat == PIX_FMT_BGR24)))
822 if (dstFormat == PIX_FMT_YUYV422)
824 else if (dstFormat == PIX_FMT_UYVY422)
832 if (dstFormat == PIX_FMT_YUYV422)
834 else if (dstFormat == PIX_FMT_UYVY422)
839 (dstFormat == PIX_FMT_YUV420P || dstFormat == PIX_FMT_YUVA420P))
842 (dstFormat == PIX_FMT_YUV420P || dstFormat == PIX_FMT_YUVA420P))
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) &&
859 dstFormat != PIX_FMT_NV12 && dstFormat != PIX_FMT_NV21 &&
923 if (!check_image_pointers(dst, c->dstFormat, dstStride)) {
970 switch (c->dstFormat) {
1008 reset_ptr((const uint8_t **) dst2, c->dstFormat);
1034 reset_ptr((const uint8_t **) dst2, c->dstFormat);