Searched defs:dstRowBytes (Results 1 - 15 of 15) sorted by relevance

/external/chromium_org/third_party/skia/src/utils/
H A DSkTextureCompressor.cpp214 bool DecompressBufferFromFormat(uint8_t* dst, int dstRowBytes, const uint8_t* src, argument
225 DecompressLATC(dst, dstRowBytes, src, width, height);
229 DecompressR11EAC(dst, dstRowBytes, src, width, height);
234 return 0 == etc1_decode_image(src, dst, width, height, 3, dstRowBytes);
251 DecompressASTC(dst, dstRowBytes, src, width, height, dimX, dimY);
H A DSkTextureCompressor_LATC.cpp405 void decompress_latc_block(uint8_t* dst, int dstRowBytes, const uint8_t* src) { argument
419 dst += dstRowBytes;
508 void DecompressLATC(uint8_t* dst, int dstRowBytes, const uint8_t* src, int width, int height) { argument
511 decompress_latc_block(dst + i, dstRowBytes, src);
514 dst += 4 * dstRowBytes;
H A DSkTextureCompressor_ASTC.cpp318 int dstRowBytes, SkColor color) {
324 dst += dstRowBytes;
331 int dstRowBytes) {
338 write_constant_color(dst, blockDimX, blockDimY, dstRowBytes, kASTCErrorColor);
1918 static void decompress_void_extent(uint8_t* dst, int dstRowBytes, argument
1926 write_constant_color(dst, data.fDimX, data.fDimY, dstRowBytes, SkColorSetARGB(a, r, g, b));
1931 static void decompress_astc_block(uint8_t* dst, int dstRowBytes, argument
1934 write_error_color(dst, data.fDimX, data.fDimY, dstRowBytes);
1939 decompress_void_extent(dst, dstRowBytes, data);
1955 write_error_color(dst, data.fDimX, data.fDimY, dstRowBytes);
317 write_constant_color(uint8_t* dst, int blockDimX, int blockDimY, int dstRowBytes, SkColor color) argument
330 write_error_color(uint8_t* dst, int blockDimX, int blockDimY, int dstRowBytes) argument
2080 DecompressASTC(uint8_t* dst, int dstRowBytes, const uint8_t* src, int width, int height, int blockDimX, int blockDimY) argument
[all...]
/external/chromium_org/third_party/skia/src/gpu/
H A DGrFontScaler.cpp115 int dstRowBytes,
127 dst = reinterpret_cast<INT_TYPE*>(reinterpret_cast<intptr_t>(dst) + dstRowBytes);
111 expand_bits(INT_TYPE* dst, const uint8_t* src, int width, int height, int dstRowBytes, int srcRowBytes) argument
H A DSkGpuDevice.cpp226 bool SkGpuDevice::onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, argument
241 config, dstPixels, dstRowBytes, flags);
/external/skia/src/gpu/
H A DSkGrFontScaler.cpp133 int dstRowBytes,
145 dst = reinterpret_cast<INT_TYPE*>(reinterpret_cast<intptr_t>(dst) + dstRowBytes);
129 expand_bits(INT_TYPE* dst, const uint8_t* src, int width, int height, int dstRowBytes, int srcRowBytes) argument
H A DSkGpuDevice.cpp262 bool SkGpuDevice::onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, argument
277 config, dstPixels, dstRowBytes, flags);
/external/chromium_org/third_party/skia/src/core/
H A DSkBitmapDevice.cpp160 size_t dstRowBytes = fBitmap.rowBytes(); local
162 if (SkPixelInfo::CopyPixels(dstInfo, dstPixels, dstRowBytes, srcInfo, srcPixels, srcRowBytes)) {
169 bool SkBitmapDevice::onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, argument
171 return fBitmap.readPixels(dstInfo, dstPixels, dstRowBytes, x, y);
H A DSkBitmap.cpp434 size_t dstRowBytes, bool preserveDstPad) const {
436 if (0 == dstRowBytes) {
437 dstRowBytes = fRowBytes;
440 if (dstRowBytes < fInfo.minRowBytes() ||
445 if (!preserveDstPad && static_cast<uint32_t>(dstRowBytes) == fRowBytes) {
460 if (fInfo.getSafeSize(dstRowBytes) > dstSize) {
468 for (int row = 0; row < fInfo.height(); row++, srcP += fRowBytes, dstP += dstRowBytes) {
433 copyPixelsTo(void* const dst, size_t dstSize, size_t dstRowBytes, bool preserveDstPad) const argument
/external/chromium_org/third_party/skia/src/ports/
H A DSkFontHost_FreeType_common.cpp191 const size_t dstRowBytes = dstMask.fRowBytes; local
204 size_t commonRowBytes = SkTMin(srcRowBytes, dstRowBytes);
208 dst += dstRowBytes;
226 dst += dstRowBytes;
244 dst += dstRowBytes;
/external/skia/src/core/
H A DSkBitmapDevice.cpp171 static bool copy_pixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, argument
181 dstPI.fRowBytes = dstRowBytes;
204 rect_memcpy(dstPixels, dstRowBytes, srcPixels, srcRowBytes,
223 size_t dstRowBytes = fBitmap.rowBytes(); local
225 if (copy_pixels(dstInfo, dstPixels, dstRowBytes, srcInfo, srcPixels, srcRowBytes)) {
232 bool SkBitmapDevice::onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, argument
255 return copy_pixels(dstInfo, dstPixels, dstRowBytes, srcInfo, srcPixels, srcRowBytes);
H A DSkBitmap.cpp494 size_t dstRowBytes, bool preserveDstPad) const {
496 if (0 == dstRowBytes) {
497 dstRowBytes = fRowBytes;
500 if (dstRowBytes < fInfo.minRowBytes() ||
505 if (!preserveDstPad && static_cast<uint32_t>(dstRowBytes) == fRowBytes) {
520 if (fInfo.getSafeSize(dstRowBytes) > dstSize) {
529 row++, srcP += fRowBytes, dstP += dstRowBytes) {
493 copyPixelsTo(void* const dst, size_t dstSize, size_t dstRowBytes, bool preserveDstPad) const argument
/external/skia/src/ports/
H A DSkFontHost_FreeType_common.cpp191 const size_t dstRowBytes = dstMask.fRowBytes; local
204 size_t commonRowBytes = SkTMin(srcRowBytes, dstRowBytes);
208 dst += dstRowBytes;
226 dst += dstRowBytes;
244 dst += dstRowBytes;
/external/chromium_org/third_party/skia/src/effects/
H A DSkBlurMask.cpp439 static void clamp_with_orig(uint8_t dst[], int dstRowBytes, argument
468 dst += dstRowBytes - sw;
/external/skia/src/effects/
H A DSkBlurMask.cpp439 static void clamp_with_orig(uint8_t dst[], int dstRowBytes, argument
468 dst += dstRowBytes - sw;

Completed in 271 milliseconds