Home
last modified time | relevance | path

Searched refs:jpeg (Results 1 – 25 of 151) sorted by relevance

1234567

/external/volley/src/test/java/com/android/volley/toolbox/
DImageRequestTest.java52 NetworkResponse jpeg = new NetworkResponse(jpegBytes); in parseNetworkResponse_resizing() local
60 verifyResize(jpeg, 512, 250, scalteType, 512, 250); // exactly half in parseNetworkResponse_resizing()
61 verifyResize(jpeg, 511, 249, scalteType, 509, 249); // just under half in parseNetworkResponse_resizing()
62 verifyResize(jpeg, 1080, 500, scalteType, 1024, 500); // larger in parseNetworkResponse_resizing()
63 verifyResize(jpeg, 500, 500, scalteType, 500, 244); // keep same ratio in parseNetworkResponse_resizing()
66 verifyResize(jpeg, 512, 0, scalteType, 512, 250); in parseNetworkResponse_resizing()
67 verifyResize(jpeg, 800, 0, scalteType, 800, 390); in parseNetworkResponse_resizing()
68 verifyResize(jpeg, 1024, 0, scalteType, 1024, 500); in parseNetworkResponse_resizing()
71 verifyResize(jpeg, 0, 250, scalteType, 512, 250); in parseNetworkResponse_resizing()
72 verifyResize(jpeg, 0, 391, scalteType, 800, 391); in parseNetworkResponse_resizing()
[all …]
/external/libjpeg-turbo/sharedlib/
DCMakeLists.txt33 set(DEFFILE ../win/jpeg${SO_MAJOR_VERSION}-memsrcdst.def)
35 set(DEFFILE ../win/jpeg${SO_MAJOR_VERSION}.def)
38 add_library(jpeg SHARED ${JPEG_SRCS} ${DEFFILE} $<TARGET_OBJECTS:simd> target
41 set_target_properties(jpeg PROPERTIES SOVERSION ${SO_MAJOR_VERSION}
48 set_target_properties(jpeg PROPERTIES MACOSX_RPATH 1)
51 set_target_properties(jpeg PROPERTIES
55 set_target_properties(jpeg PROPERTIES
56 RUNTIME_OUTPUT_NAME jpeg${SO_MAJOR_VERSION})
58 set_target_properties(jpeg PROPERTIES LINK_FLAGS "/NODEFAULTLIB:LIBCMT /NODEFAULTLIB:LIBCMTD")
60 set_target_properties(jpeg PROPERTIES SUFFIX -${SO_MAJOR_VERSION}.dll)
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue99/
DYamlBase64Test.java64 byte[] jpeg = (byte[]) bean.get("jpegPhoto"); in testYamlBase64Loading()
65 checkBytes(jpeg); in testYamlBase64Loading()
69 private void checkBytes(byte[] jpeg) throws IOException { in checkBytes() argument
74 while (i < jpeg.length) { in checkBytes()
76 if (jpeg[i] < 0) { in checkBytes()
77 assertEquals(etalon, jpeg[i] + 256); in checkBytes()
79 assertEquals(etalon, jpeg[i]); in checkBytes()
116 byte[] jpeg = (byte[]) bean.get("jpegPhoto"); in testRedefineBinaryTag()
117 checkBytes(jpeg); in testRedefineBinaryTag()
146 byte[] jpeg = (byte[]) bean.get("jpegPhoto"); in testLocalBinaryTag()
[all …]
/external/tensorflow/tensorflow/contrib/cmake/external/
Djpeg.cmake20 set(jpeg_BUILD ${CMAKE_CURRENT_BINARY_DIR}/jpeg/src/jpeg)
21 set(jpeg_INSTALL ${CMAKE_CURRENT_BINARY_DIR}/jpeg/install)
45 ExternalProject_Add(jpeg
46 PREFIX jpeg
50 …${CMAKE_COMMAND} -E copy_if_different ${CMAKE_CURRENT_SOURCE_DIR}/patches/jpeg/CMakeLists.txt ${jp…
59 ExternalProject_Add_Step(jpeg copy_jconfig
67 ExternalProject_Add(jpeg
68 PREFIX jpeg
85 # put jpeg includes in the directory where they are expected
88 DEPENDS jpeg)
/external/tensorflow/tensorflow/core/lib/jpeg/
Djpeg_mem_unittest.cc34 namespace jpeg { namespace
60 string jpeg; in TestJPEG() local
61 ReadFileToStringOrDie(env, jpegfile, &jpeg); in TestJPEG()
62 const int fsize = jpeg.size(); in TestJPEG()
63 const uint8* const temp = bit_cast<const uint8*>(jpeg.data()); in TestJPEG()
102 string jpeg; in TestCropAndDecodeJpeg() local
103 ReadFileToStringOrDie(env, jpegfile, &jpeg); in TestCropAndDecodeJpeg()
104 const int fsize = jpeg.size(); in TestCropAndDecodeJpeg()
105 auto temp = bit_cast<const uint8*>(jpeg.data()); in TestCropAndDecodeJpeg()
225 string jpeg; in TEST() local
[all …]
Djpeg_handle.h26 namespace jpeg {
/external/tensorflow/tensorflow/core/kernels/
Dencode_jpeg_op.cc37 flags_.format = static_cast<jpeg::Format>(0); in EncodeJpegOp()
39 flags_.format = jpeg::FORMAT_GRAYSCALE; in EncodeJpegOp()
41 flags_.format = jpeg::FORMAT_RGB; in EncodeJpegOp()
96 jpeg::CompressFlags adjusted_flags = flags_; in Compute()
100 adjusted_flags.format = jpeg::FORMAT_GRAYSCALE; in Compute()
102 adjusted_flags.format = jpeg::FORMAT_RGB; in Compute()
110 if (flags_.format == jpeg::FORMAT_GRAYSCALE) { in Compute()
126 jpeg::Compress(image.flat<uint8>().data(), dim_size1, dim_size0, in Compute()
134 jpeg::CompressFlags flags_;
Ddecode_image_op.cc193 jpeg::UncompressFlags flags = flags_; in DecodeJpeg()
214 jpeg::Uncompress( in DecodeJpeg()
334 jpeg::UncompressFlags flags_;
/external/skia/tests/
DPDFJpegEmbedTest.cpp199 static const char jpeg[] = in DEF_TEST() local
206 auto data = SkData::MakeWithoutCopy(jpeg, jpegLength); in DEF_TEST()
211 static const char jpeg[] = in DEF_TEST() local
218 auto data = SkData::MakeWithoutCopy(jpeg, jpegLength); in DEF_TEST()
223 static const char jpeg[] = in DEF_TEST() local
230 auto data = SkData::MakeWithoutCopy(jpeg, jpegLength); in DEF_TEST()
235 static const char jpeg[] = in DEF_TEST() local
242 auto data = SkData::MakeWithoutCopy(jpeg, jpegLength); in DEF_TEST()
247 static const char jpeg[] = in DEF_TEST() local
254 auto data = SkData::MakeWithoutCopy(jpeg, jpegLength); in DEF_TEST()
/external/skqp/tests/
DPDFJpegEmbedTest.cpp200 static const char jpeg[] = in DEF_TEST() local
207 auto data = SkData::MakeWithoutCopy(jpeg, jpegLength); in DEF_TEST()
212 static const char jpeg[] = in DEF_TEST() local
219 auto data = SkData::MakeWithoutCopy(jpeg, jpegLength); in DEF_TEST()
224 static const char jpeg[] = in DEF_TEST() local
231 auto data = SkData::MakeWithoutCopy(jpeg, jpegLength); in DEF_TEST()
236 static const char jpeg[] = in DEF_TEST() local
243 auto data = SkData::MakeWithoutCopy(jpeg, jpegLength); in DEF_TEST()
248 static const char jpeg[] = in DEF_TEST() local
255 auto data = SkData::MakeWithoutCopy(jpeg, jpegLength); in DEF_TEST()
/external/python/cpython2/Doc/library/
Djpeg.rst2 :mod:`jpeg` --- Read and write JPEG files
5 .. module:: jpeg
11 The :mod:`jpeg` module has been removed in Python 3.
17 The module :mod:`jpeg` provides access to the jpeg compressor and decompressor
32 The :mod:`jpeg` module defines an exception and some functions.
Dsgi.rst20 jpeg.rst
/external/autotest/client/site_tests/video_JDAPerf/
Dcontrol.power7 PURPOSE = "Test the power consumption of jpeg decoding"
9 The test outputs the power consumption of jpeg decoding.
23 jpeg decoding for hardware decode and software decode.
Dcontrol.cpu7 PURPOSE = "Test the cpu usage of jpeg decoding"
9 The test outputs the cpu usage of jpeg decoding.
22 This test measures the CPU usage of jpeg decoding for hardware
/external/nanohttpd/core/src/main/resources/META-INF/nanohttpd/
Ddefault-mimetypes.properties11 jpg=image/jpeg
12 jpeg=image/jpeg key
/external/libjpeg-turbo/release/
Dinstaller.nsi.in51 File "@CMAKE_CURRENT_BINARY_DIR@\${BUILDDIR}jpeg@SO_MAJOR_VERSION@.dll"
68 File "@CMAKE_CURRENT_BINARY_DIR@\${BUILDDIR}jpeg.lib"
69 File "@CMAKE_CURRENT_BINARY_DIR@\${BUILDDIR}jpeg-static.lib"
134 Delete $INSTDIR\bin\jpeg@SO_MAJOR_VERSION@.dll
137 Delete $INSTDIR\lib\jpeg.lib
138 Delete $INSTDIR\lib\jpeg-static.lib
/external/python/cpython2/Lib/email/test/data/
Dmsg_22.txt14 Content-Type: image/jpeg; name="wibble.JPG"
28 Content-Type: image/jpeg; name="wibble2.JPG"
/external/python/cpython3/Lib/test/test_email/data/
Dmsg_22.txt14 Content-Type: image/jpeg; name="wibble.JPG"
28 Content-Type: image/jpeg; name="wibble2.JPG"
/external/libyuv/files/
Dlibyuv.gyp21 # Can be enabled if your jpeg has GYP support.
100 # Caveat system jpeg support may not support motion jpeg
/external/ImageMagick/PerlMagick/
DMANIFEST121 t/jpeg/input.jpg
122 t/jpeg/input_plane.jpg
123 t/jpeg/read.t
124 t/jpeg/write.t
275 t/reference/jpeg/read_non_interlaced.miff
276 t/reference/jpeg/read_plane_interlaced.miff
277 t/reference/jpeg/write_non_interlaced.miff
278 t/reference/jpeg/write_plane_interlaced.miff
456 t/reference/write/jpeg/read_non_interlaced.miff
457 t/reference/write/jpeg/read_plane_interlaced.miff
[all …]
DMakefile.nt134 my @DELEGATES = qw/ bzlib cgm jbig jpeg mpeg png ps tiff wmf x xfig zlib/;
/external/tensorflow/tensorflow/core/platform/default/build_config/
DBUILD194 ":jpeg",
218 name = "jpeg",
221 "@jpeg",
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_DecodeAndCropJpeg.pbtxt60 jpeg library changes to a version that does not have that specific
84 decoding partial jpeg image.
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowCamera.java202 Camera.ShutterCallback shutter, Camera.PictureCallback raw, Camera.PictureCallback jpeg) { in takePicture() argument
211 if (jpeg != null) { in takePicture()
212 jpeg.onPictureTaken(new byte[0], realCamera); in takePicture()
/external/ImageMagick/coders/
DMake.com65 $call Make jpeg.c
154 gradient,gray,hald,histogram,hrz,html,icon,info,inline,ipl,jbig,jpeg,jp2, -
184 $ cc'compile_options'/include_directory=([-],[-.magickcore],[-.jpeg],[-.png], -

1234567