/external/jpeg/ |
transupp.c | 66 do_flip_h (j_decompress_ptr srcinfo, j_compress_ptr dstinfo, 82 MCU_cols = dstinfo->image_width / (dstinfo->max_h_samp_factor * DCTSIZE); 84 for (ci = 0; ci < dstinfo->num_components; ci++) { 85 compptr = dstinfo->comp_info + ci; 115 do_flip_v (j_decompress_ptr srcinfo, j_compress_ptr dstinfo, 134 MCU_rows = dstinfo->image_height / (dstinfo->max_v_samp_factor * DCTSIZE); 136 for (ci = 0; ci < dstinfo->num_components; ci++) { 137 compptr = dstinfo->comp_info + ci [all...] |
jctrans.c | 64 j_compress_ptr dstinfo) 72 if (dstinfo->global_state != CSTATE_START) 73 ERREXIT1(dstinfo, JERR_BAD_STATE, dstinfo->global_state); 75 dstinfo->image_width = srcinfo->image_width; 76 dstinfo->image_height = srcinfo->image_height; 77 dstinfo->input_components = srcinfo->num_components; 78 dstinfo->in_color_space = srcinfo->jpeg_color_space; 80 jpeg_set_defaults(dstinfo); 84 jpeg_set_colorspace(dstinfo, srcinfo->jpeg_color_space) [all...] |
jpegtran.c | 337 struct jpeg_compress_struct dstinfo; local 361 dstinfo.err = jpeg_std_error(&jdsterr); 362 jpeg_create_compress(&dstinfo); 379 file_index = parse_switches(&dstinfo, argc, argv, 0, FALSE); 381 srcinfo.mem->max_memory_to_use = dstinfo.mem->max_memory_to_use; 430 start_progress_monitor((j_common_ptr) &dstinfo, &progress); 453 jpeg_copy_critical_parameters(&srcinfo, &dstinfo); 459 dst_coef_arrays = jtransform_adjust_parameters(&srcinfo, &dstinfo, 467 file_index = parse_switches(&dstinfo, argc, argv, 0, TRUE); 470 jpeg_stdio_dest(&dstinfo, output_file) [all...] |
transupp.h | 105 JPP((j_decompress_ptr srcinfo, j_compress_ptr dstinfo, 110 JPP((j_decompress_ptr srcinfo, j_compress_ptr dstinfo, 134 JPP((j_decompress_ptr srcinfo, j_compress_ptr dstinfo,
|
/external/skia/src/codec/ |
SkCodec.cpp | 90 SkScanlineDecoder* SkCodec::getScanlineDecoder(const SkImageInfo& dstInfo, const Options* options, 99 fScanlineDecoder.reset(this->onGetScanlineDecoder(dstInfo, *options, ctable, ctableCount)); 103 SkScanlineDecoder* SkCodec::getScanlineDecoder(const SkImageInfo& dstInfo) { 104 SkASSERT(kIndex_8_SkColorType != dstInfo.colorType()); 105 if (kIndex_8_SkColorType == dstInfo.colorType()) { 108 return this->getScanlineDecoder(dstInfo, NULL, NULL, NULL);
|
SkCodec_libbmp.h | 66 Result onGetPixels(const SkImageInfo& dstInfo, void* dst, 116 Result decodeMask(const SkImageInfo& dstInfo, void* dst, 125 const SkImageInfo& dstInfo, uint32_t x, uint32_t y, 133 const SkImageInfo& dstInfo, uint32_t x, uint32_t y, 141 Result decodeRLE(const SkImageInfo& dstInfo, void* dst, 149 Result decode(const SkImageInfo& dstInfo, void* dst, size_t dstRowBytes, const Options& opts);
|
SkJpegCodec.cpp | 284 void SkJpegCodec::initializeSwizzler(const SkImageInfo& dstInfo, 288 fSwizzler.reset(SkSwizzler::CreateSwizzler(srcConfig, NULL, dstInfo, dst, dstRowBytes, 290 fSrcRowBytes = SkSwizzler::BytesPerPixel(srcConfig) * dstInfo.width(); 296 SkCodec::Result SkJpegCodec::onGetPixels(const SkImageInfo& dstInfo, 314 if (!conversion_possible(dstInfo, this->getInfo())) { 319 if (!this->scaleToDimensions(dstInfo.width(), dstInfo.height())) { 329 this->initializeSwizzler(dstInfo, dst, dstRowBytes, options); 352 uint32_t dstHeight = dstInfo.height(); 359 convert_CMYK_to_RGB(srcRows[0], dstInfo.width() * rowsDecoded) [all...] |
SkJpegCodec.h | 52 Result onGetPixels(const SkImageInfo& dstInfo, void* dst, size_t dstRowBytes, const Options&, 59 SkScanlineDecoder* onGetScanlineDecoder(const SkImageInfo& dstInfo, const Options& options, 111 void initializeSwizzler(const SkImageInfo& dstInfo, void* dst, size_t dstRowBytes,
|
SkCodec_libbmp.cpp | 574 SkCodec::Result SkBmpCodec::onGetPixels(const SkImageInfo& dstInfo, 588 if (dstInfo.dimensions() != this->getInfo().dimensions()) { 592 if (!conversion_possible(dstInfo, this->getInfo())) { 599 if (!createColorTable(dstInfo.alphaType(), inputColorCount)) { 605 copy_color_table(dstInfo, fColorTable, inputColorPtr, inputColorCount); 610 return decodeMask(dstInfo, dst, dstRowBytes, opts); 612 return decodeRLE(dstInfo, dst, dstRowBytes, opts); 614 return decode(dstInfo, dst, dstRowBytes, opts); 743 SkCodec::Result SkBmpCodec::decodeMask(const SkImageInfo& dstInfo, 747 const int width = dstInfo.width() [all...] |
SkSwizzler.h | 143 * If dstInfo.colorType() is kIndex8, colorOrIndex is assumed to be a uint8_t 147 * If dstInfo.colorType() is kN32, colorOrIndex is treated differently depending on 151 * unpremul, depending on dstInfo.alphaType()). Each 4-byte pixel will be set to 158 * If dstInfo.colorType() is kGray, colorOrIndex is always treated as an 8-bit color. 163 static void Fill(void* dstStartRow, const SkImageInfo& dstInfo, size_t dstRowBytes,
|
SkCodecPriv.h | 38 static inline void copy_color_table(const SkImageInfo& dstInfo, SkColorTable* colorTable, 40 if (kIndex_8_SkColorType == dstInfo.colorType()) {
|
SkCodec_libico.h | 41 Result onGetPixels(const SkImageInfo& dstInfo, void* dst,
|
SkCodec_libpng.h | 33 SkScanlineDecoder* onGetScanlineDecoder(const SkImageInfo& dstInfo, const Options& options,
|
SkCodec_libgif.cpp | 240 SkCodec::Result SkGifCodec::onGetPixels(const SkImageInfo& dstInfo, 260 if (dstInfo.dimensions() != this->getInfo().dimensions()) { 263 if (!conversion_possible(dstInfo, this->getInfo())) { 282 const int32_t width = dstInfo.width(); 283 const int32_t height = dstInfo.height(); 342 SkColorType dstColorType = dstInfo.colorType(); 420 dstInfo.makeWH(innerWidth, innerHeight); 427 SkSwizzler::Fill(dst, dstInfo, dstRowBytes, height, fillIndex, colorTable); 444 SkSwizzler::kIndex, colorTable, dstInfo, dst, 480 SkSwizzler::Fill(swizzler->getDstRow(), dstInfo, dstRowBytes [all...] |
SkCodec_libpng.cpp | 596 SkPngScanlineDecoder(const SkImageInfo& dstInfo, SkPngCodec* codec) 597 : INHERITED(dstInfo) 601 fStorage.reset(dstInfo.width() * SkSwizzler::BytesPerPixel(fCodec->fSrcConfig)); 647 SkScanlineDecoder* SkPngCodec::onGetScanlineDecoder(const SkImageInfo& dstInfo, 654 if (dstInfo.dimensions() != this->getInfo().dimensions()) { 658 if (!conversion_possible(dstInfo, this->getInfo())) { 665 // be at least dstInfo.minRowBytes. 666 if (this->initializeSwizzler(dstInfo, NULL, dstInfo.minRowBytes(), options, ctable, 678 return SkNEW_ARGS(SkPngScanlineDecoder, (dstInfo, this)) [all...] |
/external/skia/platform_tools/android/examples/hello_skia_app/jni/ |
helloskia.cpp | 24 AndroidBitmapInfo dstInfo; 26 AndroidBitmap_getInfo(env, dstBitmap, &dstInfo); 29 SkImageInfo info = SkImageInfo::MakeN32Premul(dstInfo.width, dstInfo.height); 32 SkAutoTUnref<SkSurface> surface(SkSurface::NewRasterDirect(info, dstPixels, dstInfo.stride));
|
/external/pdfium/core/src/fxcodec/libjpeg/ |
fpdfapi_jctrans.c | 65 j_compress_ptr dstinfo) 73 if (dstinfo->global_state != CSTATE_START) 74 ERREXIT1(dstinfo, JERR_BAD_STATE, dstinfo->global_state); 76 dstinfo->image_width = srcinfo->image_width; 77 dstinfo->image_height = srcinfo->image_height; 78 dstinfo->input_components = srcinfo->num_components; 79 dstinfo->in_color_space = srcinfo->jpeg_color_space; 81 jpeg_set_defaults(dstinfo); 85 jpeg_set_colorspace(dstinfo, srcinfo->jpeg_color_space) [all...] |
transupp.h | 105 JPP((j_decompress_ptr srcinfo, j_compress_ptr dstinfo, 110 JPP((j_decompress_ptr srcinfo, j_compress_ptr dstinfo, 134 JPP((j_decompress_ptr srcinfo, j_compress_ptr dstinfo,
|
/external/skia/src/core/ |
SkConfig8888.cpp | 181 bool SkPixelInfo::CopyPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, 184 if (srcInfo.dimensions() != dstInfo.dimensions()) { 192 if (4 == srcInfo.bytesPerPixel() && 4 == dstInfo.bytesPerPixel()) { 194 dstPI.fColorType = dstInfo.colorType(); 195 dstPI.fAlphaType = dstInfo.alphaType(); 210 if (srcInfo.colorType() == dstInfo.colorType()) { 218 if (srcInfo.alphaType() != dstInfo.alphaType()) { 234 if (kGray_8_SkColorType == srcInfo.colorType() && 4 == dstInfo.bytesPerPixel()) { 238 if (kGray_8_SkColorType == dstInfo.colorType() && 4 == srcInfo.bytesPerPixel()) { 244 if (kARGB_4444_SkColorType == dstInfo.colorType() & [all...] |
SkConfig8888.h | 18 static bool CopyPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
|
/external/skia/include/codec/ |
SkCodec.h | 71 * @param dstInfo Info of the destination. If the dimensions do not match 75 * @param ctable A pointer to a color table. When dstInfo.colorType() is 79 * dstInfo.colorType() is kIndex8, this should be non-NULL. It will 90 SkScanlineDecoder* getScanlineDecoder(const SkImageInfo& dstInfo, const Options* options, 97 SkScanlineDecoder* getScanlineDecoder(const SkImageInfo& dstInfo); 127 * @param dstInfo Info of the destination. If the dimensions do not match 131 * @param ctable A pointer to a color table. When dstInfo.colorType() is 135 * dstInfo.colorType() is kIndex8, this should be non-NULL. It will 141 virtual SkScanlineDecoder* onGetScanlineDecoder(const SkImageInfo& dstInfo,
|
/external/skia/src/image/ |
SkImage.cpp | 40 bool SkImage::readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, 42 SkReadPixelsRec rec(dstInfo, dstPixels, dstRowBytes, srcX, srcY); 128 bool SkImage_Base::onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, 130 if (!raster_canvas_supports(dstInfo)) { 135 bm.installPixels(dstInfo, dstPixels, dstRowBytes);
|
SkImage_Base.h | 46 virtual bool onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
|
/external/skia/include/core/ |
SkImage.h | 114 * converting them into the requested format (dstInfo). The image pixels are read 119 * srcR.setXYWH(srcX, srcY, dstInfo.width(), dstInfo.height()); 130 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
|
SkSurface.h | 206 * converting them into the requested format (dstInfo). The surface pixels are read 211 * srcR.setXYWH(srcX, srcY, dstInfo.width(), dstInfo.height()); 222 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
|