/prebuilts/go/darwin-x86/src/image/jpeg/ |
scan.go | 5 package jpeg package 292 // buffers (the whole point of progressive encoding), but in Go, the jpeg.Decode
|
dct_test.go | 5 package jpeg package 95 // a given JPEG image, even before the YCbCr to RGB conversion; implementations 197 // testBlocks are the first 10 pre-IDCT blocks from ../testdata/video-001.jpeg.
|
huffman.go | 5 package jpeg package
|
reader_test.go | 5 package jpeg package 38 m0, err := decodeFile(tc + ".jpeg") 40 t.Errorf("%s: %v", tc+".jpeg", err) 43 m1, err := decodeFile(tc + ".progressive.jpeg") 45 t.Errorf("%s: %v", tc+".progressive.jpeg", err) 52 // All of the video-*.jpeg files are 150x103. 119 // Check that if reader returns final data and EOF at same time, jpeg handles it. 120 data, err := ioutil.ReadFile("../testdata/video-001.jpeg") 191 b, err := ioutil.ReadFile("../testdata/video-005.gray.q50.jpeg") 211 // This input is an invalid JPEG image, based on the fuzzer-generated imag [all...] |
writer_test.go | 5 package jpeg package 138 // Encode that image as JPEG. 145 // Decode that JPEG.
|
fdct.go | 5 package jpeg package 10 It is based on the code in jfdctint.c from the Independent JPEG Group, 43 the Independent JPEG Group". 54 it. This software may be referred to only as "the Independent JPEG Group's
|
idct.go | 5 package jpeg package
|
reader.go | 5 // Package jpeg implements a JPEG image decoder and encoder. 7 // JPEG is defined in ITU-T T.81: http://www.w3.org/Graphics/JPEG/itu-t81.pdf. 8 package jpeg package 20 // A FormatError reports that the input is not a valid JPEG. 23 func (e FormatError) Error() string { return "invalid JPEG format: " + string(e) } 25 // An UnsupportedError reports that the input uses a valid but unimplemented JPEG feature. 28 func (e UnsupportedError) Error() string { return "unsupported JPEG feature: " + string(e) } 63 // "APPlication specific" markers aren't part of the JPEG spec per se [all...] |
writer.go | 5 package jpeg package 217 // encoder encodes an image to the JPEG format. 546 // Encode writes the Image m to w in JPEG 4:2:0 baseline format with the given 551 return errors.New("jpeg: image is too large to encode")
|
/prebuilts/go/linux-x86/src/image/jpeg/ |
scan.go | 5 package jpeg package 292 // buffers (the whole point of progressive encoding), but in Go, the jpeg.Decode
|
dct_test.go | 5 package jpeg package 95 // a given JPEG image, even before the YCbCr to RGB conversion; implementations 197 // testBlocks are the first 10 pre-IDCT blocks from ../testdata/video-001.jpeg.
|
huffman.go | 5 package jpeg package
|
reader_test.go | 5 package jpeg package 38 m0, err := decodeFile(tc + ".jpeg") 40 t.Errorf("%s: %v", tc+".jpeg", err) 43 m1, err := decodeFile(tc + ".progressive.jpeg") 45 t.Errorf("%s: %v", tc+".progressive.jpeg", err) 52 // All of the video-*.jpeg files are 150x103. 119 // Check that if reader returns final data and EOF at same time, jpeg handles it. 120 data, err := ioutil.ReadFile("../testdata/video-001.jpeg") 191 b, err := ioutil.ReadFile("../testdata/video-005.gray.q50.jpeg") 211 // This input is an invalid JPEG image, based on the fuzzer-generated imag [all...] |
writer_test.go | 5 package jpeg package 138 // Encode that image as JPEG. 145 // Decode that JPEG.
|
fdct.go | 5 package jpeg package 10 It is based on the code in jfdctint.c from the Independent JPEG Group, 43 the Independent JPEG Group". 54 it. This software may be referred to only as "the Independent JPEG Group's
|
idct.go | 5 package jpeg package
|
reader.go | 5 // Package jpeg implements a JPEG image decoder and encoder. 7 // JPEG is defined in ITU-T T.81: http://www.w3.org/Graphics/JPEG/itu-t81.pdf. 8 package jpeg package 20 // A FormatError reports that the input is not a valid JPEG. 23 func (e FormatError) Error() string { return "invalid JPEG format: " + string(e) } 25 // An UnsupportedError reports that the input uses a valid but unimplemented JPEG feature. 28 func (e UnsupportedError) Error() string { return "unsupported JPEG feature: " + string(e) } 63 // "APPlication specific" markers aren't part of the JPEG spec per se [all...] |
writer.go | 5 package jpeg package 217 // encoder encodes an image to the JPEG format. 546 // Encode writes the Image m to w in JPEG 4:2:0 baseline format with the given 551 return errors.New("jpeg: image is too large to encode")
|
/external/skia/tests/ |
PDFJpegEmbedTest.cpp | 45 * Test that for Jpeg files that use the JFIF colorspace, they are 77 // This JPEG uses a nonstandard colorspace - it can not be 155 static const char jpeg[] = local 162 auto data = SkData::MakeWithoutCopy(jpeg, jpegLength); 167 static const char jpeg[] = local 174 auto data = SkData::MakeWithoutCopy(jpeg, jpegLength); 179 static const char jpeg[] = local 186 auto data = SkData::MakeWithoutCopy(jpeg, jpegLength); 191 static const char jpeg[] = local 198 auto data = SkData::MakeWithoutCopy(jpeg, jpegLength) 203 static const char jpeg[] = local [all...] |
/external/volley/src/test/java/com/android/volley/toolbox/ |
ImageRequestTest.java | 50 NetworkResponse jpeg = new NetworkResponse(jpegBytes); local 58 verifyResize(jpeg, 512, 250, scalteType, 512, 250); // exactly half 59 verifyResize(jpeg, 511, 249, scalteType, 509, 249); // just under half 60 verifyResize(jpeg, 1080, 500, scalteType, 1024, 500); // larger 61 verifyResize(jpeg, 500, 500, scalteType, 500, 244); // keep same ratio 64 verifyResize(jpeg, 512, 0, scalteType, 512, 250); 65 verifyResize(jpeg, 800, 0, scalteType, 800, 390); 66 verifyResize(jpeg, 1024, 0, scalteType, 1024, 500); 69 verifyResize(jpeg, 0, 250, scalteType, 512, 250); 70 verifyResize(jpeg, 0, 391, scalteType, 800, 391) [all...] |
/frameworks/opt/bitmap/src/com/android/bitmap/util/ |
Exif.java | 51 int tag = pack(jpeg, offset, 4, false); 52 count = pack(jpeg, offset - 2, 2, littleEndian); 62 has(jpeg, byteSize, offset + length - 1) 71 final InputStreamBuffer jpeg = new InputStreamBuffer(inputStream, lookAhead, false); local 76 if (has(jpeg, byteSize, 1)) { 77 // JPEG image files begin with FF D8. Only JPEG images have EXIF data. 78 final boolean possibleJpegFormat = jpeg.get(0) == (byte) 0xFF 79 && jpeg.get(1) == (byte) 0xD8; 86 while (has(jpeg, byteSize, offset + 3) && (jpeg.get(offset++) & 0xFF) == 0xFF) [all...] |
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ |
Exif.java | 46 int tag = pack(jpeg, offset, 4, false); 47 count = pack(jpeg, offset - 2, 2, littleEndian); 57 has(jpeg, byteSize, offset + length - 1) 66 final InputStreamBuffer jpeg = new InputStreamBuffer(inputStream, lookAhead, false); local 71 if (has(jpeg, byteSize, 1)) { 72 // JPEG image files begin with FF D8. Only JPEG images have EXIF data. 73 final boolean possibleJpegFormat = jpeg.get(0) == (byte) 0xFF 74 && jpeg.get(1) == (byte) 0xD8; 81 while (has(jpeg, byteSize, offset + 3) && (jpeg.get(offset++) & 0xFF) == 0xFF) [all...] |
/external/ImageMagick/coders/ |
pict.c | 826 jpeg, 935 jpeg=MagickFalse; 820 jpeg, local [all...] |
/hardware/intel/common/libva/va/ |
va_trace.c | 58 * decode/encode or jpeg surfaces 214 if (strstr(env_value, "jpeg") || strstr(env_value, "jpg")) 402 int encode, decode, jpeg; local 424 jpeg = (trace_ctx->trace_entrypoint == VAEntrypointEncPicture); 427 (jpeg && (trace_flag & VA_TRACE_FLAG_SURFACE_JPEG))) { 3135 int encode, decode, jpeg; local [all...] |
/packages/apps/Camera2/src/com/android/camera/tinyplanet/ |
TinyPlanetFragment.java | 357 // for the JPEG bytes. 361 ByteArrayOutputStream jpeg = new ByteArrayOutputStream(); local 362 resultBitmap.compress(CompressFormat.JPEG, 100, jpeg); 363 return new TinyPlanetImage(addExif(jpeg.toByteArray()), outputSize); 370 * @param jpeg the JPEG data of the tiny planet. 371 * @return The JPEG data containing basic EXIF. 373 private byte[] addExif(byte[] jpeg) { 379 exif.writeExif(jpeg, jpegOut) [all...] |