Home
last modified time | relevance | path

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

12345678

/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/tensorflow/tensorflow/core/kernels/image/
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_;
160 jpeg::CompressFlags adjusted_flags; in Compute()
[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/core/lib/jpeg/
Djpeg_mem_unittest.cc34 namespace jpeg { namespace
59 string jpeg; in TestJPEG() local
60 ReadFileToStringOrDie(env, jpegfile, &jpeg); in TestJPEG()
61 const int fsize = jpeg.size(); in TestJPEG()
62 const uint8* const temp = absl::bit_cast<const uint8*>(jpeg.data()); in TestJPEG()
101 string jpeg; in TestCropAndDecodeJpeg() local
102 ReadFileToStringOrDie(env, jpegfile, &jpeg); in TestCropAndDecodeJpeg()
103 const int fsize = jpeg.size(); in TestCropAndDecodeJpeg()
104 const auto* temp = absl::bit_cast<const uint8*>(jpeg.data()); in TestCropAndDecodeJpeg()
224 string jpeg; in TEST() local
[all …]
DBUILD42 "//tensorflow/core/platform:jpeg",
43 "@libjpeg_turbo//:jpeg",
67 "//tensorflow/core/platform:jpeg",
78 data = ["//tensorflow/core/lib/jpeg/testdata"],
/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/tensorflow/third_party/jpeg/
Dworkspace.bzl1 """loads the jpeg library, used by TF."""
14 build_file = "//third_party/jpeg:BUILD.bazel",
15 system_build_file = "//third_party/jpeg:BUILD.system",
/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/nanohttpd/core/src/main/resources/META-INF/nanohttpd/
Ddefault-mimetypes.properties11 jpg=image/jpeg
12 jpeg=image/jpeg key
/external/oss-fuzz/projects/gdk-pixbuf/
DDockerfile27 …find $SRC/gdk-pixbuf/tests/ \( -name '*.jpeg' -o -name '*.jpg' -o -name '*.png' \) -exec cp -v '{}…
34 ADD https://raw.githubusercontent.com/google/fuzzing/master/dictionaries/jpeg.dict $SRC/jpeg.dict
37 rm -f $SRC/png.dict $SRC/jpeg.dict $SRC/gif.dict
/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/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/pdfium/core/fxcodec/
DBUILD.gn62 "jpeg/jpegmodule.cpp",
63 "jpeg/jpegmodule.h",
81 "//third_party:jpeg",
/external/angle/third_party/
DBUILD.gn13 libs = [ "jpeg" ]
24 group("jpeg") {
/external/tensorflow/tensorflow/core/platform/default/build_config/
DBUILD149 ":jpeg",
168 name = "jpeg",
171 "@libjpeg_turbo//:jpeg",
/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/flac/test/metaflac-test-files/
Dcase50-expect.meta90 MIME type: image/jpeg
103 MIME type: image/jpeg
Dcase51-expect.meta90 MIME type: image/jpeg
103 MIME type: image/jpeg
Dcase52-expect.meta90 MIME type: image/jpeg
103 MIME type: image/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 …]
/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/tensorflow/tensorflow/core/lib/jpeg/testdata/
DBUILD15 "//tensorflow/core/lib/jpeg:__pkg__",
/external/flac/test/
Dpicture.ok31 testing grabbag__picture_parse_specification("3|image/jpeg|||pictures/0.jpg")... OK
32 testing grabbag__picture_parse_specification("3|image/jpeg|||pictures/4.jpg")... OK

12345678