Searched refs:origWidth (Results 1 - 8 of 8) sorted by relevance

/external/skia/bench/
H A DETCBitmapBench.cpp32 etc1_uint32 origWidth = etc1_pkm_get_width(origData); local
38 if ((origWidth % kETC1BlockWidth) != 0 ||
44 if (origWidth <= kETC1BlockWidth || origHeight <= kETC1BlockHeight) {
48 etc1_uint32 newWidth = origWidth * factor;
61 etc1_uint32 origBlocksX = (origWidth >> 2);
68 for(etc1_uint32 i = 0; i < newWidth; i += origWidth) {
/external/skia/src/images/
H A DSkImageDecoder_libpng.cpp284 png_uint_32 origWidth, origHeight; local
286 png_get_IHDR(png_ptr, info_ptr, &origWidth, &origHeight, &bitDepth,
323 png_uint_32 origWidth, origHeight; local
325 png_get_IHDR(png_ptr, info_ptr, &origWidth, &origHeight, &bitDepth,
339 SkScaledBitmapSampler sampler(origWidth, origHeight, sampleSize);
432 SkAutoMalloc storage(origWidth * origHeight * srcBytesPerPixel);
434 size_t rowBytes = origWidth * srcBytesPerPixel;
451 SkAutoMalloc storage(origWidth * srcBytesPerPixel);
506 png_uint_32 origWidth, origHeight; local
508 png_get_IHDR(png_ptr, info_ptr, &origWidth,
747 png_uint_32 origWidth, origHeight; local
776 png_uint_32 origWidth, origHeight; local
[all...]
H A DSkScaledBitmapSampler.h19 SkScaledBitmapSampler(int origWidth, int origHeight, int cellSize);
H A DSkImageDecoder_libwebp.cpp314 int origWidth, origHeight, hasAlpha; local
315 if (!webp_parse_header(stream, &origWidth, &origHeight, &hasAlpha)) {
324 *width = origWidth;
328 this->fOrigWidth = origWidth;
410 int origWidth, origHeight, hasAlpha; local
411 if (!webp_parse_header(stream, &origWidth, &origHeight, &hasAlpha)) {
417 SkScaledBitmapSampler sampler(origWidth, origHeight, sampleSize);
435 if (!webp_get_config_resize(&config, decodedBitmap, origWidth, origHeight,
/external/skia/src/codec/
H A DSkCodec_libpng.cpp250 png_uint_32 origWidth, origHeight;
252 png_get_IHDR(png_ptr, info_ptr, &origWidth, &origHeight, &bitDepth,
257 int64_t size = sk_64_mul(origWidth, origHeight);
339 *imageInfo = SkImageInfo::Make(origWidth, origHeight, skColorType,
440 png_uint_32 origWidth, origHeight;
442 png_get_IHDR(fPng_ptr, fInfo_ptr, &origWidth, &origHeight, &bitDepth,
H A DSkCodec_libico.cpp205 int origWidth = this->getInfo().width(); local
207 float desiredSize = desiredScale * origWidth * origHeight;
209 float minError = ((float) (origWidth * origHeight)) - desiredSize + 1.0f;
/external/skia/src/core/
H A DSkAAClip.cpp426 const int origWidth = *data++; local
427 assert_row_width(data, origWidth);
428 int skip = trim_row_left_right(data, origWidth, trimL, trimR);
430 int expectedWidth = origWidth - trimL - trimR;
/external/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp1363 unsigned origWidth = N0.getValueType().getSizeInBits(); local
1364 unsigned maskWidth = origWidth;
1368 origWidth = Lod->getMemoryVT().getSizeInBits();
1371 for (unsigned width = origWidth / 2; width>=8; width /= 2) {
1373 for (unsigned offset=0; offset<origWidth/width; offset++) {
1376 bestOffset = (origWidth/width - offset - 1) * (width/8);

Completed in 190 milliseconds