/hardware/qcom/display/msm8226/libqdutils/ |
qd_utils.cpp | 98 int srcHeight, hwc_rect_t& rect) { 101 if (srcWidth * destHeight > destWidth * srcHeight) { 102 srcHeight = destWidth * srcHeight / srcWidth; 104 } else if (srcWidth * destHeight < destWidth * srcHeight) { 105 srcWidth = destHeight * srcWidth / srcHeight; 106 srcHeight = destHeight; 109 srcHeight = destHeight; 112 if (srcHeight > destHeight) srcHeight = destHeight [all...] |
qd_utils.h | 52 int srcHeight, hwc_rect_t& rect);
|
/hardware/qcom/display/msm8909/libqdutils/ |
qd_utils.cpp | 111 int srcHeight, hwc_rect_t& rect) { 114 if (srcWidth * destHeight > destWidth * srcHeight) { 115 srcHeight = destWidth * srcHeight / srcWidth; 117 } else if (srcWidth * destHeight < destWidth * srcHeight) { 118 srcWidth = destHeight * srcWidth / srcHeight; 119 srcHeight = destHeight; 122 srcHeight = destHeight; 125 if (srcHeight > destHeight) srcHeight = destHeight [all...] |
qd_utils.h | 60 int srcHeight, hwc_rect_t& rect);
|
/hardware/qcom/display/msm8994/libqdutils/ |
qd_utils.cpp | 97 int srcHeight, hwc_rect_t& rect) { 100 if (srcWidth * destHeight > destWidth * srcHeight) { 101 srcHeight = destWidth * srcHeight / srcWidth; 103 } else if (srcWidth * destHeight < destWidth * srcHeight) { 104 srcWidth = destHeight * srcWidth / srcHeight; 105 srcHeight = destHeight; 108 srcHeight = destHeight; 111 if (srcHeight > destHeight) srcHeight = destHeight [all...] |
qd_utils.h | 60 int srcHeight, hwc_rect_t& rect);
|
/packages/apps/Gallery2/jni/filters/ |
geometry.c | 20 static __inline__ void flipVertical(char * source, int srcWidth, int srcHeight, char * destination, int dstWidth, int dstHeight){ 24 int length = srcHeight; 34 static __inline__ void flipHorizontal(char * source, int srcWidth, int srcHeight, char * destination, int dstWidth, int dstHeight){ 38 int length = srcHeight; 51 static __inline__ void flip_fun(int flip, char * source, int srcWidth, int srcHeight, char * destination, int dstWidth, int dstHeight){ 57 flipHorizontal(source, srcWidth, srcHeight, temp, dstWidth, dstHeight); 63 flipHorizontal(source, srcWidth, srcHeight, destination, dstWidth, dstHeight); 67 flipVertical(source, srcWidth, srcHeight, destination, dstWidth, dstHeight); 73 static __inline__ void rotate90(char * source, int srcWidth, int srcHeight, char * destination, int dstWidth, int dstHeight){ 76 int length = srcHeight; [all...] |
/frameworks/native/include/media/editor/ |
II420ColorConverter.h | 71 * @param srcHeight (IN) Height of the I420 frame 86 void* srcBits, int srcWidth, int srcHeight, 100 * @param srcHeight (IN) Height of the I420 frame 112 int srcWidth, int srcHeight,
|
/external/skia/src/image/ |
SkReadPixelsRec.h | 38 bool trim(int srcWidth, int srcHeight);
|
/hardware/ti/omap4-aah/libI420colorconvert/ |
ColorConvert.cpp | 26 void* srcBits, int srcWidth, int srcHeight, ARect srcRect, void* dstBits) { 31 srcWidth * (srcHeight - srcRect.top / 2); 66 void* srcBits, int srcWidth, int srcHeight, 71 for(int i=0; i < srcHeight; i++) { 76 uint8_t* pSrc_u = (uint8_t*)srcBits + (srcWidth * srcHeight); 77 uint8_t* pSrc_v = (uint8_t*)pSrc_u + (srcWidth / 2) * (srcHeight / 2); 80 for(int i=0; i < srcHeight / 2; i++) {
|
/hardware/ti/omap4xxx/libI420colorconvert/ |
ColorConvert.cpp | 26 void* srcBits, int srcWidth, int srcHeight, ARect srcRect, void* dstBits) { 31 srcWidth * (srcHeight - srcRect.top / 2); 66 void* srcBits, int srcWidth, int srcHeight, 71 for(int i=0; i < srcHeight; i++) { 76 uint8_t* pSrc_u = (uint8_t*)srcBits + (srcWidth * srcHeight); 77 uint8_t* pSrc_v = (uint8_t*)pSrc_u + (srcWidth / 2) * (srcHeight / 2); 80 for(int i=0; i < srcHeight / 2; i++) {
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
SortedSpriteTest.java | 48 public MySprite (Texture texture, int srcX, int srcY, int srcWidth, int srcHeight) {
49 super(texture, srcX, srcY, srcWidth, srcHeight);
52 public MySprite (Texture texture, int srcWidth, int srcHeight) {
53 super(texture, srcWidth, srcHeight);
60 public MySprite (TextureRegion region, int srcX, int srcY, int srcWidth, int srcHeight) {
61 super(region, srcX, srcY, srcWidth, srcHeight);
|
/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/ |
TJCompressor.java | 153 srcHeight = height; 201 srcHeight = (height == 0) ? srcImage.getHeight() : height; 346 srcHeight, srcPixelFormat, dstBuf, subsamp, 349 compressedSize = compress(srcBuf, srcWidth, srcPitch, srcHeight, 355 srcHeight, srcPixelFormat, dstBuf, subsamp, 358 compressedSize = compress(srcBufInt, srcWidth, srcStride, srcHeight, 376 if (srcWidth < 1 || srcHeight < 1) 378 byte[] buf = new byte[TJ.bufSize(srcWidth, srcHeight, subsamp)]; 429 if (srcWidth != dstImage.getWidth() || srcHeight != dstImage.getHeight()) 433 encodeYUV(srcBufInt, srcX, srcY, srcWidth, srcStride, srcHeight, [all...] |
/external/mesa3d/src/mesa/main/ |
texstore.c | 310 * \param srcHeight source image height 322 GLint srcWidth, GLint srcHeight, GLint srcDepth, 357 tempImage = (GLfloat *) malloc(srcWidth * srcHeight * srcDepth 366 srcWidth, srcHeight, 369 for (row = 0; row < srcHeight; row++) { 395 newImage = (GLfloat *) malloc(srcWidth * srcHeight * srcDepth 404 n = srcWidth * srcHeight * srcDepth; 434 GLint srcWidth, GLint srcHeight, GLint srcDepth, 466 tempImage = (GLuint *) malloc(srcWidth * srcHeight * srcDepth 475 srcWidth, srcHeight, [all...] |
texstore.h | 63 GLint srcWidth, GLint srcHeight, GLint srcDepth, \ 77 GLint srcWidth, GLint srcHeight, GLint srcDepth, 86 GLint srcWidth, GLint srcHeight, GLint srcDepth,
|
texcompress_rgtc.c | 108 srcWidth, srcHeight, srcDepth, 118 for (j = 0; j < srcHeight; j+=4) { 119 if (srcHeight > j + 3) numypixels = 4; 120 else numypixels = srcHeight - j; 155 srcWidth, srcHeight, srcDepth, 165 for (j = 0; j < srcHeight; j+=4) { 166 if (srcHeight > j + 3) numypixels = 4; 167 else numypixels = srcHeight - j; 203 srcWidth, srcHeight, srcDepth, 213 for (j = 0; j < srcHeight; j+=4) [all...] |
texcompress_s3tc.c | 182 srcWidth, srcHeight, srcDepth, 191 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight, 198 (*ext_tx_compress_dxtn)(3, srcWidth, srcHeight, pixels, 235 srcWidth, srcHeight, srcDepth, 244 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight, 251 (*ext_tx_compress_dxtn)(4, srcWidth, srcHeight, pixels, 288 srcWidth, srcHeight, srcDepth, 296 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight, 303 (*ext_tx_compress_dxtn)(4, srcWidth, srcHeight, pixels, 340 srcWidth, srcHeight, srcDepth [all...] |
mipmap.h | 36 GLint srcWidth, GLint srcHeight, GLint srcDepth,
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
BitmapUtil.java | 140 final int srcHeight = src.getHeight(); 143 if (w == srcWidth && h == srcHeight) { 150 (float) h / srcHeight); 159 srcY = (int) (srcHeight * verticalCenterPercent - srcCroppedH / 2); 163 srcY = Math.max(Math.min(srcY, srcHeight - srcCroppedH), 0); 171 srcWidth, srcHeight, w, h, srcX, srcY, srcCroppedW, srcCroppedH, scale,
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/ |
Batch.java | 79 * portion of the {@link Texture} given by srcX, srcY and srcWidth, srcHeight is used. These coordinates and sizes are given in
93 * @param srcHeight the source height in texels
97 float scaleY, float rotation, int srcX, int srcY, int srcWidth, int srcHeight, boolean flipX, boolean flipY);
100 * {@link Texture} given by srcX, srcY and srcWidth, srcHeight is used. These coordinates and sizes are given in texels. FlipX
109 * @param srcHeight the source height in texels
113 int srcHeight, boolean flipX, boolean flipY);
116 * {@link Texture} given by srcX, srcY and srcWidth, srcHeight are used. These coordinates and sizes are given in texels.
122 * @param srcHeight the source height in texels */
123 public void draw (Texture texture, float x, float y, int srcX, int srcY, int srcWidth, int srcHeight);
|
/external/skia/src/core/ |
SkImageInfo.cpp | 86 bool SkReadPixelsRec::trim(int srcWidth, int srcHeight) { 104 if (!srcR.intersect(0, 0, srcWidth, srcHeight)) {
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/ |
Pixmap.java | 230 * @param srcHeight The height of the area form the other Pixmap in pixles */
231 public void drawPixmap (Pixmap pixmap, int x, int y, int srcx, int srcy, int srcWidth, int srcHeight) {
232 this.pixmap.drawPixmap(pixmap.pixmap, srcx, srcy, x, y, srcWidth, srcHeight);
243 * @param srcHeight The height of the area form the other Pixmap in pixles
248 public void drawPixmap (Pixmap pixmap, int srcx, int srcy, int srcWidth, int srcHeight, int dstx, int dsty, int dstWidth,
250 this.pixmap.drawPixmap(pixmap.pixmap, srcx, srcy, srcWidth, srcHeight, dstx, dsty, dstWidth, dstHeight);
|
/frameworks/av/include/media/stagefright/ |
ColorConverter.h | 38 size_t srcWidth, size_t srcHeight,
|
/frameworks/rs/cpu_ref/ |
rsCpuIntrinsicResize.cpp | 323 const int srcHeight = cp->mAlloc->mHal.drvState.lod[0].dimY; 330 int maxy = srcHeight - 1; 390 const int srcHeight = cp->mAlloc->mHal.drvState.lod[0].dimY; 397 int maxy = srcHeight - 1; 457 const int srcHeight = cp->mAlloc->mHal.drvState.lod[0].dimY; 464 int maxy = srcHeight - 1; 524 const int srcHeight = cp->mAlloc->mHal.drvState.lod[0].dimY; 531 int maxy = srcHeight - 1; 564 const int srcHeight = cp->mAlloc->mHal.drvState.lod[0].dimY; 571 int maxy = srcHeight - 1 [all...] |
/packages/apps/Camera2/src/com/android/camera/widget/ |
RoundedThumbnailView.java | 746 int srcHeight = srcBitmap.getHeight(); 748 if (srcWidth >= srcHeight) { 750 srcBitmap, srcWidth / 2 - srcHeight / 2, 0, srcHeight, srcHeight); 753 srcBitmap, 0, srcHeight / 2 - srcWidth / 2, srcWidth, srcWidth);
|