/third_party/ffmpeg/libswscale/ |
H A D | swscale_unscaled.c | 152 if (c->dstFormat == AV_PIX_FMT_NV12) in planarToNv12Wrapper() 193 if (c->dstFormat == AV_PIX_FMT_NV24) in planarToNv24Wrapper() 230 const AVPixFmtDescriptor *dst_format = av_pix_fmt_desc_get(c->dstFormat); in planarToP01xWrapper() 527 const enum AVPixelFormat dstFormat = c->dstFormat; in palToRgbWrapper() local 535 switch (dstFormat) { in palToRgbWrapper() 544 switch (dstFormat) { in palToRgbWrapper() 556 av_get_pix_fmt_name(srcFormat), av_get_pix_fmt_name(dstFormat)); in palToRgbWrapper() 711 const AVPixFmtDescriptor *dst_format = av_pix_fmt_desc_get(c->dstFormat); in Rgb16ToPlanarRgb16Wrapper() 890 const AVPixFmtDescriptor *dst_format = av_pix_fmt_desc_get(c->dstFormat); in planarRgb16ToRgb16Wrapper() 1459 const enum AVPixelFormat dstFormat = c->dstFormat; findRgbConvFn() local 1585 const enum AVPixelFormat dstFormat = c->dstFormat; rgbToRgbWrapper() local 1977 const enum AVPixelFormat dstFormat = c->dstFormat; ff_get_unscaled_swscale() local [all...] |
H A D | utils.c | 923 desc_dst = av_pix_fmt_desc_get(c->dstFormat); in sws_setColorspaceDetails() 926 if(range_override_needed(c->dstFormat)) in sws_setColorspaceDetails() 966 if ((isYUV(c->dstFormat) || isGray(c->dstFormat)) && (isYUV(c->srcFormat) || isGray(c->srcFormat))) { in sws_setColorspaceDetails() 979 if (isNBPS(c->dstFormat) || is16BPS(c->dstFormat)) { in sws_setColorspaceDetails() 980 if (isALPHA(c->srcFormat) && isALPHA(c->dstFormat)) { in sws_setColorspaceDetails() 986 if (isALPHA(c->srcFormat) && isALPHA(c->dstFormat)) { in sws_setColorspaceDetails() 1022 dstW, dstH, c->dstFormat, in sws_setColorspaceDetails() 1042 if (!isYUV(c->dstFormat) in sws_setColorspaceDetails() 1306 enum AVPixelFormat dstFormat = c->dstFormat; sws_init_context() local 2025 sws_alloc_set_opts(int srcW, int srcH, enum AVPixelFormat srcFormat, int dstW, int dstH, enum AVPixelFormat dstFormat, int flags, const double *param) sws_alloc_set_opts() argument 2050 sws_getContext(int srcW, int srcH, enum AVPixelFormat srcFormat, int dstW, int dstH, enum AVPixelFormat dstFormat, int flags, SwsFilter *srcFilter, SwsFilter *dstFilter, const double *param) sws_getContext() argument 2456 sws_getCachedContext(struct SwsContext *context, int srcW, int srcH, enum AVPixelFormat srcFormat, int dstW, int dstH, enum AVPixelFormat dstFormat, int flags, SwsFilter *srcFilter, SwsFilter *dstFilter, const double *param) sws_getCachedContext() argument [all...] |
H A D | yuv2rgb.c | 693 av_get_pix_fmt_name(c->srcFormat), av_get_pix_fmt_name(c->dstFormat)); in ff_yuv2rgb_get_func_ptr() 695 switch (c->dstFormat) { in ff_yuv2rgb_get_func_ptr() 778 const int isRgb = c->dstFormat == AV_PIX_FMT_RGB32 || in ff_yuv2rgb_c_init_tables() 779 c->dstFormat == AV_PIX_FMT_RGB32_1 || in ff_yuv2rgb_c_init_tables() 780 c->dstFormat == AV_PIX_FMT_BGR24 || in ff_yuv2rgb_c_init_tables() 781 c->dstFormat == AV_PIX_FMT_RGB565BE || in ff_yuv2rgb_c_init_tables() 782 c->dstFormat == AV_PIX_FMT_RGB565LE || in ff_yuv2rgb_c_init_tables() 783 c->dstFormat == AV_PIX_FMT_RGB555BE || in ff_yuv2rgb_c_init_tables() 784 c->dstFormat == AV_PIX_FMT_RGB555LE || in ff_yuv2rgb_c_init_tables() 785 c->dstFormat in ff_yuv2rgb_c_init_tables() [all...] |
H A D | vscale.c | 95 inst->pfn.yuv2interleavedX(c->dstFormat, c->chrDither8, filter, inst->filter_size, (const int16_t**)src1, (const int16_t**)src2, dst1[0], dstW); in chr_planar_vscale() 218 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()
|
H A D | output.c | 384 static void yuv2nv12cX_16LE_c(enum AVPixelFormat dstFormat, const uint8_t *chrDither, in yuv2nv12cX_16LE_c() argument 392 static void yuv2nv12cX_16BE_c(enum AVPixelFormat dstFormat, const uint8_t *chrDither, in yuv2nv12cX_16BE_c() argument 425 static void yuv2nv12cX_c(enum AVPixelFormat dstFormat, const uint8_t *chrDither, in yuv2nv12cX_c() argument 432 if (!isSwappedChroma(dstFormat)) in yuv2nv12cX_c() 549 static void yuv2p010cX_LE_c(enum AVPixelFormat dstFormat, const uint8_t *chrDither, in yuv2p010cX_LE_c() argument 557 static void yuv2p010cX_BE_c(enum AVPixelFormat dstFormat, const uint8_t *chrDither, in yuv2p010cX_BE_c() argument 2220 const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(c->dstFormat); in yuv2gbrp_full_X_c() 2283 if (SH != 22 && (!isBE(c->dstFormat)) != (!HAVE_BIGENDIAN)) { in yuv2gbrp_full_X_c() 2302 const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(c->dstFormat); in yuv2gbrp16_full_X_c() 2355 if ((!isBE(c->dstFormat)) ! in yuv2gbrp16_full_X_c() 2593 enum AVPixelFormat dstFormat = c->dstFormat; ff_sws_init_output_funcs() local [all...] |
H A D | swscale.c | 246 const enum AVPixelFormat dstFormat = c->dstFormat; in swscale() local 499 if (isPlanar(dstFormat) && isALPHA(dstFormat) && !needAlpha) { in swscale() 504 if (is16BPS(dstFormat) || isNBPS(dstFormat)) { in swscale() 505 const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(dstFormat); in swscale() 508 isBE(dstFormat)); in swscale() 509 } else if (is32BPS(dstFormat)) { in swscale() 510 const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(dstFormat); in swscale() [all...] |
H A D | swscale.h | 181 * @param dstFormat the destination image format 194 int dstW, int dstH, enum AVPixelFormat dstFormat, 391 int dstW, int dstH, enum AVPixelFormat dstFormat,
|
/third_party/ffmpeg/libswscale/tests/ |
H A D | swscale.c | 84 enum AVPixelFormat srcFormat, enum AVPixelFormat dstFormat, in doTest() 90 const AVPixFmtDescriptor *desc_dst = av_pix_fmt_desc_get(dstFormat); in doTest() 144 res = av_image_fill_linesizes(dstStride, dstFormat, dstW); in doTest() 168 dstContext = sws_getContext(srcW, srcH, srcFormat, dstW, dstH, dstFormat, in doTest() 205 outContext = sws_getContext(dstW, dstH, dstFormat, w, h, in doTest() 219 if (hasChroma(srcFormat) && hasChroma(dstFormat)) { in doTest() 226 if (isALPHA(srcFormat) && isALPHA(dstFormat)) in doTest() 265 enum AVPixelFormat srcFormat, dstFormat; in selfTest() local 276 for (dstFormat = dstFormat_in != AV_PIX_FMT_NONE ? dstFormat_in : 0; in selfTest() 277 dstFormat < AV_PIX_FMT_N in selfTest() 83 doTest(const uint8_t * const ref[4], int refStride[4], int w, int h, enum AVPixelFormat srcFormat, enum AVPixelFormat dstFormat, int srcW, int srcH, int dstW, int dstH, int flags, struct Results *r) doTest() argument 317 enum AVPixelFormat dstFormat; fileTest() local 364 enum AVPixelFormat dstFormat = AV_PIX_FMT_NONE; main() local [all...] |
H A D | floatimg_cmp.c | 65 enum AVPixelFormat dstFormat = AV_PIX_FMT_NONE; in main() local 160 dstFormat = pix_fmts[i]; in main() 199 res = av_image_fill_linesizes(dstStride, dstFormat, w); in main() 214 // srcFormat -> dstFormat in main() 216 dstFormat, SWS_BILINEAR, NULL, NULL, NULL); in main() 218 fprintf(stderr, "Failed to get %s -> %s\n", av_get_pix_fmt_name(inFormat), av_get_pix_fmt_name(dstFormat) ); in main() 230 // dstFormat -> srcFormat in main() 231 sws = sws_getContext(w, h, dstFormat, w, h, in main() 234 fprintf(stderr, "Failed to get %s -> %s\n", av_get_pix_fmt_name(dstFormat), av_get_pix_fmt_name(inFormat) ); in main() 280 fprintf(stdout, "%s -> %s -> %s\n", av_get_pix_fmt_name(inFormat), av_get_pix_fmt_name(dstFormat), av_get_pix_fmt_nam in main() [all...] |
/third_party/mesa3d/src/mesa/main/ |
H A D | texstore.c | 102 mesa_format dstFormat, in _mesa_memcpy_texture() 116 const GLuint texelBytes = _mesa_get_format_bytes(dstFormat); in _mesa_memcpy_texture() 155 assert(dstFormat == MESA_FORMAT_Z_UNORM32 || in _mesa_texstore_z32() 156 dstFormat == MESA_FORMAT_Z_FLOAT32); in _mesa_texstore_z32() 157 assert(_mesa_get_format_bytes(dstFormat) == sizeof(GLuint)); in _mesa_texstore_z32() 159 if (dstFormat == MESA_FORMAT_Z_UNORM32) in _mesa_texstore_z32() 192 assert(dstFormat == MESA_FORMAT_Z24_UNORM_X8_UINT); in _mesa_texstore_x8_z24() 222 assert(dstFormat == MESA_FORMAT_X8_UINT_Z24_UNORM); in _mesa_texstore_z24_x8() 255 assert(dstFormat == MESA_FORMAT_Z_UNORM16); in _mesa_texstore_z16() 256 assert(_mesa_get_format_bytes(dstFormat) in _mesa_texstore_z16() 100 _mesa_memcpy_texture(struct gl_context *ctx, GLuint dimensions, mesa_format dstFormat, GLint dstRowStride, GLubyte **dstSlices, GLint srcWidth, GLint srcHeight, GLint srcDepth, GLenum srcFormat, GLenum srcType, const GLvoid *srcAddr, const struct gl_pixelstore_attrib *srcPacking) _mesa_memcpy_texture() argument 828 _mesa_texstore_needs_transfer_ops(struct gl_context *ctx, GLenum baseInternalFormat, mesa_format dstFormat) _mesa_texstore_needs_transfer_ops() argument 858 _mesa_texstore_can_use_memcpy(struct gl_context *ctx, GLenum baseInternalFormat, mesa_format dstFormat, GLenum srcFormat, GLenum srcType, const struct gl_pixelstore_attrib *srcPacking) _mesa_texstore_can_use_memcpy() argument [all...] |
H A D | texstore.h | 51 * \param dstFormat destination Mesa texture format 64 UNUSED mesa_format dstFormat, \ 79 UNUSED mesa_format dstFormat, \ 93 mesa_format dstFormat); 98 mesa_format dstFormat, 108 GLenum baseInternalFormat, mesa_format dstFormat,
|
H A D | copyimage.c | 511 GLenum srcFormat, GLenum dstFormat) in copy_format_compatible() 527 if (_mesa_texture_view_compatible_format(ctx, srcFormat, dstFormat)) { in copy_format_compatible() 531 return compressed_format_compatible(ctx, srcFormat, dstFormat); in copy_format_compatible() 532 } else if (_mesa_is_compressed_format(ctx, dstFormat)) { in copy_format_compatible() 533 return compressed_format_compatible(ctx, dstFormat, srcFormat); in copy_format_compatible() 614 mesa_format srcFormat, dstFormat; in _mesa_CopyImageSubData() local 644 &dstTexImage, &dstRenderbuffer, &dstFormat, in _mesa_CopyImageSubData() 681 _mesa_get_format_block_size(dstFormat, &dst_bw, &dst_bh); in _mesa_CopyImageSubData() 773 mesa_format srcFormat, dstFormat; in _mesa_CopyImageSubDataNV() local 802 &dstTexImage, &dstRenderbuffer, &dstFormat, in _mesa_CopyImageSubDataNV() 510 copy_format_compatible(const struct gl_context *ctx, GLenum srcFormat, GLenum dstFormat) copy_format_compatible() argument [all...] |
H A D | texcompress_fxt1.c | 55 assert(dstFormat == MESA_FORMAT_RGB_FXT1 || dstFormat == MESA_FORMAT_RGBA_FXT1); in _mesa_texstore_fxt1() 89 if (dstFormat == MESA_FORMAT_RGB_FXT1) in _mesa_texstore_fxt1()
|
H A D | texcompress_rgtc.c | 90 assert(dstFormat == MESA_FORMAT_R_RGTC1_UNORM || in _mesa_texstore_red_rgtc1() 91 dstFormat == MESA_FORMAT_L_LATC1_UNORM); in _mesa_texstore_red_rgtc1() 143 assert(dstFormat == MESA_FORMAT_R_RGTC1_SNORM || in _mesa_texstore_signed_red_rgtc1() 144 dstFormat == MESA_FORMAT_L_LATC1_SNORM); in _mesa_texstore_signed_red_rgtc1() 197 assert(dstFormat == MESA_FORMAT_RG_RGTC2_UNORM || in _mesa_texstore_rg_rgtc2() 198 dstFormat == MESA_FORMAT_LA_LATC2_UNORM); in _mesa_texstore_rg_rgtc2() 262 assert(dstFormat == MESA_FORMAT_RG_RGTC2_SNORM || in _mesa_texstore_signed_rg_rgtc2() 263 dstFormat == MESA_FORMAT_LA_LATC2_SNORM); in _mesa_texstore_signed_rg_rgtc2()
|
H A D | texcompress_s3tc.c | 56 assert(dstFormat == MESA_FORMAT_RGB_DXT1 || in _mesa_texstore_rgb_dxt1() 57 dstFormat == MESA_FORMAT_SRGB_DXT1); in _mesa_texstore_rgb_dxt1() 110 assert(dstFormat == MESA_FORMAT_RGBA_DXT1 || in _mesa_texstore_rgba_dxt1() 111 dstFormat == MESA_FORMAT_SRGBA_DXT1); in _mesa_texstore_rgba_dxt1() 165 assert(dstFormat == MESA_FORMAT_RGBA_DXT3 || in _mesa_texstore_rgba_dxt3() 166 dstFormat == MESA_FORMAT_SRGBA_DXT3); in _mesa_texstore_rgba_dxt3() 219 assert(dstFormat == MESA_FORMAT_RGBA_DXT5 || in _mesa_texstore_rgba_dxt5() 220 dstFormat == MESA_FORMAT_SRGBA_DXT5); in _mesa_texstore_rgba_dxt5()
|
H A D | texcompress_bptc.c | 222 assert(dstFormat == MESA_FORMAT_BPTC_RGB_SIGNED_FLOAT); in _mesa_texstore_bptc_rgb_signed_float() 225 dstFormat, dstRowStride, dstSlices, in _mesa_texstore_bptc_rgb_signed_float() 235 assert(dstFormat == MESA_FORMAT_BPTC_RGB_UNSIGNED_FLOAT); in _mesa_texstore_bptc_rgb_unsigned_float() 238 dstFormat, dstRowStride, dstSlices, in _mesa_texstore_bptc_rgb_unsigned_float()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ycbcr/ |
H A D | vktYCbCrCopyTests.cpp | 174 vk::VkFormat dstFormat) in isCompatible() 176 if (srcFormat == dstFormat) in isCompatible() 339 && de::contains(DE_ARRAY_BEGIN(class8Bit), DE_ARRAY_END(class8Bit), dstFormat)) in isCompatible() 343 && de::contains(DE_ARRAY_BEGIN(class16Bit), DE_ARRAY_END(class16Bit), dstFormat)) in isCompatible() 347 && de::contains(DE_ARRAY_BEGIN(class24Bit), DE_ARRAY_END(class24Bit), dstFormat)) in isCompatible() 351 && de::contains(DE_ARRAY_BEGIN(class32Bit), DE_ARRAY_END(class32Bit), dstFormat)) in isCompatible() 355 && de::contains(DE_ARRAY_BEGIN(class48Bit), DE_ARRAY_END(class48Bit), dstFormat)) in isCompatible() 359 && de::contains(DE_ARRAY_BEGIN(class64Bit), DE_ARRAY_END(class64Bit), dstFormat)) in isCompatible() 363 && de::contains(DE_ARRAY_BEGIN(class96Bit), DE_ARRAY_END(class96Bit), dstFormat)) in isCompatible() 367 && de::contains(DE_ARRAY_BEGIN(class128Bit), DE_ARRAY_END(class128Bit), dstFormat)) in isCompatible() 173 isCompatible(vk::VkFormat srcFormat, vk::VkFormat dstFormat) isCompatible() argument 455 genCopies(de::Random& rng, size_t copyCount, vk::VkFormat srcFormat, const UVec2& srcSize, vk::VkFormat dstFormat, const UVec2& dstSize, vector<vk::VkImageCopy>* copies) genCopies() argument 774 isCopyCompatible(vk::VkFormat srcFormat, vk::VkFormat dstFormat) isCopyCompatible() argument [all...] |
H A D | vktYCbCrUtil.cpp | 1074 bool areLsb6BitsDontCare(vk::VkFormat srcFormat, vk::VkFormat dstFormat) 1077 (dstFormat == vk::VK_FORMAT_R10X6_UNORM_PACK16) || 1079 (dstFormat == vk::VK_FORMAT_R10X6G10X6_UNORM_2PACK16) || 1081 (dstFormat == vk::VK_FORMAT_R10X6G10X6B10X6A10X6_UNORM_4PACK16) || 1083 (dstFormat == vk::VK_FORMAT_G10X6B10X6G10X6R10X6_422_UNORM_4PACK16) || 1085 (dstFormat == vk::VK_FORMAT_B10X6G10X6R10X6G10X6_422_UNORM_4PACK16) || 1087 (dstFormat == vk::VK_FORMAT_G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16) || 1089 (dstFormat == vk::VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_420_UNORM_3PACK16) || 1091 (dstFormat == vk::VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_422_UNORM_3PACK16) || 1093 (dstFormat [all...] |
/third_party/ffmpeg/libswscale/ppc/ |
H A D | swscale_altivec.c | 241 enum AVPixelFormat dstFormat = c->dstFormat; in yuv2plane1_float() local 250 if (!is16BPS(dstFormat) && !isNBPS(dstFormat) && !isSemiPlanarYUV(dstFormat) && in yuv2plane1_float() 251 dstFormat != AV_PIX_FMT_GRAYF32BE && dstFormat != AV_PIX_FMT_GRAYF32LE && in yuv2plane1_float() 257 if (dstFormat == AV_PIX_FMT_GRAYF32BE) { in yuv2plane1_float() 259 } else if (dstFormat == AV_PIX_FMT_GRAYF32LE) { in yuv2plane1_float() 263 /* The following list of supported dstFormat value in yuv2plane1_float() [all...] |
H A D | yuv2yuv_altivec.c | 195 enum AVPixelFormat dstFormat = c->dstFormat; in ff_get_unscaled_swscale_ppc() local 198 if (dstFormat == AV_PIX_FMT_YUYV422) in ff_get_unscaled_swscale_ppc() 200 else if (dstFormat == AV_PIX_FMT_UYVY422) in ff_get_unscaled_swscale_ppc()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
H A D | CopyTextureForBrowserHelper.cpp | 145 const wgpu::TextureFormat dstFormat) { in ValidateCopyTextureFormatConversion() 155 switch (dstFormat) { in ValidateCopyTextureFormatConversion() 170 "Destination texture format (%s) is not supported.", dstFormat); in ValidateCopyTextureFormatConversion() 177 wgpu::TextureFormat dstFormat) { in GetCachedPipeline() 178 auto pipeline = store->copyTextureForBrowserPipelines.find(dstFormat); in GetCachedPipeline() 187 wgpu::TextureFormat dstFormat) { in GetOrCreateCopyTextureForBrowserPipeline() 190 if (GetCachedPipeline(store, dstFormat) == nullptr) { in GetOrCreateCopyTextureForBrowserPipeline() 212 target.format = dstFormat; in GetOrCreateCopyTextureForBrowserPipeline() 230 store->copyTextureForBrowserPipelines.insert({dstFormat, std::move(pipeline)}); in GetOrCreateCopyTextureForBrowserPipeline() 233 return GetCachedPipeline(store, dstFormat); in GetOrCreateCopyTextureForBrowserPipeline() 144 ValidateCopyTextureFormatConversion(const wgpu::TextureFormat srcFormat, const wgpu::TextureFormat dstFormat) ValidateCopyTextureFormatConversion() argument 176 GetCachedPipeline(InternalPipelineStore* store, wgpu::TextureFormat dstFormat) GetCachedPipeline() argument 185 GetOrCreateCopyTextureForBrowserPipeline( DeviceBase* device, wgpu::TextureFormat dstFormat) GetOrCreateCopyTextureForBrowserPipeline() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/ |
H A D | vktYCbCrCopyTests.cpp | 230 vk::VkFormat dstFormat) in isCompatible() 232 if (srcFormat == dstFormat) in isCompatible() 395 && de::contains(DE_ARRAY_BEGIN(class8Bit), DE_ARRAY_END(class8Bit), dstFormat)) in isCompatible() 399 && de::contains(DE_ARRAY_BEGIN(class16Bit), DE_ARRAY_END(class16Bit), dstFormat)) in isCompatible() 403 && de::contains(DE_ARRAY_BEGIN(class24Bit), DE_ARRAY_END(class24Bit), dstFormat)) in isCompatible() 407 && de::contains(DE_ARRAY_BEGIN(class32Bit), DE_ARRAY_END(class32Bit), dstFormat)) in isCompatible() 411 && de::contains(DE_ARRAY_BEGIN(class48Bit), DE_ARRAY_END(class48Bit), dstFormat)) in isCompatible() 415 && de::contains(DE_ARRAY_BEGIN(class64Bit), DE_ARRAY_END(class64Bit), dstFormat)) in isCompatible() 419 && de::contains(DE_ARRAY_BEGIN(class96Bit), DE_ARRAY_END(class96Bit), dstFormat)) in isCompatible() 423 && de::contains(DE_ARRAY_BEGIN(class128Bit), DE_ARRAY_END(class128Bit), dstFormat)) in isCompatible() 229 isCompatible(vk::VkFormat srcFormat, vk::VkFormat dstFormat) isCompatible() argument 511 genCopies(de::Random& rng, size_t copyCount, vk::VkFormat srcFormat, const UVec2& srcSize, vk::VkFormat dstFormat, const UVec2& dstSize, vector<vk::VkImageCopy>* copies) genCopies() argument 642 chooseFloatFormat(vk::VkFormat srcFormat, vk::VkFormat dstFormat) chooseFloatFormat() argument 926 isCopyCompatible(vk::VkFormat srcFormat, vk::VkFormat dstFormat) isCopyCompatible() argument [all...] |
H A D | vktYCbCrUtil.cpp | 1075 bool areLsb6BitsDontCare(vk::VkFormat srcFormat, vk::VkFormat dstFormat) 1078 (dstFormat == vk::VK_FORMAT_R10X6_UNORM_PACK16) || 1080 (dstFormat == vk::VK_FORMAT_R10X6G10X6_UNORM_2PACK16) || 1082 (dstFormat == vk::VK_FORMAT_R10X6G10X6B10X6A10X6_UNORM_4PACK16) || 1084 (dstFormat == vk::VK_FORMAT_G10X6B10X6G10X6R10X6_422_UNORM_4PACK16) || 1086 (dstFormat == vk::VK_FORMAT_B10X6G10X6R10X6G10X6_422_UNORM_4PACK16) || 1088 (dstFormat == vk::VK_FORMAT_G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16) || 1090 (dstFormat == vk::VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_420_UNORM_3PACK16) || 1092 (dstFormat == vk::VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_422_UNORM_3PACK16) || 1094 (dstFormat [all...] |
/third_party/ffmpeg/libswscale/x86/ |
H A D | yuv2rgb.c | 74 switch (c->dstFormat) { in ff_yuv2rgb_init_x86() 103 switch (c->dstFormat) { in ff_yuv2rgb_init_x86() 112 switch (c->dstFormat) { in ff_yuv2rgb_init_x86()
|
H A D | swscale.c | 90 if (c->dstFormat == AV_PIX_FMT_RGB555 || c->dstFormat == AV_PIX_FMT_BGR555) in ff_updateMMXDitherTables() 506 case 10: if (!isBE(c->dstFormat) && !isSemiPlanarYUV(c->dstFormat)) vscalefn = ff_yuv2planeX_10_ ## opt; break; \ in ff_sws_init_swscale_x86() 507 case 9: if (!isBE(c->dstFormat)) vscalefn = ff_yuv2planeX_9_ ## opt; break; \ in ff_sws_init_swscale_x86() 512 case 16: if (!isBE(c->dstFormat)) vscalefn = ff_yuv2plane1_16_ ## opt; break; \ in ff_sws_init_swscale_x86() 513 case 10: if (!isBE(c->dstFormat) && !isSemiPlanarYUV(c->dstFormat)) vscalefn = ff_yuv2plane1_10_ ## opt; break; \ in ff_sws_init_swscale_x86() 514 case 9: if (!isBE(c->dstFormat)) vscalefn = ff_yuv2plane1_9_ ## opt; break; \ in ff_sws_init_swscale_x86() 584 if (!isBE(c->dstFormat)) in ff_sws_init_swscale_x86() [all...] |