/third_party/ffmpeg/libavcodec/ |
D | vc1_mc.c | 35 static av_always_inline void vc1_scale_luma(uint8_t *srcY, in vc1_scale_luma() argument 41 srcY[i] = ((srcY[i] - 128) >> 1) + 128; in vc1_scale_luma() 42 srcY += linesize; in vc1_scale_luma() 60 static av_always_inline void vc1_lut_scale_luma(uint8_t *srcY, in vc1_lut_scale_luma() argument 68 srcY[i] = lut1[srcY[i]]; in vc1_lut_scale_luma() 69 srcY += linesize; in vc1_lut_scale_luma() 75 srcY[i] = lut2[srcY[i]]; in vc1_lut_scale_luma() 76 srcY += linesize; in vc1_lut_scale_luma() 176 uint8_t *srcY, *srcU, *srcV; in ff_vc1_mc_1mv() local 222 srcY = s->current_picture.f->data[0]; in ff_vc1_mc_1mv() [all …]
|
/third_party/mesa3d/src/mesa/main/ |
D | copyimage.c | 541 int srcX, int srcY, int srcZ, int srcLevel, in copy_image_subdata() argument 572 srcX, srcY, newSrcZ, in copy_image_subdata() 581 GLint srcX, GLint srcY, GLint srcZ, in _mesa_CopyImageSubData_no_error() argument 597 copy_image_subdata(ctx, srcTexImage, srcRenderbuffer, srcX, srcY, srcZ, in _mesa_CopyImageSubData_no_error() 604 GLint srcX, GLint srcY, GLint srcZ, in _mesa_CopyImageSubData() argument 624 srcX, srcY, srcZ, in _mesa_CopyImageSubData() 671 if ((srcX % src_bw != 0) || (srcY % src_bh != 0) || in _mesa_CopyImageSubData() 673 (srcHeight % src_bh != 0 && (srcY + srcHeight) != src_h)) { in _mesa_CopyImageSubData() 705 srcX, srcY, srcZ, srcWidth, srcHeight, srcDepth, in _mesa_CopyImageSubData() 733 copy_image_subdata(ctx, srcTexImage, srcRenderbuffer, srcX, srcY, srcZ, in _mesa_CopyImageSubData() [all …]
|
D | copyimage.h | 40 GLint srcX, GLint srcY, GLint srcZ, 47 GLint srcX, GLint srcY, GLint srcZ, 54 GLint srcX, GLint srcY, GLint srcZ, 61 GLint srcX, GLint srcY, GLint srcZ,
|
D | image.c | 677 GLint *srcX, GLint *srcY, in _mesa_clip_readpixels() argument 713 if (*srcY < 0) { in _mesa_clip_readpixels() 714 pack->SkipRows += (0 - *srcY); in _mesa_clip_readpixels() 715 *height -= (0 - *srcY); in _mesa_clip_readpixels() 716 *srcY = 0; in _mesa_clip_readpixels() 719 if (*srcY + *height > clip_height) in _mesa_clip_readpixels() 720 *height -= (*srcY + *height - clip_height); in _mesa_clip_readpixels() 740 GLint *srcX, GLint *srcY, in _mesa_clip_copytexsubimage() argument 744 const GLint srcX0 = *srcX, srcY0 = *srcY; in _mesa_clip_copytexsubimage() 747 srcX, srcY, width, height)) { in _mesa_clip_copytexsubimage() [all …]
|
/third_party/gstreamer/gstplugins_good/gst/videobox/ |
D | gstvideobox.c | 720 const guint8 *srcY, *srcU, *srcV; in copy_y444_y444() local 736 srcY = GST_VIDEO_FRAME_COMP_DATA (src, 0); in copy_y444_y444() 744 srcY = srcY + src_y * src_strideY + src_x; in copy_y444_y444() 758 y = APPLY_MATRIX (matrix, 0, srcY[j], srcU[j], srcV[j]); in copy_y444_y444() 759 u = APPLY_MATRIX (matrix, 1, srcY[j], srcU[j], srcV[j]); in copy_y444_y444() 760 v = APPLY_MATRIX (matrix, 2, srcY[j], srcU[j], srcV[j]); in copy_y444_y444() 770 srcY += src_strideY; in copy_y444_y444() 776 memcpy (destY, srcY, w); in copy_y444_y444() 784 srcY += src_strideY; in copy_y444_y444() 798 const guint8 *srcY, *srcU, *srcV; in copy_y42b_y42b() local [all …]
|
/third_party/skia/src/image/ |
D | SkRescaleAndReadPixels.cpp | 68 int srcY = srcRect.fTop; in SkRescaleAndReadPixels() local 83 linearSurf->getCanvas()->drawImage(bmp.asImage().get(), -srcX, -srcY, sampling, &paint); in SkRescaleAndReadPixels() 87 srcY = 0; in SkRescaleAndReadPixels() 125 srcImage.get(), SkRect::Make(SkIRect::MakeXYWH(srcX, srcY, srcW, srcH)), in SkRescaleAndReadPixels() 129 srcX = srcY = 0; in SkRescaleAndReadPixels() 138 if (srcImage->readPixels(nullptr, pm, srcX, srcY)) { in SkRescaleAndReadPixels()
|
D | SkSurface.cpp | 239 bool SkSurface::readPixels(const SkPixmap& pm, int srcX, int srcY) { in readPixels() argument 240 return this->getCanvas()->readPixels(pm, srcX, srcY); in readPixels() 244 int srcX, int srcY) { in readPixels() argument 245 return this->readPixels({dstInfo, dstPixels, dstRowBytes}, srcX, srcY); in readPixels() 248 bool SkSurface::readPixels(const SkBitmap& bitmap, int srcX, int srcY) { in readPixels() argument 250 return bitmap.peekPixels(&pm) && this->readPixels(pm, srcX, srcY); in readPixels()
|
D | SkImage.cpp | 61 size_t dstRowBytes, int srcX, int srcY, CachingHint chint) const { in readPixels() argument 62 return as_IB(this)->onReadPixels(dContext, dstInfo, dstPixels, dstRowBytes, srcX, srcY, chint); in readPixels() 67 size_t dstRowBytes, int srcX, int srcY, CachingHint chint) const { in readPixels() argument 69 return this->readPixels(dContext, dstInfo, dstPixels, dstRowBytes, srcX, srcY, chint); in readPixels() 455 bool SkImage::readPixels(GrDirectContext* dContext, const SkPixmap& pmap, int srcX, int srcY, in readPixels() argument 458 srcY, chint); in readPixels() 462 bool SkImage::readPixels(const SkPixmap& pmap, int srcX, int srcY, CachingHint chint) const { in readPixels() argument 464 return this->readPixels(dContext, pmap, srcX, srcY, chint); in readPixels()
|
/third_party/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/ |
D | TJCompressor.java | 159 srcY = y; in setSourceImage() 173 srcX = srcY = -1; in setSourceImage() 203 srcY = y; in setSourceImage() 348 if (srcX >= 0 && srcY >= 0) in compress() 349 compressedSize = compress(srcBuf, srcX, srcY, srcWidth, srcPitch, in compress() 357 if (srcX >= 0 && srcY >= 0) in compress() 358 compressedSize = compress(srcBufInt, srcX, srcY, srcWidth, srcStride, in compress() 445 encodeYUV(srcBufInt, srcX, srcY, srcWidth, srcStride, srcHeight, in encodeYUV() 449 encodeYUV(srcBuf, srcX, srcY, srcWidth, srcPitch, srcHeight, in encodeYUV() 674 private int srcY = -1; field in TJCompressor
|
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/ |
D | TJCompressor.java | 159 srcY = y; in setSourceImage() 173 srcX = srcY = -1; in setSourceImage() 203 srcY = y; in setSourceImage() 348 if (srcX >= 0 && srcY >= 0) in compress() 349 compressedSize = compress(srcBuf, srcX, srcY, srcWidth, srcPitch, in compress() 357 if (srcX >= 0 && srcY >= 0) in compress() 358 compressedSize = compress(srcBufInt, srcX, srcY, srcWidth, srcStride, in compress() 438 encodeYUV(srcBufInt, srcX, srcY, srcWidth, srcStride, srcHeight, in encodeYUV() 442 encodeYUV(srcBuf, srcX, srcY, srcWidth, srcPitch, srcHeight, in encodeYUV() 667 private int srcY = -1; field in TJCompressor
|
/third_party/flutter/skia/src/image/ |
D | SkSurface.cpp | 130 int srcY = srcRect.fTop; in onAsyncRescaleAndReadPixels() local 151 this->draw(linearSurf->getCanvas(), -srcX, -srcY, &paint); in onAsyncRescaleAndReadPixels() 154 srcY = 0; in onAsyncRescaleAndReadPixels() 189 src->makeImageSnapshot(), SkIRect::MakeXYWH(srcX, srcY, srcW, srcH), in onAsyncRescaleAndReadPixels() 192 srcX = srcY = 0; in onAsyncRescaleAndReadPixels() 200 if (src->readPixels(pm, srcX, srcY)) { in onAsyncRescaleAndReadPixels() 336 bool SkSurface::readPixels(const SkPixmap& pm, int srcX, int srcY) { in readPixels() argument 337 return this->getCanvas()->readPixels(pm, srcX, srcY); in readPixels() 341 int srcX, int srcY) { in readPixels() argument 342 return this->readPixels({dstInfo, dstPixels, dstRowBytes}, srcX, srcY); in readPixels() [all …]
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/ |
D | common_func_fp32.c | 80 const float *srcY = srcX + i * w * unitStep; in WinogradTransLeft() local 85 dstX[j] += srcY[j] * b; in WinogradTransLeft() 97 const float *srcY = S + y * k * unitStep; in WinogradTransRight() local 103 const float *srcX = srcY + i * unitStep; in WinogradTransRight()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
D | RenderbufferImpl.h | 56 GLint srcY, 70 GLint srcY, 101 GLint srcY, in copyRenderbufferSubData() argument 119 GLint srcY, in copyTextureSubData() argument
|
/third_party/flutter/skia/src/codec/ |
D | SkSampledCodec.cpp | 316 int srcY = this->codec()->nextScanline(); in sampledDecode() local 317 if (is_coord_necessary(srcY, sampleY, dstHeight)) { in sampledDecode() 319 rowBytes * get_dst_coord(srcY, sampleY)); in sampledDecode() 338 int srcY = this->codec()->outputScanline(y); in sampledDecode() local 339 if (!is_coord_necessary(srcY, sampleY, dstHeight)) { in sampledDecode() 343 void* rowPtr = SkTAddOffset<void>(pixels, rowBytes * get_dst_coord(srcY, sampleY)); in sampledDecode()
|
/third_party/skia/src/codec/ |
D | SkSampledCodec.cpp | 313 int srcY = this->codec()->nextScanline(); in sampledDecode() local 314 if (is_coord_necessary(srcY, sampleY, dstHeight)) { in sampledDecode() 316 rowBytes * get_dst_coord(srcY, sampleY)); in sampledDecode() 335 int srcY = this->codec()->outputScanline(y); in sampledDecode() local 336 if (!is_coord_necessary(srcY, sampleY, dstHeight)) { in sampledDecode() 340 void* rowPtr = SkTAddOffset<void>(pixels, rowBytes * get_dst_coord(srcY, sampleY)); in sampledDecode()
|
/third_party/mesa3d/src/gallium/frontends/xa/ |
D | xa_renderer.c | 232 float srcX, float srcY, float dstX, float dstY, in add_vertex_data1() argument 238 compute_src_coords(srcX, srcY, src, src_matrix, width, height, in add_vertex_data1() 252 float srcX, float srcY, float maskX, float maskY, in add_vertex_data2() argument 261 compute_src_coords(srcX, srcY, src, src_matrix, width, height, in add_vertex_data2() 283 float srcY, in setup_vertex_data_yuv() argument 295 spt0[1] = srcY; in setup_vertex_data_yuv() 297 spt1[1] = srcY + srcH; in setup_vertex_data_yuv()
|
/third_party/gstreamer/gstplugins_good/gst/alpha/ |
D | gstalpha.c | 1354 const guint8 *srcY, *srcY_tmp; in gst_alpha_set_planar_yuv_ayuv() local 1369 srcY_tmp = srcY = GST_VIDEO_FRAME_COMP_DATA (in_frame, 0); in gst_alpha_set_planar_yuv_ayuv() 1398 dest[1] = srcY[0]; in gst_alpha_set_planar_yuv_ayuv() 1403 srcY++; in gst_alpha_set_planar_yuv_ayuv() 1410 srcY_tmp = srcY = srcY_tmp + y_stride; in gst_alpha_set_planar_yuv_ayuv() 1430 y = srcY[0]; in gst_alpha_set_planar_yuv_ayuv() 1440 srcY++; in gst_alpha_set_planar_yuv_ayuv() 1447 srcY_tmp = srcY = srcY_tmp + y_stride; in gst_alpha_set_planar_yuv_ayuv() 1466 const guint8 *srcY, *srcY_tmp; in gst_alpha_chroma_key_planar_yuv_ayuv() local 1491 srcY_tmp = srcY = GST_VIDEO_FRAME_COMP_DATA (in_frame, 0); in gst_alpha_chroma_key_planar_yuv_ayuv() [all …]
|
/third_party/ffmpeg/libswscale/arm/ |
D | yuv2rgb_neon.S | 101 ldr r4, [sp, #104] @ r4 = srcY 111 …add r12, r4, r5 @ r12 = srcY + linesizeY (srcY2) 126 ldr r4, [sp, #104] @ r4 = srcY 135 …add r12, r4, r5 @ r12 = srcY + linesizeY (srcY2) 146 ldr r4, [sp, #104] @ r4 = srcY 261 add r4, r4, r5 @ srcY += paddingY
|
/third_party/flutter/skia/include/core/ |
D | SkPixmap.h | 598 int srcY) const; 622 bool readPixels(const SkPixmap& dst, int srcX, int srcY) const { in readPixels() argument 623 return this->readPixels(dst.info(), dst.writable_addr(), dst.rowBytes(), srcX, srcY); in readPixels()
|
D | SkSurface.h | 660 bool readPixels(const SkPixmap& dst, int srcX, int srcY); 692 int srcX, int srcY); 722 bool readPixels(const SkBitmap& dst, int srcX, int srcY);
|
/third_party/mesa3d/src/mesa/swrast/ |
D | s_copypix.c | 436 GLint srcX, GLint srcY, GLsizei width, GLsizei height, in swrast_fast_copy_pixels() argument 486 srcY < 0 || srcY + height > (GLint) srcFb->Height || in swrast_fast_copy_pixels() 512 srcMap = map + srcY * rowStride + srcX * pixelBytes; in swrast_fast_copy_pixels() 516 if (srcY < dstY) { in swrast_fast_copy_pixels() 531 ctx->Driver.MapRenderbuffer(ctx, srcRb, srcX, srcY, in swrast_fast_copy_pixels()
|
/third_party/skia/include/core/ |
D | SkPixmap.h | 594 int srcY) const; 618 bool readPixels(const SkPixmap& dst, int srcX, int srcY) const { in readPixels() argument 619 return this->readPixels(dst.info(), dst.writable_addr(), dst.rowBytes(), srcX, srcY); in readPixels()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | Renderbuffer.cpp | 199 GLint srcY, in copyRenderbufferSubData() argument 209 ANGLE_TRY(mImplementation->copyRenderbufferSubData(context, srcBuffer, srcLevel, srcX, srcY, in copyRenderbufferSubData() 220 GLint srcY, in copyTextureSubData() argument 230 ANGLE_TRY(mImplementation->copyTextureSubData(context, srcTexture, srcLevel, srcX, srcY, srcZ, in copyTextureSubData()
|
/third_party/gstreamer/gstplugins_good/gst/smpte/ |
D | gstsmptealpha.c | 383 const guint8 *srcY; in gst_smpte_alpha_process_i420_ayuv() local 417 srcY = GST_VIDEO_FRAME_COMP_DATA (in_frame, 0); in gst_smpte_alpha_process_i420_ayuv() 430 *out++ = *srcY++; in gst_smpte_alpha_process_i420_ayuv() 435 *out++ = *srcY++; in gst_smpte_alpha_process_i420_ayuv() 443 *out++ = *srcY++; in gst_smpte_alpha_process_i420_ayuv() 454 srcY += src_wrap; in gst_smpte_alpha_process_i420_ayuv()
|
/third_party/flutter/skia/src/gpu/ |
D | GrSurfaceContext.cpp | 452 int srcY = srcRect.fTop; in rescale() local 462 srcY = 0; in rescale() 503 srcY = 0; in rescale() 549 matrix.setScaleTranslate((float)srcW / nextW, (float)srcH / nextH, srcX, srcY); in rescale() 559 SkIRect::MakeXYWH(srcX, srcY, srcW, srcH), GrTextureDomain::kClamp_Mode); in rescale() 575 auto srcSubset = SkRect::MakeXYWH(srcX, srcY, srcW, srcH); in rescale() 581 srcX = srcY = 0; in rescale()
|