HomeSort by relevance Sort by last modified time
    Searched defs:jpeg (Results 1 - 11 of 11) sorted by null

  /external/tensorflow/tensorflow/core/lib/jpeg/
jpeg_handle.cc 22 #include "tensorflow/core/lib/jpeg/jpeg_handle.h"
30 namespace jpeg { namespace in namespace:tensorflow
184 } // namespace jpeg
jpeg_handle.h 22 #include "tensorflow/core/platform/jpeg.h"
26 namespace jpeg { namespace in namespace:tensorflow
28 // Handler for fatal JPEG library errors: clean up & return
49 // JPEG destination: we will store all the data in a buffer "buffer" of total
57 } // namespace jpeg
jpeg_mem.h 16 // This file defines functions to compress and uncompress JPEG files
19 // Direct manipulation of JPEG strings are supplied: Flip, Rotate, Crop..
28 #include "tensorflow/core/platform/jpeg.h"
32 namespace jpeg { namespace in namespace:tensorflow
77 // Uncompress some raw JPEG data given by the pointer srcdata and the length
97 // the buffer to be shaped based on the JPEG header. The caller is responsible
103 // Read jpeg header and get image information. Returns true on success.
124 // If true, create a jpeg image that loads progressively
127 // If true, reduce jpeg size without changing quality (at the cost of CPU/RAM)
151 // On error, returns the empty string (which is never a valid jpeg)
    [all...]
jpeg_mem_unittest.cc 16 #include "tensorflow/core/lib/jpeg/jpeg_mem.h"
26 #include "tensorflow/core/lib/jpeg/jpeg_handle.h"
34 namespace jpeg { namespace in namespace:tensorflow
38 const char kTestData[] = "tensorflow/core/lib/jpeg/testdata/";
59 // Read the data from the jpeg file into memory
60 string jpeg; local
61 ReadFileToStringOrDie(env, jpegfile, &jpeg);
62 const int fsize = jpeg.size();
63 const uint8* const temp = bit_cast<const uint8*>(jpeg.data());
88 TEST(JpegMemTest, Jpeg) {
102 string jpeg; local
225 string jpeg; local
263 string jpeg; local
    [all...]
jpeg_mem.cc 16 // This file defines functions to compress and uncompress JPEG data
17 // to and from memory, as well as some direct manipulations of JPEG string
19 #include "tensorflow/core/lib/jpeg/jpeg_mem.h"
28 #include "tensorflow/core/lib/jpeg/jpeg_handle.h"
35 namespace jpeg { namespace in namespace:tensorflow
116 // Modify the usual jpeg error manager to catch fatal errors.
149 // Always use cmyk for output in a 4 channel jpeg. libjpeg has a builtin
323 LOG(ERROR) << "Premature end of JPEG data. Stopped at line "
423 // Handle errors in JPEG
500 // fatal JPEG library errors with setjmp/longjmp, and g++ an
    [all...]
  /external/volley/src/test/java/com/android/volley/toolbox/
ImageRequestTest.java 52 NetworkResponse jpeg = new NetworkResponse(jpegBytes); local
60 verifyResize(jpeg, 512, 250, scalteType, 512, 250); // exactly half
61 verifyResize(jpeg, 511, 249, scalteType, 509, 249); // just under half
62 verifyResize(jpeg, 1080, 500, scalteType, 1024, 500); // larger
63 verifyResize(jpeg, 500, 500, scalteType, 500, 244); // keep same ratio
66 verifyResize(jpeg, 512, 0, scalteType, 512, 250);
67 verifyResize(jpeg, 800, 0, scalteType, 800, 390);
68 verifyResize(jpeg, 1024, 0, scalteType, 1024, 500);
71 verifyResize(jpeg, 0, 250, scalteType, 512, 250);
72 verifyResize(jpeg, 0, 391, scalteType, 800, 391)
    [all...]
  /external/skia/tests/
PDFJpegEmbedTest.cpp 44 * Test that for Jpeg files that use the JFIF colorspace, they are
77 // This JPEG uses a nonstandard colorspace - it can not be
199 static const char jpeg[] = local
206 auto data = SkData::MakeWithoutCopy(jpeg, jpegLength);
211 static const char jpeg[] = local
218 auto data = SkData::MakeWithoutCopy(jpeg, jpegLength);
223 static const char jpeg[] = local
230 auto data = SkData::MakeWithoutCopy(jpeg, jpegLength);
235 static const char jpeg[] = local
242 auto data = SkData::MakeWithoutCopy(jpeg, jpegLength)
247 static const char jpeg[] = local
    [all...]
  /external/skqp/tests/
PDFJpegEmbedTest.cpp 44 * Test that for Jpeg files that use the JFIF colorspace, they are
78 // This JPEG uses a nonstandard colorspace - it can not be
200 static const char jpeg[] = local
207 auto data = SkData::MakeWithoutCopy(jpeg, jpegLength);
212 static const char jpeg[] = local
219 auto data = SkData::MakeWithoutCopy(jpeg, jpegLength);
224 static const char jpeg[] = local
231 auto data = SkData::MakeWithoutCopy(jpeg, jpegLength);
236 static const char jpeg[] = local
243 auto data = SkData::MakeWithoutCopy(jpeg, jpegLength)
248 static const char jpeg[] = local
    [all...]
  /external/ImageMagick/coders/
pict.c 850 jpeg,
963 jpeg=MagickFalse;
844 jpeg, local
    [all...]
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowCamera.java 202 Camera.ShutterCallback shutter, Camera.PictureCallback raw, Camera.PictureCallback jpeg) {
211 if (jpeg != null) {
212 jpeg.onPictureTaken(new byte[0], realCamera);
325 formats.add(ImageFormat.JPEG);
333 formats.add(ImageFormat.JPEG);
  /cts/tests/camera/src/android/hardware/camera2/cts/
DngCreatorTest.java 352 * Test basic RAW capture, and ensure that the rendered RAW output is similar to the JPEG
360 * between the histograms for the RAW and JPEG buffers to avoid false positives.
366 * DNG rendering tools. The DNG, rendered RGB bitmap, and JPEG buffer for this test can be
384 Image jpeg = data.imagePair.first.get(1); local
418 // Write JPEG to file
422 ByteBuffer jPlane = jpeg.getPlanes()[0].getBuffer();
426 Log.v(TAG, "Test JPEG file for camera " + deviceId + " saved to " +
429 // Write jpeg generated from demosaiced RAW frame to file
433 rawBitmap.compress(Bitmap.CompressFormat.JPEG, 90, fileStream);
440 validateRawJpegImagePair(rawBitmap, jpeg, deviceId)
473 Image jpeg = data.imagePair.first.get(1); local
    [all...]

Completed in 3941 milliseconds