/packages/apps/Gallery2/jni/filters/ |
geometry.c | 20 __inline__ void flipVertical(char * source, int srcWidth, int srcHeight, char * destination, int dstWidth, int dstHeight){ 24 int length = srcHeight; 34 __inline__ void flipHorizontal(char * source, int srcWidth, int srcHeight, char * destination, int dstWidth, int dstHeight){ 38 int length = srcHeight; 51 __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 __inline__ void rotate90(char * source, int srcWidth, int srcHeight, char * destination, int dstWidth, int dstHeight){ 76 int length = srcHeight; [all...] |
/external/chromium_org/third_party/mesa/src/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...] |
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...] |
texstore.h | 63 GLint srcWidth, GLint srcHeight, GLint srcDepth, \ 77 GLint srcWidth, GLint srcHeight, GLint srcDepth, 86 GLint srcWidth, GLint srcHeight, GLint srcDepth,
|
mipmap.h | 36 GLint srcWidth, GLint srcHeight, GLint srcDepth,
|
mipmap.c | [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...] |
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...] |
texstore.h | 63 GLint srcWidth, GLint srcHeight, GLint srcDepth, \ 77 GLint srcWidth, GLint srcHeight, GLint srcDepth, 86 GLint srcWidth, GLint srcHeight, GLint srcDepth,
|
mipmap.h | 36 GLint srcWidth, GLint srcHeight, GLint srcDepth,
|
mipmap.c | [all...] |
/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++) {
|
/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,
|
/packages/apps/UnifiedEmail/src/com/android/mail/photomanager/ |
BitmapUtil.java | 136 final int srcHeight = src.getHeight(); 139 if (w == srcWidth && h == srcHeight) { 146 (float) h / srcHeight); 155 srcY = (int) (srcHeight * verticalCenterPercent - srcCroppedH / 2); 159 srcY = Math.max(Math.min(srcY, srcHeight - srcCroppedH), 0); 167 srcWidth, srcHeight, w, h, srcX, srcY, srcCroppedW, srcCroppedH, scale,
|
/frameworks/av/libvideoeditor/lvpp/ |
NativeWindowRenderer.cpp | 415 int srcWidth, int srcHeight, int stride) { 419 for (int i = srcHeight; i > 0; i--) { 426 p += srcWidth * srcHeight / 4; 427 for (int i = srcHeight / 2; i > 0; i--) { 433 p -= srcWidth * srcHeight / 2; 434 for (int i = srcHeight / 2; i > 0; i--) { 475 M4xVSS_MediaRendering renderingMode, int srcWidth, int srcHeight) { 485 y = float(srcHeight) / mDstHeight; 497 y = float(srcHeight) / mDstHeight;
|
NativeWindowRenderer.h | 80 int srcWidth, int srcHeight, int stride); 83 int srcWidth, int srcHeight);
|
/frameworks/av/include/media/stagefright/ |
ColorConverter.h | 38 size_t srcWidth, size_t srcHeight,
|
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
s_blit.c | 117 const GLint srcHeight = ABS(srcY1 - srcY0); 250 srcWidth, srcHeight, 281 GLint srcRow = (dstRow * srcHeight) / dstHeight; 285 ASSERT(srcRow < srcHeight); 288 srcRow = srcHeight - 1 - srcRow; 497 const GLint srcHeight = ABS(srcY1 - srcY0); 609 const GLfloat srcRow = (dstRow * srcHeight) / dstHeightF; 615 ASSERT(srcRow < srcHeight); 617 if (srcRow1 == srcHeight) { 624 srcRow0 = srcHeight - 1 - srcRow0 [all...] |
/external/mesa3d/src/mesa/swrast/ |
s_blit.c | 117 const GLint srcHeight = ABS(srcY1 - srcY0); 250 srcWidth, srcHeight, 281 GLint srcRow = (dstRow * srcHeight) / dstHeight; 285 ASSERT(srcRow < srcHeight); 288 srcRow = srcHeight - 1 - srcRow; 497 const GLint srcHeight = ABS(srcY1 - srcY0); 609 const GLfloat srcRow = (dstRow * srcHeight) / dstHeightF; 615 ASSERT(srcRow < srcHeight); 617 if (srcRow1 == srcHeight) { 624 srcRow0 = srcHeight - 1 - srcRow0 [all...] |
/hardware/qcom/media/libc2dcolorconvert/ |
C2DColorConverter.cpp | 55 C2DColorConverter(size_t srcWidth, size_t srcHeight, size_t dstWidth, size_t dstHeight, ColorConvertFormat srcFormat, ColorConvertFormat dstFormat, int32_t flags,size_t srcStride); 109 C2DColorConverter::C2DColorConverter(size_t srcWidth, size_t srcHeight, size_t dstWidth, size_t dstHeight, ColorConvertFormat srcFormat, ColorConvertFormat dstFormat, int32_t flags, size_t srcStride) 138 mSrcHeight = srcHeight; 144 mSrcSize = calcSize(srcFormat, srcWidth, srcHeight); 146 mSrcYSize = calcYSize(srcFormat, srcWidth, srcHeight); 151 mSrcSurfaceDef = getDummySurfaceDef(srcFormat, srcWidth, srcHeight, true); 158 mBlit.source_rect.height = srcHeight << 16; 676 extern "C" C2DColorConverterBase* createC2DColorConverter(size_t srcWidth, size_t srcHeight, size_t dstWidth, size_t dstHeight, ColorConvertFormat srcFormat, ColorConvertFormat dstFormat, int32_t flags, size_t srcStride) 678 return new C2DColorConverter(srcWidth, srcHeight, dstWidth, dstHeight, srcFormat, dstFormat, flags, srcStride);
|
C2DColorConverter.h | 107 typedef C2DColorConverterBase* createC2DColorConverter_t(size_t srcWidth, size_t srcHeight, size_t dstWidth, size_t dstHeight, ColorConvertFormat srcFormat, ColorConvertFormat dstFormat, int32_t flags, size_t srcStride);
|
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/image_editor/ |
filter.js | 158 var srcHeight = src.height; 161 offsetY < 0 || offsetY + dstHeight > srcHeight) 229 var srcHeight = src.height; 234 offsetY < 0 || offsetY + dstHeight > srcHeight) 248 var endY = Math.min(dstHeight, srcHeight - margin - offsetY); 378 var srcHeight = src.height; 381 offsetY < 0 || offsetY + dstHeight > srcHeight)
|
/packages/apps/Mms/src/com/android/mms/util/ |
ThumbnailManager.java | 395 int srcHeight = bitmap.getHeight(); 397 (float) maxLength / srcWidth, (float) maxLength / srcHeight); 522 int srcHeight = bitmap.getHeight(); 524 (float) targetSize / srcWidth, (float) targetSize / srcHeight);
|