Home
last modified time | relevance | path

Searched refs:outFormat (Results 1 – 14 of 14) sorted by relevance

/third_party/libjpeg-turbo/
Dtjexample.c172 char *inFormat, *outFormat; in main() local
256 outFormat = strrchr(argv[2], '.'); in main()
257 if (inFormat == NULL || outFormat == NULL || strlen(inFormat) < 2 || in main()
258 strlen(outFormat) < 2) in main()
261 outFormat = &outFormat[1]; in main()
315 if (!strcasecmp(outFormat, "jpg") && doTransform && in main()
360 printf("Output Image (%s): %d x %d pixels", outFormat, width, height); in main()
362 if (!strcasecmp(outFormat, "jpg")) { in main()
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/
Dtjexample.c168 char *inFormat, *outFormat; in main() local
252 outFormat = strrchr(argv[2], '.'); in main()
253 if (inFormat == NULL || outFormat == NULL || strlen(inFormat) < 2 || in main()
254 strlen(outFormat) < 2) in main()
257 outFormat = &outFormat[1]; in main()
309 if (!strcasecmp(outFormat, "jpg") && doTransform && in main()
354 printf("Output Image (%s): %d x %d pixels", outFormat, width, height); in main()
356 if (!strcasecmp(outFormat, "jpg")) { in main()
/third_party/vk-gl-cts/executor/tools/
DxeTestLogCompare.cpp108 , outFormat (OUTPUTFORMAT_CSV) in CommandLine()
114 OutputFormat outFormat; member
302 if (cmdLine.outFormat == OUTPUTFORMAT_CSV) in runCompare()
333 if (cmdLine.outFormat == OUTPUTFORMAT_TEXT) in runCompare()
340 else if (cmdLine.outFormat == OUTPUTFORMAT_CSV) in runCompare()
352 if (cmdLine.outFormat == OUTPUTFORMAT_TEXT) in runCompare()
384 cmdLine.outFormat = opts.getOption<opt::OutFormat>(); in parseCommandLine()
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/java/
DTJExample.java162 String inFormat = "jpg", outFormat = "jpg"; in main() local
266 outFormat = "bmp"; in main()
270 outFormat = outFileTokens[outFileTokens.length - 1]; in main()
313 if (outFormat.equalsIgnoreCase("jpg") && doTransform && in main()
333 if (!outFormat.equalsIgnoreCase("jpg")) in main()
357 System.out.print("Output Image (" + outFormat + "): " + width + in main()
366 } else if (outFormat.equalsIgnoreCase("jpg")) { in main()
394 ImageIO.write(img, outFormat, outFile); in main()
/third_party/libjpeg-turbo/java/
DTJExample.java162 String inFormat = "jpg", outFormat = "jpg"; in main() local
266 outFormat = "bmp"; in main()
270 outFormat = outFileTokens[outFileTokens.length - 1]; in main()
313 if (outFormat.equalsIgnoreCase("jpg") && doTransform && in main()
333 if (!outFormat.equalsIgnoreCase("jpg")) in main()
357 System.out.print("Output Image (" + outFormat + "): " + width + in main()
366 } else if (outFormat.equalsIgnoreCase("jpg")) { in main()
394 ImageIO.write(img, outFormat, outFile); in main()
/third_party/flutter/skia/src/codec/
DSkCodec.cpp615 skcms_PixelFormat* outFormat) { in sk_select_xform_format() argument
616 SkASSERT(outFormat); in sk_select_xform_format()
620 *outFormat = skcms_PixelFormat_RGBA_8888; in sk_select_xform_format()
623 *outFormat = skcms_PixelFormat_BGRA_8888; in sk_select_xform_format()
628 *outFormat = skcms_PixelFormat_RGBA_8888; in sk_select_xform_format()
630 *outFormat = skcms_PixelFormat_BGRA_8888; in sk_select_xform_format()
634 *outFormat = skcms_PixelFormat_BGR_565; in sk_select_xform_format()
637 *outFormat = skcms_PixelFormat_RGBA_hhhh; in sk_select_xform_format()
640 *outFormat = skcms_PixelFormat_G_8; in sk_select_xform_format()
DSkCodecPriv.h26 skcms_PixelFormat* outFormat);
/third_party/skia/src/codec/
DSkCodec.cpp675 skcms_PixelFormat* outFormat) { in sk_select_xform_format() argument
676 SkASSERT(outFormat); in sk_select_xform_format()
680 *outFormat = skcms_PixelFormat_RGBA_8888; in sk_select_xform_format()
683 *outFormat = skcms_PixelFormat_BGRA_8888; in sk_select_xform_format()
688 *outFormat = skcms_PixelFormat_RGBA_8888; in sk_select_xform_format()
690 *outFormat = skcms_PixelFormat_BGRA_8888; in sk_select_xform_format()
694 *outFormat = skcms_PixelFormat_BGR_565; in sk_select_xform_format()
697 *outFormat = skcms_PixelFormat_RGBA_hhhh; in sk_select_xform_format()
700 *outFormat = skcms_PixelFormat_G_8; in sk_select_xform_format()
DSkCodecPriv.h26 skcms_PixelFormat* outFormat);
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
DvktApiBufferViewAccessTests.cpp1013 const char* const outFormat = isIntFmt ? "i" : isUintFmt ? "u" : ""; in initPrograms() local
1018 …<< "layout(set = 0, binding = 1" << fmtLayout << ") uniform highp " << extraOption << outFormat <<… in initPrograms()
1021 << " highp " << outFormat << "vec4 read_colors[4];\n" in initPrograms()
1026 << " highp " << outFormat << "vec4 result_color;\n" in initPrograms()
1027 << " result_color = " << outFormat << "vec4(0);\n" in initPrograms()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiBufferViewAccessTests.cpp1013 const char* const outFormat = isIntFmt ? "i" : isUintFmt ? "u" : ""; in initPrograms() local
1018 …<< "layout(set = 0, binding = 1" << fmtLayout << ") uniform highp " << extraOption << outFormat <<… in initPrograms()
1021 << " highp " << outFormat << "vec4 read_colors[4];\n" in initPrograms()
1026 << " highp " << outFormat << "vec4 result_color;\n" in initPrograms()
1027 << " result_color = " << outFormat << "vec4(0);\n" in initPrograms()
/third_party/mesa3d/src/mesa/main/
Dglformats.h43 _mesa_compute_component_mapping(GLenum inFormat, GLenum outFormat, GLubyte *map);
Dglformats.c204 _mesa_compute_component_mapping(GLenum inFormat, GLenum outFormat, GLubyte *map) in _mesa_compute_component_mapping() argument
207 const int outFmt = get_map_idx(outFormat); in _mesa_compute_component_mapping()
221 outFormat, _mesa_enum_to_string(outFormat), in _mesa_compute_component_mapping()
/third_party/mesa3d/include/android_stub/hardware/
Dgralloc1.h606 int32_t* outFormat);