Home
last modified time | relevance | path

Searched refs:srcY (Results 1 – 25 of 99) sorted by relevance

1234

/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
DTJCompressor.java159 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
/external/mesa3d/src/mesa/main/
Dcopyimage.c536 int srcX, int srcY, int srcZ, int srcLevel, in copy_image_subdata() argument
567 srcX, srcY, newSrcZ, in copy_image_subdata()
576 GLint srcX, GLint srcY, GLint srcZ, in _mesa_CopyImageSubData_no_error() argument
592 copy_image_subdata(ctx, srcTexImage, srcRenderbuffer, srcX, srcY, srcZ, in _mesa_CopyImageSubData_no_error()
599 GLint srcX, GLint srcY, GLint srcZ, in _mesa_CopyImageSubData() argument
619 srcX, srcY, srcZ, in _mesa_CopyImageSubData()
666 if ((srcX % src_bw != 0) || (srcY % src_bh != 0) || in _mesa_CopyImageSubData()
668 (srcHeight % src_bh != 0 && (srcY + srcHeight) != src_h)) { in _mesa_CopyImageSubData()
700 srcX, srcY, srcZ, srcWidth, srcHeight, srcDepth, in _mesa_CopyImageSubData()
728 copy_image_subdata(ctx, srcTexImage, srcRenderbuffer, srcX, srcY, srcZ, in _mesa_CopyImageSubData()
Dimage.c677 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 …]
Dcopyimage.h40 GLint srcX, GLint srcY, GLint srcZ,
47 GLint srcX, GLint srcY, GLint srcZ,
Dimage.h114 GLint *srcX, GLint *srcY,
121 GLint *srcX, GLint *srcY,
/external/mesa3d/src/gallium/state_trackers/xa/
Dxa_renderer.c200 float srcX, float srcY, float dstX, float dstY, in add_vertex_data1() argument
208 pt0[1] = srcY; in add_vertex_data1()
210 pt1[1] = srcY; in add_vertex_data1()
212 pt2[1] = (srcY + height); in add_vertex_data1()
214 pt3[1] = (srcY + height); in add_vertex_data1()
244 float srcX, float srcY, float maskX, float maskY, in add_vertex_data2() argument
256 spt0[1] = srcY; in add_vertex_data2()
258 spt1[1] = srcY + height; in add_vertex_data2()
302 float srcY, in setup_vertex_data_yuv() argument
314 spt0[1] = srcY; in setup_vertex_data_yuv()
[all …]
Dxa_composite.h135 int srcX, int srcY, int maskX, int maskY,
/external/skqp/src/image/
DSkSurface.cpp196 bool SkSurface::readPixels(const SkPixmap& pm, int srcX, int srcY) { in readPixels() argument
197 return this->getCanvas()->readPixels(pm, srcX, srcY); in readPixels()
201 int srcX, int srcY) { in readPixels() argument
202 return this->readPixels({dstInfo, dstPixels, dstRowBytes}, srcX, srcY); in readPixels()
205 bool SkSurface::readPixels(const SkBitmap& bitmap, int srcX, int srcY) { in readPixels() argument
207 return bitmap.peekPixels(&pm) && this->readPixels(pm, srcX, srcY); in readPixels()
DSkImage.cpp53 int srcX, int srcY, CachingHint chint) const { in readPixels() argument
54 return as_IB(this)->onReadPixels(dstInfo, dstPixels, dstRowBytes, srcX, srcY, chint); in readPixels()
205 bool SkImage::readPixels(const SkPixmap& pmap, int srcX, int srcY, CachingHint chint) const { in readPixels() argument
206 return this->readPixels(pmap.info(), pmap.writable_addr(), pmap.rowBytes(), srcX, srcY, chint); in readPixels()
DSkImage_Raster.cpp79 …bool onReadPixels(const SkImageInfo&, void*, size_t, int srcX, int srcY, CachingHint) const overri…
157 int srcX, int srcY, CachingHint) const { in onReadPixels() argument
159 return shallowCopy.readPixels(dstInfo, dstPixels, dstRowBytes, srcX, srcY); in onReadPixels()
/external/skia/src/image/
DSkSurface.cpp196 bool SkSurface::readPixels(const SkPixmap& pm, int srcX, int srcY) { in readPixels() argument
197 return this->getCanvas()->readPixels(pm, srcX, srcY); in readPixels()
201 int srcX, int srcY) { in readPixels() argument
202 return this->readPixels({dstInfo, dstPixels, dstRowBytes}, srcX, srcY); in readPixels()
205 bool SkSurface::readPixels(const SkBitmap& bitmap, int srcX, int srcY) { in readPixels() argument
207 return bitmap.peekPixels(&pm) && this->readPixels(pm, srcX, srcY); in readPixels()
DSkImage_Raster.cpp79 …bool onReadPixels(const SkImageInfo&, void*, size_t, int srcX, int srcY, CachingHint) const overri…
159 int srcX, int srcY, CachingHint) const { in onReadPixels() argument
161 return shallowCopy.readPixels(dstInfo, dstPixels, dstRowBytes, srcX, srcY); in onReadPixels()
DSkImage.cpp53 int srcX, int srcY, CachingHint chint) const { in readPixels() argument
54 return as_IB(this)->onReadPixels(dstInfo, dstPixels, dstRowBytes, srcX, srcY, chint); in readPixels()
211 bool SkImage::readPixels(const SkPixmap& pmap, int srcX, int srcY, CachingHint chint) const { in readPixels() argument
212 return this->readPixels(pmap.info(), pmap.writable_addr(), pmap.rowBytes(), srcX, srcY, chint); in readPixels()
/external/skqp/src/codec/
DSkSampledCodec.cpp316 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()
/external/skia/src/codec/
DSkSampledCodec.cpp316 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()
/external/skqp/include/core/
DSkSurface.h560 bool readPixels(const SkPixmap& dst, int srcX, int srcY);
592 int srcX, int srcY);
622 bool readPixels(const SkBitmap& dst, int srcX, int srcY);
DSkPixmap.h591 int srcY) const;
615 bool readPixels(const SkPixmap& dst, int srcX, int srcY) const { in readPixels() argument
616 return this->readPixels(dst.info(), dst.writable_addr(), dst.rowBytes(), srcX, srcY); in readPixels()
DSkBitmap.h960 int srcX, int srcY) const;
988 bool readPixels(const SkPixmap& dst, int srcX, int srcY) const;
/external/skia/include/core/
DSkSurface.h609 bool readPixels(const SkPixmap& dst, int srcX, int srcY);
641 int srcX, int srcY);
671 bool readPixels(const SkBitmap& dst, int srcX, int srcY);
DSkPixmap.h603 int srcY) const;
627 bool readPixels(const SkPixmap& dst, int srcX, int srcY) const { in readPixels() argument
628 return this->readPixels(dst.info(), dst.writable_addr(), dst.rowBytes(), srcX, srcY); in readPixels()
DSkBitmap.h942 int srcX, int srcY) const;
970 bool readPixels(const SkPixmap& dst, int srcX, int srcY) const;
/external/mesa3d/src/mesa/swrast/
Ds_copypix.c436 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()
/external/mesa3d/src/gallium/drivers/svga/include/
Dsvga_reg.h1137 uint32 srcY; member
1354 uint32 srcY; member
1377 uint32 srcY; member
/external/skqp/docs/
DSkSurface_Reference.bmh879 #Method bool readPixels(const SkPixmap& dst, int srcX, int srcY)
884 Source Rect corners are (srcX, srcY) and Surface (width(), height()).
897 Pass negative values for srcX or srcY to offset pixels across or down destination.
909 #Param srcY offset into readable pixels on y-axis; may be negative ##
939 int srcX, int srcY)
943 Source Rect corners are (srcX, srcY) and Surface (width(), height()).
956 Pass negative values for srcX or srcY to offset pixels across or down destination.
970 #Param srcY offset into readable pixels on y-axis; may be negative ##
1004 #Method bool readPixels(const SkBitmap& dst, int srcX, int srcY)
1008 Source Rect corners are (srcX, srcY) and Surface (width(), height()).
[all …]
/external/skia/docs/
DSkSurface_Reference.bmh896 #Method bool readPixels(const SkPixmap& dst, int srcX, int srcY)
901 Source Rect corners are (srcX, srcY) and Surface (width(), height()).
914 Pass negative values for srcX or srcY to offset pixels across or down destination.
926 #Param srcY offset into readable pixels on y-axis; may be negative ##
956 int srcX, int srcY)
960 Source Rect corners are (srcX, srcY) and Surface (width(), height()).
973 Pass negative values for srcX or srcY to offset pixels across or down destination.
987 #Param srcY offset into readable pixels on y-axis; may be negative ##
1021 #Method bool readPixels(const SkBitmap& dst, int srcX, int srcY)
1025 Source Rect corners are (srcX, srcY) and Surface (width(), height()).
[all …]

1234