Home
last modified time | relevance | path

Searched refs:dstWidth (Results 1 - 25 of 32) sorted by relevance

12

/third_party/skia/src/codec/
H A DSkSwizzler.cpp88 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, in swizzle_bit_to_grayscale()
100 for (int x = 1; x < dstWidth; x++) { in swizzle_bit_to_grayscale()
113 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, in swizzle_bit_to_n32()
124 for (int x = 1; x < dstWidth; x++) { in swizzle_bit_to_n32()
136 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, in swizzle_bit_to_565()
147 for (int x = 1; x < dstWidth; x++) { in swizzle_bit_to_565()
159 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, in swizzle_bit_to_f16()
179 for (int x = 1; x < dstWidth; x++) { in swizzle_bit_to_f16()
190 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, in swizzle_small_index_to_565()
201 for (int x = 1; x < dstWidth; in swizzle_small_index_to_565()
87 swizzle_bit_to_grayscale( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bpp, int deltaSrc, int offset, const SkPMColor* ) swizzle_bit_to_grayscale() argument
112 swizzle_bit_to_n32( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bpp, int deltaSrc, int offset, const SkPMColor* ) swizzle_bit_to_n32() argument
135 swizzle_bit_to_565( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bpp, int deltaSrc, int offset, const SkPMColor* ) swizzle_bit_to_565() argument
158 swizzle_bit_to_f16( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bpp, int deltaSrc, int offset, const SkPMColor* ) swizzle_bit_to_f16() argument
189 swizzle_small_index_to_565( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) swizzle_small_index_to_565() argument
210 swizzle_small_index_to_n32( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) swizzle_small_index_to_n32() argument
233 swizzle_index_to_n32( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) swizzle_index_to_n32() argument
246 swizzle_index_to_n32_skipZ( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) swizzle_index_to_n32_skipZ() argument
261 swizzle_index_to_565( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bytesPerPixel, int deltaSrc, int offset, const SkPMColor ctable[]) swizzle_index_to_565() argument
274 swizzle_gray_to_n32( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) swizzle_gray_to_n32() argument
299 swizzle_gray_to_565( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bytesPerPixel, int deltaSrc, int offset, const SkPMColor ctable[]) swizzle_gray_to_565() argument
376 swizzle_bgr_to_565( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) swizzle_bgr_to_565() argument
390 swizzle_rgb_to_rgba( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) swizzle_rgb_to_rgba() argument
402 swizzle_rgb_to_bgra( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) swizzle_rgb_to_bgra() argument
436 swizzle_rgb_to_565( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bytesPerPixel, int deltaSrc, int offset, const SkPMColor ctable[]) swizzle_rgb_to_565() argument
450 swizzle_rgba_to_rgba_premul( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) swizzle_rgba_to_rgba_premul() argument
462 swizzle_rgba_to_bgra_premul( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) swizzle_rgba_to_bgra_premul() argument
496 swizzle_rgba_to_bgra_unpremul( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) swizzle_rgba_to_bgra_unpremul() argument
672 swizzle_cmyk_to_rgba( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) swizzle_cmyk_to_rgba() argument
688 swizzle_cmyk_to_bgra( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) swizzle_cmyk_to_bgra() argument
726 swizzle_cmyk_to_565( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) swizzle_cmyk_to_565() argument
762 SkipLeading8888ZerosThen( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) SkipLeading8888ZerosThen() argument
1153 int dstWidth = srcWidth; Make() local
1170 SkSwizzler(RowProc fastProc, RowProc proc, const SkPMColor* ctable, int srcOffset, int srcWidth, int dstOffset, int dstWidth, int srcBPP, int dstBPP) SkSwizzler() argument
[all...]
H A DSkSwizzler.h96 * @param dstWidth Width in pixels of the destination
106 int dstWidth, int bpp, int deltaSrc, int offset,
112 int dstWidth, int bpp, int deltaSrc, int offset,
214 int srcWidth, int dstOffset, int dstWidth, int srcBPP, int dstBPP);
H A DSkHeifCodec.cpp265 int dstWidth = opts.fSubset ? opts.fSubset->width() : dstInfo.width(); in readRows() local
271 dstWidth = fSwizzler->swizzleWidth(); in readRows()
280 dstWidth = fSwizzler->swizzleWidth(); in readRows()
293 this->applyColorXform(dst, swizzleDst, dstWidth); in readRows()
416 int dstWidth = dstInfo.width(); in allocateStorage() local
421 dstWidth = fSwizzler->swizzleWidth(); in allocateStorage()
428 xformBytes = dstWidth * sizeof(uint32_t); in allocateStorage()
H A DSkJpegCodec.cpp439 const unsigned int dstWidth = size.width(); in onDimensionsSupported() local
454 while (dinfo.output_width != dstWidth || dinfo.output_height != dstHeight) { in onDimensionsSupported()
457 if (1 == num || dstWidth > dinfo.output_width || dstHeight > dinfo.output_height) { in onDimensionsSupported()
491 int dstWidth = opts.fSubset ? opts.fSubset->width() : dstInfo.width(); in readRows() local
497 dstWidth = fSwizzler->swizzleWidth(); in readRows()
506 dstWidth = fSwizzler->swizzleWidth(); in readRows()
520 this->applyColorXform(dst, swizzleDst, dstWidth); in readRows()
596 int dstWidth = dstInfo.width(); in allocateStorage() local
601 dstWidth = fSwizzler->swizzleWidth(); in allocateStorage()
608 xformBytes = dstWidth * sizeo in allocateStorage()
[all...]
/third_party/mesa3d/src/mesa/main/
H A Dmipmap.c178 GLint dstWidth, GLvoid *dstRow) in do_row()
180 const GLuint k0 = (srcWidth == dstWidth) ? 0 : 1; in do_row()
181 const GLuint colStride = (srcWidth == dstWidth) ? 1 : 2; in do_row()
187 assert(srcWidth == dstWidth || srcWidth == 2 * dstWidth); in do_row()
195 for (i = j = 0, k = k0; i < (GLuint) dstWidth; in do_row()
208 for (i = j = 0, k = k0; i < (GLuint) dstWidth; in do_row()
220 for (i = j = 0, k = k0; i < (GLuint) dstWidth; in do_row()
231 for (i = j = 0, k = k0; i < (GLuint) dstWidth; in do_row()
242 for (i = j = 0, k = k0; i < (GLuint) dstWidth; in do_row()
176 do_row(GLenum datatype, GLuint comps, GLint srcWidth, const GLvoid *srcRowA, const GLvoid *srcRowB, GLint dstWidth, GLvoid *dstRow) do_row() argument
809 do_row_3D(GLenum datatype, GLuint comps, GLint srcWidth, const GLvoid *srcRowA, const GLvoid *srcRowB, const GLvoid *srcRowC, const GLvoid *srcRowD, GLint dstWidth, GLvoid *dstRow) do_row_3D() argument
1442 make_1d_mipmap(GLenum datatype, GLuint comps, GLint border, GLint srcWidth, const GLubyte *srcPtr, GLint dstWidth, GLubyte *dstPtr) make_1d_mipmap() argument
1472 make_2d_mipmap(GLenum datatype, GLuint comps, GLint border, GLint srcWidth, GLint srcHeight, const GLubyte *srcPtr, GLint srcRowStride, GLint dstWidth, GLint dstHeight, GLubyte *dstPtr, GLint dstRowStride) make_2d_mipmap() argument
1564 make_3d_mipmap(GLenum datatype, GLuint comps, GLint border, GLint srcWidth, GLint srcHeight, GLint srcDepth, const GLubyte **srcPtr, GLint srcRowStride, GLint dstWidth, GLint dstHeight, GLint dstDepth, GLubyte **dstPtr, GLint dstRowStride) make_3d_mipmap() argument
1725 _mesa_generate_mipmap_level(GLenum target, GLenum datatype, GLuint comps, GLint border, GLint srcWidth, GLint srcHeight, GLint srcDepth, const GLubyte **srcData, GLint srcRowStride, GLint dstWidth, GLint dstHeight, GLint dstDepth, GLubyte **dstData, GLint dstRowStride) _mesa_generate_mipmap_level() argument
1793 _mesa_next_mipmap_level_size(GLenum target, GLint border, GLint srcWidth, GLint srcHeight, GLint srcDepth, GLint *dstWidth, GLint *dstHeight, GLint *dstDepth) _mesa_next_mipmap_level_size() argument
1968 GLint dstWidth, dstHeight, dstDepth; generate_mipmap_uncompressed() local
2155 GLint dstWidth, dstHeight, dstDepth; generate_mipmap_compressed() local
[all...]
H A Dmipmap.h51 GLint *dstWidth, GLint *dstHeight, GLint *dstDepth);
H A Dcopyimage.c619 int dstWidth, dstHeight, dstDepth; in _mesa_CopyImageSubData() local
702 dstWidth = srcWidth * dst_bw / src_bw; in _mesa_CopyImageSubData()
712 dstX, dstY, dstZ, dstWidth, dstHeight, dstDepth, in _mesa_CopyImageSubData()
/third_party/ffmpeg/libswscale/
H A Dhscale_fast_bilinear.c23 void ff_hyscale_fast_c(SwsContext *c, int16_t *dst, int dstWidth, in ff_hyscale_fast_c() argument
28 for (i = 0; i < dstWidth; i++) { in ff_hyscale_fast_c()
34 for (i=dstWidth-1; (i*xInc)>>16 >=srcW-1; i--) in ff_hyscale_fast_c()
39 int dstWidth, const uint8_t *src1, in ff_hcscale_fast_c()
44 for (i = 0; i < dstWidth; i++) { in ff_hcscale_fast_c()
51 for (i=dstWidth-1; (i*xInc)>>16 >=srcW-1; i--) { in ff_hcscale_fast_c()
38 ff_hcscale_fast_c(SwsContext *c, int16_t *dst1, int16_t *dst2, int dstWidth, const uint8_t *src1, const uint8_t *src2, int srcW, int xInc) ff_hcscale_fast_c() argument
H A Dswscale_internal.h604 int16_t *dst, int dstWidth,
607 int16_t *dst1, int16_t *dst2, int dstWidth,
972 void ff_hyscale_fast_c(SwsContext *c, int16_t *dst, int dstWidth,
975 int dstWidth, const uint8_t *src1,
981 int dstWidth, const uint8_t *src,
984 int dstWidth, const uint8_t *src1,
/third_party/skia/src/effects/
H A DSkTableMaskFilter.cpp66 int dstWidth = dst->fBounds.width(); in filterMask() local
67 int extraZeros = dst->fRowBytes - dstWidth; in filterMask()
70 for (int x = dstWidth - 1; x >= 0; --x) { in filterMask()
78 dstP += dstWidth; in filterMask()
/third_party/skia/src/core/
H A DSkBlurMask.cpp442 int dstWidth = dst->fBounds.width(); in BlurRect() local
446 SkAutoTMalloc<uint8_t> horizontalScanline(dstWidth); in BlurRect()
449 ComputeBlurredScanline(horizontalScanline, profile, dstWidth, sigma); in BlurRect()
453 for (int x = 0 ; x < dstWidth ; x++) { in BlurRect()
467 uint8_t *blur_scanline = dp + (y+pad)*dstWidth + pad; in BlurRect()
478 uint8_t *dst_scanline = dp + y*dstWidth + pad; in BlurRect()
483 uint8_t *dst_scanline = dp + y*dstWidth + pad; in BlurRect()
556 int dstWidth = dst->fBounds.width(); in BlurGroundTruth() local
614 uint8_t *outPixel = dstPixels + (x-pad)*dstWidth + y; // transposed output in BlurGroundTruth()
H A DSkImageInfo.cpp183 bool SkWritePixelsRec::trim(int dstWidth, int dstHeight) { in trim() argument
194 if (!dstR.intersect({0, 0, dstWidth, dstHeight})) { in trim()
H A DSkWritePixelsRec.h47 bool trim(int dstWidth, int dstHeight);
/third_party/ffmpeg/libswscale/x86/
H A Dhscale_fast_bilinear_simd.c194 int dstWidth, const uint8_t *src, in ff_hyscale_fast_mmxext()
279 for (i=dstWidth-1; (i*xInc)>>16 >=srcW-1; i--) in ff_hyscale_fast_mmxext()
284 int dstWidth, const uint8_t *src1, in ff_hcscale_fast_mmxext()
356 for (i=dstWidth-1; (i*xInc)>>16 >=srcW-1; i--) { in ff_hcscale_fast_mmxext()
193 ff_hyscale_fast_mmxext(SwsContext *c, int16_t *dst, int dstWidth, const uint8_t *src, int srcW, int xInc) ff_hyscale_fast_mmxext() argument
283 ff_hcscale_fast_mmxext(SwsContext *c, int16_t *dst1, int16_t *dst2, int dstWidth, const uint8_t *src1, const uint8_t *src2, int srcW, int xInc) ff_hcscale_fast_mmxext() argument
H A Doutput.asm467 ; uint8_t *dst, int dstWidth)
472 ; uint8_t *dst, int dstWidth)
477 cglobal %1cX, 8, 11, 13, tmp1, dither, filter, filterSize, u, v, dst, dstWidth
494 DEFINE_ARGS tmp1, tmp2, filter, filterSize, u, v, dst, dstWidth
/third_party/vk-gl-cts/framework/delibs/deimage/
H A DdeImage.c117 deImage* deImage_scale (const deImage* srcImage, int dstWidth, int dstHeight) in deImage_scale() argument
121 deImage* result = deImage_create(dstWidth, dstHeight, srcImage->format); in deImage_scale()
126 for (x = 0; x < dstWidth; x++) in deImage_scale()
128 float xFloat = ((float)x + 0.5f) / (float)dstWidth * (float)srcImage->width - 0.5f; in deImage_scale()
H A DdeImage.h59 deImage* deImage_scale (const deImage* image, int dstWidth, int dstHeight);
/third_party/skia/src/effects/imagefilters/
H A DSkMagnifierImageFilter.cpp235 int dstWidth = dst.width(), dstHeight = dst.height(); in onFilterImage() local
237 for (int x = 0; x < dstWidth; ++x) { in onFilterImage()
238 SkScalar x_dist = std::min(x, dstWidth - x - 1) * invInset; in onFilterImage()
H A DSkAlphaThresholdImageFilter.cpp265 int dstWidth = dst.width(), dstHeight = dst.height(); in onFilterImage() local
270 for (int x = 0; x < dstWidth; ++x) { in onFilterImage()
296 dptr[y * dstWidth + x] = outputColor; in onFilterImage()
/third_party/skia/src/ports/skia_ohos/
H A DFontConfig_ohos.cpp287 int dstWidth = dstStyle.width(); in getFontStyleDifference() local
292 // If dstWidth <= kNormal_Width (5), first check narrower values, then wider values. in getFontStyleDifference()
293 // If dstWidth > kNormal_Width, first check wider values, then narrower values. in getFontStyleDifference()
294 // When dstWidth and srcWidth are at different side of kNormal_Width, in getFontStyleDifference()
297 if (dstWidth <= normalWidth) { in getFontStyleDifference()
298 widthDiff = (srcWidth <= dstWidth) ? (dstWidth - srcWidth) in getFontStyleDifference()
299 : (srcWidth - dstWidth + kWidthDiffThreshold); in getFontStyleDifference()
301 widthDiff = (srcWidth >= dstWidth) ? (srcWidth - dstWidth) in getFontStyleDifference()
[all...]
/third_party/skia/samplecode/
H A DSampleStrokePath.cpp77 static void scale_to_width(SkPath* path, SkScalar dstWidth) { in scale_to_width() argument
79 SkScalar scale = dstWidth / bounds.width(); in scale_to_width()
/third_party/skia/bench/
H A DCompositingImagesBench.cpp280 float dstWidth = srcRect.width() * 1.25f; in getEntry() local
282 SkRect dstRect = SkRect::MakeXYWH(dstWidth * x, dstHeight * y, dstWidth, dstHeight); in getEntry()
/third_party/skia/third_party/externals/swiftshader/src/Device/
H A DBC_Decoder.cpp942 void decode(uint8_t *dst, int dstX, int dstY, int dstWidth, int dstHeight, size_t dstPitch, size_t dstBpp, bool isSigned) const in decode()
963 for(int x = 0; x < 4 && x + dstX < dstWidth; x++) in decode()
1077 if((y + dstY >= dstHeight) || (x + dstX >= dstWidth)) in decode()
1448 void decode(uint8_t *dst, int dstX, int dstY, int dstWidth, int dstHeight, size_t dstPitch) const in decode()
1456 for(int x = 0; x < 4 && x + dstX < dstWidth; x++) in decode()
1548 if(y + dstY >= dstHeight || x + dstX >= dstWidth) in decode()
1538 ASSERT(partitionIdx < MaxPartitions); auto subsetIdx = subsetIndex(mode, partitionIdx, texelIdx); ASSERT(subsetIdx < MaxSubsets); auto const &subset = subsets[subsetIdx]; auto anchorIdx = anchorIndex(mode, partitionIdx, subsetIdx); auto isAnchor = anchorIdx == texelIdx; auto colorIdx = colorIndex(mode, isAnchor, colorIndexBitOffset); auto alphaIdx = alphaIndex(mode, isAnchor, alphaIndexBitOffset); if(y + dstY >= dstHeight || x + dstX >= dstWidth) decode() argument
/third_party/skia/src/gpu/dawn/
H A DGrDawnGpu.cpp761 int dstWidth = std::max(1, srcWidth / 2); in onRegenerateMipMapLevels() local
794 wgpu::Extent3D copySize = {(uint32_t)dstWidth, (uint32_t)dstHeight, 1}; in onRegenerateMipMapLevels()
804 srcWidth = dstWidth; in onRegenerateMipMapLevels()
/third_party/ffmpeg/libswscale/ppc/
H A Dswscale_vsx.c1669 static void hyscale_fast_vsx(SwsContext *c, int16_t *dst, int dstWidth, in hyscale_fast_vsx() argument
1700 for (i = 0; i < dstWidth; i += 16) { in hyscale_fast_vsx()
1757 for (i=dstWidth-1; (i*xInc)>>16 >=srcW-1; i--) in hyscale_fast_vsx()
1785 int dstWidth, const uint8_t *src1, in hcscale_fast_vsx()
1815 for (i = 0; i < dstWidth; i += 16) { in hcscale_fast_vsx()
1853 for (i=dstWidth-1; (i*xInc)>>16 >=srcW-1; i--) { in hcscale_fast_vsx()
1784 hcscale_fast_vsx(SwsContext *c, int16_t *dst1, int16_t *dst2, int dstWidth, const uint8_t *src1, const uint8_t *src2, int srcW, int xInc) hcscale_fast_vsx() argument

Completed in 27 milliseconds

12