Searched defs:srcRow (Results 1 - 19 of 19) sorted by relevance

/external/skia/src/images/
H A DSkImageDecoder_pkm.cpp88 const uint8_t *srcRow = reinterpret_cast<uint8_t *>(outRGBDataPtr); local
89 srcRow += sampler.srcY0() * srcRowBytes;
91 sampler.next(srcRow);
92 srcRow += sampler.srcDY() * srcRowBytes;
H A DSkImageDecoder_astc.cpp163 const uint8_t *srcRow = reinterpret_cast<uint8_t *>(outRGBADataPtr); local
164 srcRow += sampler.srcY0() * srcRowBytes;
166 sampler.next(srcRow);
167 srcRow += sampler.srcDY() * srcRowBytes;
H A DSkImageDecoder_ktx.cpp148 const uint8_t *srcRow = reinterpret_cast<uint8_t *>(outRGBDataPtr); local
149 srcRow += sampler.srcY0() * srcRowBytes;
151 sampler.next(srcRow);
152 srcRow += sampler.srcDY() * srcRowBytes;
177 const uint8_t *srcRow = reinterpret_cast<uint8_t *>(outRGBDataPtr); local
178 srcRow += sampler.srcY0() * srcRowBytes;
180 sampler.next(srcRow);
181 srcRow += sampler.srcDY() * srcRowBytes;
196 const uint8_t *srcRow = reinterpret_cast<const uint8_t *>(ktxFile.pixelData()); local
197 srcRow
226 const uint8_t *srcRow = reinterpret_cast<const uint8_t *>(ktxFile.pixelData()); local
[all...]
H A DSkImageDecoder_libbmp.cpp154 const uint8_t* srcRow = callback.rgb(); local
156 srcRow += sampler.srcY0() * srcRowBytes;
158 sampler.next(srcRow);
159 srcRow += sampler.srcDY() * srcRowBytes;
H A DSkImageDecoder_libpng.cpp452 uint8_t* srcRow = (uint8_t*)storage.get(); local
453 skip_src_rows(png_ptr, srcRow, sampler.srcY0());
456 uint8_t* tmp = srcRow;
458 reallyHasAlpha |= sampler.next(srcRow);
460 skip_src_rows(png_ptr, srcRow, sampler.srcDY() - 1);
468 skip_src_rows(png_ptr, srcRow, origHeight - read);
936 uint8_t* srcRow = (uint8_t*)storage.get(); local
939 skip_src_rows(png_ptr, srcRow, sampler.srcY0());
942 png_read_rows(png_ptr, &srcRow, png_bytepp_NULL, 1);
945 uint8_t* tmp = srcRow;
[all...]
H A DSkImageDecoder_libjpeg.cpp706 uint8_t* srcRow = (uint8_t*)srcStorage.get(); local
709 if (!skip_src_rows(&cinfo, srcRow, sampler.srcY0())) {
715 JSAMPLE* rowptr = (JSAMPLE*)srcRow;
730 convert_CMYK_to_RGB(srcRow, cinfo.output_width);
733 sampler.next(srcRow);
739 if (!skip_src_rows(&cinfo, srcRow, sampler.srcDY() - 1)) {
745 if (!skip_src_rows(&cinfo, srcRow,
1149 uint8_t* srcRow = (uint8_t*)srcStorage.get(); local
1152 if (!skip_src_rows_tile(cinfo, fImageIndex->huffmanIndex(), srcRow, sampler.srcY0())) {
1158 JSAMPLE* rowptr = (JSAMPLE*)srcRow;
1277 Write_32_YUV(uint8_t* SK_RESTRICT dst, const void* SK_RESTRICT srcRow, int width, const SkPMColor*) argument
1294 Write_4444_YUV(uint8_t* SK_RESTRICT dst, const void* SK_RESTRICT srcRow, int width, const SkPMColor*) argument
1311 Write_16_YUV(uint8_t* SK_RESTRICT dst, const void* SK_RESTRICT srcRow, int width, const SkPMColor*) argument
1328 Write_Index_YUV(uint8_t* SK_RESTRICT dst, const void* SK_RESTRICT srcRow, int width, const SkPMColor* SK_RESTRICT ctable) argument
1415 const void* srcRow = bm.getPixels(); local
[all...]
/external/skia/src/codec/
H A DSkMaskSwizzler.cpp13 void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks) {
16 uint16_t* srcPtr = (uint16_t*) srcRow;
29 void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks) {
32 uint16_t* srcPtr = (uint16_t*) srcRow;
48 void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks) {
51 uint16_t* srcPtr = (uint16_t*) srcRow;
67 void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks) {
72 uint32_t p = srcRow[i] | (srcRow[i + 1] << 8) | srcRow[
12 swizzle_mask16_to_n32_opaque( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks) argument
28 swizzle_mask16_to_n32_unpremul( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks) argument
47 swizzle_mask16_to_n32_premul( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks) argument
66 swizzle_mask24_to_n32_opaque( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks) argument
81 swizzle_mask24_to_n32_unpremul( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks) argument
99 swizzle_mask24_to_n32_premul( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks) argument
117 swizzle_mask32_to_n32_opaque( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks) argument
133 swizzle_mask32_to_n32_unpremul( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks) argument
152 swizzle_mask32_to_n32_premul( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks) argument
[all...]
H A DSkCodec_libbmp.cpp754 uint8_t* srcRow = srcBuffer.get(); local
765 if (stream()->read(srcRow, rowBytes) != rowBytes) {
780 SkSwizzler::ResultAlpha r = maskSwizzler->next(srcRow, row);
784 srcRow = SkTAddOffset<uint8_t>(srcRow, rowBytes);
795 srcRow = srcBuffer.get();
799 opaqueSwizzler->next(srcRow, row);
802 srcRow = SkTAddOffset<uint8_t>(srcRow, rowBytes);
/external/mesa3d/src/mesa/main/
H A Dtexgetimage.c237 GLfloat *tempImage, *srcRow; local
298 srcRow = tempImage;
304 _mesa_pack_rgba_span_float(ctx, width, (GLfloat (*)[4]) srcRow,
306 srcRow += width * 4;
H A Dimage.c388 const GLubyte *srcRow = (const GLubyte *) local
399 const GLubyte *src = srcRow;
446 srcRow += srcStride;
H A Dtexstore.c906 const GLubyte *srcRow = srcImage; local
909 swizzle_copy(dstRow, dstComponents, srcRow, srcComponents, map, srcWidth);
911 srcRow += srcRowStride;
958 const GLubyte *srcRow = srcImage; local
961 memcpy(dstRow, srcRow, bytesPerRow);
963 srcRow += srcRowStride;
1335 GLubyte *srcRow = (GLubyte *) _mesa_image_address(dims, srcPacking, local
1342 srcRow[col * 3 + RCOMP],
1343 srcRow[col * 3 + GCOMP],
1344 srcRow[co
1362 const GLubyte *srcRow = (const GLubyte *) local
1394 GLubyte *srcRow = (GLubyte *) _mesa_image_address(dims, srcPacking, local
1487 GLubyte *srcRow = (GLubyte *) _mesa_image_address(dims, srcPacking, local
1560 GLubyte *srcRow = (GLubyte *) _mesa_image_address(dims, srcPacking, local
2675 const GLfloat *srcRow = tempImage; local
2734 const GLfloat *srcRow = tempImage; local
3061 const GLfloat *srcRow = tempImage; local
3751 const GLfloat *srcRow = tempImage; local
3799 const GLfloat *srcRow = tempImage; local
[all...]
H A Dformat_unpack.c2847 const GLubyte *srcRow; local
2853 srcRow = ((const GLubyte *) src) + srcRowStride * y + srcPixStride * x;
2857 unpack(srcRow, (GLfloat (*)[4]) dstRow, width);
2860 srcRow += srcRowStride;
/external/skia/src/core/
H A DSkBlitter_ARGB32.cpp32 const SkPMColor* srcRow = reinterpret_cast<const SkPMColor*>(mask.getAddr8(x, y)); local
35 proc(dstRow, srcRow, width, alpha);
37 srcRow = (const SkPMColor*)((const char*)srcRow + mask.fRowBytes);
H A DSkConfig8888.cpp263 const uint8_t* SK_RESTRICT srcRow = (const uint8_t*)srcPixels; local
265 dstRow[x] = SkDitherARGB32To4444(table[srcRow[x]], DITHER_VALUE(x));
268 const SkPMColor* SK_RESTRICT srcRow = (const SkPMColor*)srcPixels; local
270 dstRow[x] = SkDitherARGB32To4444(srcRow[x], DITHER_VALUE(x));
H A DSkBlitMask_D32.cpp92 const uint16_t* srcRow = (const uint16_t*)mask; local
107 proc(dstRow, srcRow, color, width, opaqueDst);
109 srcRow = (const uint16_t*)((const char*)srcRow + maskRB);
H A DSkScalerContext.cpp451 const SkPMColor* srcRow, size_t srcRB) {
459 dstRow[x] = SkGetPackedA32(srcRow[x]);
466 srcRow = (const SkPMColor*)((const char*)srcRow + srcRB);
450 extract_alpha(const SkMask& dst, const SkPMColor* srcRow, size_t srcRB) argument
H A DSkBitmap.cpp1248 const char* srcRow = dst + snugRB * (height - 1); local
1251 memmove(dstRow, srcRow, snugRB);
1252 srcRow -= snugRB;
1255 SkASSERT(srcRow == dstRow); // first row does not need to be moved
/external/skia/src/effects/
H A DSkMatrixConvolutionImageFilter.cpp256 const uint32_t* srcRow = src.getAddr32(0, y); local
259 dstRow[x] = SkUnPreMultiply::PMColorToColor(srcRow[x]);
/external/mesa3d/src/mesa/swrast/
H A Ds_blit.c281 GLint srcRow = (dstRow * srcHeight) / dstHeight; local
284 ASSERT(srcRow >= 0);
285 ASSERT(srcRow < srcHeight);
288 srcRow = srcHeight - 1 - srcRow;
292 if (prevY != srcRow) {
293 GLubyte *srcRowStart = srcMap + srcRowStride * srcRow;
318 prevY = srcRow;
609 const GLfloat srcRow = (dstRow * srcHeight) / dstHeightF; local
610 GLint srcRow0 = IFLOOR(srcRow);
[all...]

Completed in 443 milliseconds