Home
last modified time | relevance | path

Searched refs:srcX (Results 1 – 25 of 105) sorted by relevance

12345

/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
DTJCompressor.java158 srcX = x; in setSourceImage()
173 srcX = srcY = -1; in setSourceImage()
202 srcX = x; 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()
666 private int srcX = -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()
667 (srcWidth % src_bw != 0 && (srcX + srcWidth) != src_w) || 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
700 if (*srcX < 0) { in _mesa_clip_readpixels()
701 pack->SkipPixels += (0 - *srcX); in _mesa_clip_readpixels()
702 *width -= (0 - *srcX); in _mesa_clip_readpixels()
703 *srcX = 0; in _mesa_clip_readpixels()
706 if (*srcX + *width > clip_width) in _mesa_clip_readpixels()
707 *width -= (*srcX + *width - clip_width); 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/clang/test/CodeGenCXX/
Dcopy-assign-synthesis.cpp69 X srcX; variable
74 dstY = dstX = srcX; in main()
75 srcX.pr(); in main()
Dcopy-assign-synthesis-1.cpp84 X srcX; variable
89 dstY = dstX = srcX; in main()
90 srcX.pr(); in main()
/external/mesa3d/src/gallium/state_trackers/xa/
Dxa_renderer.c200 float srcX, float srcY, float dstX, float dstY, in add_vertex_data1() argument
207 pt0[0] = srcX; in add_vertex_data1()
209 pt1[0] = (srcX + width); in add_vertex_data1()
211 pt2[0] = (srcX + width); in add_vertex_data1()
213 pt3[0] = srcX; in add_vertex_data1()
244 float srcX, float srcY, float maskX, float maskY, in add_vertex_data2() argument
255 spt0[0] = srcX; in add_vertex_data2()
257 spt1[0] = srcX + width; in add_vertex_data2()
301 float srcX, in setup_vertex_data_yuv() argument
313 spt0[0] = srcX; in setup_vertex_data_yuv()
[all …]
/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/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.h590 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, int srcX,
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()
/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.h602 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, int srcX,
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()
/external/mesa3d/src/mesa/swrast/
Ds_copypix.c436 GLint srcX, GLint srcY, GLsizei width, GLsizei height, in swrast_fast_copy_pixels() argument
485 if (srcX < 0 || srcX + width > (GLint) srcFb->Width || in swrast_fast_copy_pixels()
512 srcMap = map + srcY * rowStride + srcX * pixelBytes; in swrast_fast_copy_pixels()
531 ctx->Driver.MapRenderbuffer(ctx, srcRb, srcX, srcY, in swrast_fast_copy_pixels()
/external/skqp/src/codec/
DSkBmpStandardCodec.cpp330 int srcX = srcStartX; in decodeIcoMask() local
334 SkTDivMod(srcX, 8, &quotient, &modulus); in decodeIcoMask()
338 srcX += sampleX; in decodeIcoMask()
/external/skia/src/codec/
DSkBmpStandardCodec.cpp330 int srcX = srcStartX; in decodeIcoMask() local
334 SkTDivMod(srcX, 8, &quotient, &modulus); in decodeIcoMask()
338 srcX += sampleX; in decodeIcoMask()
/external/mesa3d/src/gallium/drivers/svga/include/
Dsvga_reg.h1136 uint32 srcX; member
1353 uint32 srcX; member
1376 uint32 srcX; 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.
908 #Param srcX offset into readable pixels on x-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.
969 #Param srcX offset into readable pixels on x-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.
925 #Param srcX offset into readable pixels on x-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.
986 #Param srcX offset into readable pixels on x-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 …]
/external/swiftshader/src/OpenGL/libGLESv2/
DDevice.cpp399 byte *srcX = sourceBuffer + (width - 1) * bytes; in copyBuffer() local
401 for(unsigned int x = 0; x < width; ++x, dstX += bytes, srcX -= bytes) in copyBuffer()
403 memcpy(dstX, srcX, bytes); in copyBuffer()
411 byte *srcX = sourceBuffer + (width - 1) * bytes; in copyBuffer() local
413 for(unsigned int x = 0; x < width; ++x, dstX += bytes, srcX -= bytes) in copyBuffer()
415 memcpy(dstX, srcX, bytes); in copyBuffer()

12345