Home
last modified time | relevance | path

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

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