/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/qemu/distrib/jpeg-6b/ |
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/chromium_org/third_party/libjpeg_turbo/ |
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 dstinfo->jpeg_width = srcinfo->output_width; 82 dstinfo->jpeg_height = srcinfo->output_height [all...] |
transupp.c | 30 #define dstinfo_min_DCT_h_scaled_size dstinfo->min_DCT_h_scaled_size 31 #define dstinfo_min_DCT_v_scaled_size dstinfo->min_DCT_v_scaled_size 91 do_crop (j_decompress_ptr srcinfo, j_compress_ptr dstinfo, 105 for (ci = 0; ci < dstinfo->num_components; ci++) { 106 compptr = dstinfo->comp_info + ci; 129 do_flip_h_no_crop (j_decompress_ptr srcinfo, j_compress_ptr dstinfo, 149 (dstinfo->max_h_samp_factor * dstinfo_min_DCT_h_scaled_size); 151 for (ci = 0; ci < dstinfo->num_components; ci++) { 152 compptr = dstinfo->comp_info + ci; 196 do_flip_h (j_decompress_ptr srcinfo, j_compress_ptr dstinfo, [all...] |
jpegtran.c | 369 struct jpeg_compress_struct dstinfo; local 395 dstinfo.err = jpeg_std_error(&jdsterr); 396 jpeg_create_compress(&dstinfo); 413 file_index = parse_switches(&dstinfo, argc, argv, 0, FALSE); 415 srcinfo.mem->max_memory_to_use = dstinfo.mem->max_memory_to_use; 453 start_progress_monitor((j_common_ptr) &dstinfo, &progress); 481 jpeg_copy_critical_parameters(&srcinfo, &dstinfo); 487 dst_coef_arrays = jtransform_adjust_parameters(&srcinfo, &dstinfo, 516 file_index = parse_switches(&dstinfo, argc, argv, 0, TRUE); 519 jpeg_stdio_dest(&dstinfo, fp) [all...] |
transupp.h | 176 JPP((j_decompress_ptr srcinfo, j_compress_ptr dstinfo, 181 JPP((j_decompress_ptr srcinfo, j_compress_ptr dstinfo, 219 JPP((j_decompress_ptr srcinfo, j_compress_ptr dstinfo,
|
/external/chromium_org/third_party/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/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/chromium_org/third_party/skia/src/core/ |
SkConfig8888.cpp | 140 bool SkPixelInfo::CopyPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, 143 if (srcInfo.dimensions() != dstInfo.dimensions()) { 151 if (4 == srcInfo.bytesPerPixel() && 4 == dstInfo.bytesPerPixel()) { 153 dstPI.fColorType = dstInfo.colorType(); 154 dstPI.fAlphaType = dstInfo.alphaType(); 169 if (srcInfo.colorType() == dstInfo.colorType()) { 176 if (srcInfo.alphaType() != dstInfo.alphaType()) { 193 if (kARGB_4444_SkColorType == dstInfo.colorType() && 232 if (dstInfo.alphaType() == kUnpremul_SkAlphaType) { 246 SkAutoTUnref<SkCanvas> canvas(SkCanvas::NewRasterDirect(dstInfo, dstPixels, dstRB)) [all...] |
SkConfig8888.h | 18 static bool CopyPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
|
SkDevice.cpp | 172 const SkImageInfo& dstInfo = this->imageInfo(); 173 SkASSERT(x + info.width() <= dstInfo.width()); 174 SkASSERT(y + info.height() <= dstInfo.height());
|
SkBitmapDevice.cpp | 157 const SkImageInfo dstInfo = fBitmap.info().makeWH(srcInfo.width(), srcInfo.height()); 162 if (SkPixelInfo::CopyPixels(dstInfo, dstPixels, dstRowBytes, srcInfo, srcPixels, srcRowBytes)) { 169 bool SkBitmapDevice::onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, 171 return fBitmap.readPixels(dstInfo, dstPixels, dstRowBytes, x, y);
|
SkBitmap.cpp | 858 const SkImageInfo dstInfo = requestedDstInfo.makeWH(srcR.width(), srcR.height()); 868 dstPixels = ((char*)dstPixels - y * dstRB - x * dstInfo.bytesPerPixel()); 879 const SkImageInfo srcInfo = this->info().makeWH(dstInfo.width(), dstInfo.height()); 882 return SkPixelInfo::CopyPixels(dstInfo, dstPixels, dstRB, srcInfo, srcPixels, this->rowBytes(), 932 const SkImageInfo dstInfo = src->info().makeColorType(dstColorType); 935 if (!tmpDst.setInfo(dstInfo)) { [all...] |
/external/skia/src/core/ |
SkBitmapDevice.cpp | 171 static bool copy_pixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, 173 if (srcInfo.dimensions() != dstInfo.dimensions()) { 176 if (4 == srcInfo.bytesPerPixel() && 4 == dstInfo.bytesPerPixel()) { 178 dstPI.fColorType = dstInfo.colorType(); 179 dstPI.fAlphaType = dstInfo.alphaType(); 191 if (srcInfo.colorType() == dstInfo.colorType()) { 197 if (srcInfo.alphaType() != dstInfo.alphaType()) { 218 SkImageInfo dstInfo = fBitmap.info(); 219 dstInfo.fWidth = srcInfo.width(); 220 dstInfo.fHeight = srcInfo.height() [all...] |
SkDevice.cpp | 102 const SkImageInfo& dstInfo = this->imageInfo(); 103 SkASSERT(x + info.width() <= dstInfo.width()); 104 SkASSERT(y + info.height() <= dstInfo.height());
|
/external/chromium_org/third_party/skia/tests/ |
BitmapCopyTest.cpp | 591 SkImageInfo dstInfo = SkImageInfo::MakeN32Premul(W, H); 612 dstInfo = dstInfo.makeWH(gRec[i].fRequestedDstSize.width(), 614 bool success = srcBM.readPixels(dstInfo, dstPixels, rowBytes,
|
/external/chromium_org/third_party/skia/include/core/ |
SkBitmap.h | 615 * srcR.setXYWH(srcX, srcY, dstInfo.width(), dstInfo.height()); 627 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, [all...] |