Searched refs:srcBytesPerPixel (Results 1 - 4 of 4) sorted by relevance

/external/chromium_org/third_party/skia/src/images/
H A DSkImageDecoder_libjpeg.cpp504 int* srcBytesPerPixel) {
505 SkASSERT(sc != NULL && srcBytesPerPixel != NULL);
510 *srcBytesPerPixel = 4;
513 *srcBytesPerPixel = 3;
517 *srcBytesPerPixel = 4;
520 *srcBytesPerPixel = 2;
525 *srcBytesPerPixel = 1;
671 int srcBytesPerPixel; local
673 if (!get_src_config(cinfo, &sc, &srcBytesPerPixel)) {
681 SkAutoMalloc srcStorage(cinfo.output_width * srcBytesPerPixel);
502 get_src_config(const jpeg_decompress_struct& cinfo, SkScaledBitmapSampler::SrcConfig* sc, int* srcBytesPerPixel) argument
903 int srcBytesPerPixel; local
[all...]
H A DSkImageDecoder_libpng.cpp391 int srcBytesPerPixel = 4; local
395 srcBytesPerPixel = 1;
400 srcBytesPerPixel = 1;
418 SkAutoMalloc storage(origWidth * origHeight * srcBytesPerPixel);
420 size_t rowBytes = origWidth * srcBytesPerPixel;
437 SkAutoMalloc storage(origWidth * srcBytesPerPixel);
880 int srcBytesPerPixel = 4; local
884 srcBytesPerPixel = 1;
889 srcBytesPerPixel = 1;
907 SkAutoMalloc storage(origWidth * origHeight * srcBytesPerPixel);
[all...]
/external/skia/src/images/
H A DSkImageDecoder_libjpeg.cpp504 int* srcBytesPerPixel) {
505 SkASSERT(sc != NULL && srcBytesPerPixel != NULL);
510 *srcBytesPerPixel = 4;
513 *srcBytesPerPixel = 3;
517 *srcBytesPerPixel = 4;
520 *srcBytesPerPixel = 2;
525 *srcBytesPerPixel = 1;
671 int srcBytesPerPixel; local
673 if (!get_src_config(cinfo, &sc, &srcBytesPerPixel)) {
681 SkAutoMalloc srcStorage(cinfo.output_width * srcBytesPerPixel);
502 get_src_config(const jpeg_decompress_struct& cinfo, SkScaledBitmapSampler::SrcConfig* sc, int* srcBytesPerPixel) argument
903 int srcBytesPerPixel; local
[all...]
H A DSkImageDecoder_libpng.cpp391 int srcBytesPerPixel = 4; local
395 srcBytesPerPixel = 1;
400 srcBytesPerPixel = 1;
418 SkAutoMalloc storage(origWidth * origHeight * srcBytesPerPixel);
420 size_t rowBytes = origWidth * srcBytesPerPixel;
437 SkAutoMalloc storage(origWidth * srcBytesPerPixel);
880 int srcBytesPerPixel = 4; local
884 srcBytesPerPixel = 1;
889 srcBytesPerPixel = 1;
907 SkAutoMalloc storage(origWidth * origHeight * srcBytesPerPixel);
[all...]

Completed in 1958 milliseconds