/packages/apps/Gallery2/jni/filters/ |
geometry.c | 20 static __inline__ void flipVertical(char * source, int srcWidth, int srcHeight, char * destination, int dstWidth, int dstHeight){ 34 static __inline__ void flipHorizontal(char * source, int srcWidth, int srcHeight, char * destination, int dstWidth, int dstHeight){ 51 static __inline__ void flip_fun(int flip, char * source, int srcWidth, int srcHeight, char * destination, int dstWidth, int dstHeight){ 55 int arr_len = dstWidth * dstHeight * sizeof(char) * 4; 57 flipHorizontal(source, srcWidth, srcHeight, temp, dstWidth, dstHeight); 58 flipVertical(temp, dstWidth, dstHeight, destination, 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) [all...] |
/hardware/ti/omap4-aah/libI420colorconvert/ |
ColorConvert.cpp | 33 int dstWidth = srcRect.right - srcRect.left + 1; 35 size_t dst_y_size = dstWidth * dstHeight; 36 size_t dst_uv_stride = dstWidth / 2; 37 size_t dst_uv_size = dstWidth / 2 * dstHeight / 2; 43 memcpy(pDst_y, pSrc_y, dstWidth); 45 pDst_y += dstWidth; 48 size_t tmp = (dstWidth + 1) / 2; 67 int dstWidth, int dstHeight, ARect dstRect, 74 pDst_y += dstWidth; 78 uint8_t* pDst_uv = (uint8_t*)dstBits + dstWidth * dstHeight [all...] |
/hardware/ti/omap4xxx/libI420colorconvert/ |
ColorConvert.cpp | 33 int dstWidth = srcRect.right - srcRect.left + 1; 35 size_t dst_y_size = dstWidth * dstHeight; 36 size_t dst_uv_stride = dstWidth / 2; 37 size_t dst_uv_size = dstWidth / 2 * dstHeight / 2; 43 memcpy(pDst_y, pSrc_y, dstWidth); 45 pDst_y += dstWidth; 48 size_t tmp = (dstWidth + 1) / 2; 67 int dstWidth, int dstHeight, ARect dstRect, 74 pDst_y += dstWidth; 78 uint8_t* pDst_uv = (uint8_t*)dstBits + dstWidth * dstHeight [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
mipmap.c | 158 GLint dstWidth, GLvoid *dstRow) 160 const GLuint k0 = (srcWidth == dstWidth) ? 0 : 1; 161 const GLuint colStride = (srcWidth == dstWidth) ? 1 : 2; 167 assert(srcWidth == dstWidth || srcWidth == 2 * dstWidth); 175 for (i = j = 0, k = k0; i < (GLuint) dstWidth; 188 for (i = j = 0, k = k0; i < (GLuint) dstWidth; 200 for (i = j = 0, k = k0; i < (GLuint) dstWidth; 211 for (i = j = 0, k = k0; i < (GLuint) dstWidth; 222 for (i = j = 0, k = k0; i < (GLuint) dstWidth; [all...] |
mipmap.h | 39 GLint dstWidth, GLint dstHeight, GLint dstDepth,
|
/external/mesa3d/src/mesa/main/ |
mipmap.c | 151 GLint dstWidth, GLvoid *dstRow) 153 const GLuint k0 = (srcWidth == dstWidth) ? 0 : 1; 154 const GLuint colStride = (srcWidth == dstWidth) ? 1 : 2; 160 assert(srcWidth == dstWidth || srcWidth == 2 * dstWidth); 168 for (i = j = 0, k = k0; i < (GLuint) dstWidth; 181 for (i = j = 0, k = k0; i < (GLuint) dstWidth; 193 for (i = j = 0, k = k0; i < (GLuint) dstWidth; 204 for (i = j = 0, k = k0; i < (GLuint) dstWidth; 215 for (i = j = 0, k = k0; i < (GLuint) dstWidth; [all...] |
mipmap.h | 39 GLint dstWidth, GLint dstHeight, GLint dstDepth,
|
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
s_blit.c | 43 NAME(GLint srcWidth, GLint dstWidth, \ 52 for (dstCol = 0; dstCol < dstWidth; dstCol++) { \ 53 GLint srcCol = (dstCol * srcWidth) / dstWidth; \ 73 for (dstCol = 0; dstCol < dstWidth; dstCol++) { \ 74 GLint srcCol = (dstCol * srcWidth) / dstWidth; \ 116 const GLint dstWidth = ABS(dstX1 - dstX0); 142 typedef void (*resample_func)(GLint srcWidth, GLint dstWidth, 258 dstWidth, dstHeight, 273 dstBuffer = malloc(pixelSize * dstWidth); 317 (*resampleRow)(srcWidth, dstWidth, srcBuffer, dstBuffer, invertX) [all...] |
/external/mesa3d/src/mesa/swrast/ |
s_blit.c | 43 NAME(GLint srcWidth, GLint dstWidth, \ 52 for (dstCol = 0; dstCol < dstWidth; dstCol++) { \ 53 GLint srcCol = (dstCol * srcWidth) / dstWidth; \ 73 for (dstCol = 0; dstCol < dstWidth; dstCol++) { \ 74 GLint srcCol = (dstCol * srcWidth) / dstWidth; \ 116 const GLint dstWidth = ABS(dstX1 - dstX0); 142 typedef void (*resample_func)(GLint srcWidth, GLint dstWidth, 258 dstWidth, dstHeight, 273 dstBuffer = malloc(pixelSize * dstWidth); 317 (*resampleRow)(srcWidth, dstWidth, srcBuffer, dstBuffer, invertX) [all...] |
/external/chromium_org/third_party/skia/src/effects/ |
SkTableMaskFilter.cpp | 44 int dstWidth = dst->fBounds.width(); 45 int extraZeros = dst->fRowBytes - dstWidth; 48 for (int x = dstWidth - 1; x >= 0; --x) { 56 dstP += dstWidth;
|
/external/deqp/framework/delibs/deimage/ |
deImage.h | 59 deImage* deImage_scale (const deImage* image, int dstWidth, int dstHeight);
|
deImage.c | 117 deImage* deImage_scale (const deImage* srcImage, int dstWidth, int dstHeight) 121 deImage* result = deImage_create(dstWidth, dstHeight, srcImage->format); 126 for (x = 0; x < dstWidth; x++) 128 float xFloat = (float)(x + 0.5f) / (float)dstWidth * (float)srcImage->width - 0.5f;
|
/external/skia/src/effects/ |
SkTableMaskFilter.cpp | 44 int dstWidth = dst->fBounds.width(); 45 int extraZeros = dst->fRowBytes - dstWidth; 48 for (int x = dstWidth - 1; x >= 0; --x) { 56 dstP += dstWidth;
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
u_gen_mipmap.c | 171 int dstWidth, void *dstRow) 173 const uint k0 = (srcWidth == dstWidth) ? 0 : 1; 174 const uint colStride = (srcWidth == dstWidth) ? 1 : 2; 180 assert(srcWidth == dstWidth || srcWidth == 2 * dstWidth); 188 for (i = j = 0, k = k0; i < (uint) dstWidth; 201 for (i = j = 0, k = k0; i < (uint) dstWidth; 213 for (i = j = 0, k = k0; i < (uint) dstWidth; 224 for (i = j = 0, k = k0; i < (uint) dstWidth; 235 for (i = j = 0, k = k0; i < (uint) dstWidth; [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_gen_mipmap.c | 171 int dstWidth, void *dstRow) 173 const uint k0 = (srcWidth == dstWidth) ? 0 : 1; 174 const uint colStride = (srcWidth == dstWidth) ? 1 : 2; 180 assert(srcWidth == dstWidth || srcWidth == 2 * dstWidth); 188 for (i = j = 0, k = k0; i < (uint) dstWidth; 201 for (i = j = 0, k = k0; i < (uint) dstWidth; 213 for (i = j = 0, k = k0; i < (uint) dstWidth; 224 for (i = j = 0, k = k0; i < (uint) dstWidth; 235 for (i = j = 0, k = k0; i < (uint) dstWidth; [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/ |
DetermineFovActivity.java | 230 float dstWidth = drawRect.right - drawRect.left + 1; 232 float centerX = drawRect.left + dstWidth / 2; 238 float focalLength = focalLengthPixels(mFovDegrees, dstWidth); 240 float projectedMarkerLeft = dstWidth / 2 - dx; 241 float projectedMarkerRight = dstWidth / 2 + dx;
|
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
st_gen_mipmap.c | 223 uint dstWidth, dstHeight, dstDepth; 225 dstWidth = u_minify(pt->width0, dstLevel); 249 _mesa_init_teximage_fields(ctx, dstImage, dstWidth, dstHeight,
|
/external/mesa3d/src/mesa/state_tracker/ |
st_gen_mipmap.c | 223 uint dstWidth, dstHeight, dstDepth; 225 dstWidth = u_minify(pt->width0, dstLevel); 249 _mesa_init_teximage_fields(ctx, dstImage, dstWidth, dstHeight,
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowBitmap.java | 57 public static Bitmap createScaledBitmap(Bitmap src, int dstWidth, int dstHeight, boolean filter) { 61 shadowBitmap.appendDescription(" scaled to " + dstWidth + " x " + dstHeight); 65 shadowBitmap.setWidth(dstWidth);
|
/frameworks/av/include/media/stagefright/ |
ColorConverter.h | 42 size_t dstWidth, size_t dstHeight,
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
ShadowPainter.java | 81 int dstWidth = image.getWidth(); 87 int xStop = dstWidth - right; 99 int lastPixelOffset = right * dstWidth; 103 for (int y = 0, bufferOffset = 0; y < dstHeight; y++, bufferOffset = y * dstWidth) { 132 for (int x = 0, bufferOffset = 0; x < dstWidth; x++, bufferOffset = x) { 135 for (int y = 0; y < shadowSize; y++, bufferOffset += dstWidth) { 143 for (int y = yStart; y < yStop; y++, bufferOffset += dstWidth) {
|
/external/chromium_org/third_party/webrtc/modules/video_render/android/java/src/org/webrtc/videoengine/ |
ViESurfaceRenderer.java | 54 private void changeDestRect(int dstWidth, int dstHeight) { 55 dstRect.right = (int)(dstRect.left + dstRightScale * dstWidth);
|
/hardware/qcom/media/libc2dcolorconvert/ |
C2DColorConverter.h | 113 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);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
ImageFilterDraw.java | 173 public Bitmap createScaledBitmap(Bitmap src, int dstWidth, int dstHeight, boolean filter) 176 m.setScale(dstWidth / (float) src.getWidth(), dstHeight / (float) src.getHeight()); 177 Bitmap result = Bitmap.createBitmap(dstWidth, dstHeight, src.getConfig());
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
ImageDraw.java | 225 public Bitmap createScaledBitmap(Bitmap src, int dstWidth, int dstHeight, boolean filter) { 227 m.setScale(dstWidth / (float) src.getWidth(), dstHeight / (float) src.getHeight()); 228 Bitmap result = Bitmap.createBitmap(dstWidth, dstHeight, src.getConfig());
|