/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...] |
/external/opencv3/modules/cudalegacy/src/cuda/ |
NCV.cu | 63 Ncv32u dstHeight, 91 if (ptY < pt0y + curRect.height && ptY < dstHeight) 105 if (pt0y < dstHeight) 124 Ncv32u dstHeight, 132 ncvAssertReturn(dstWidth > 0 && dstHeight > 0, NCV_DIMENSIONS_INVALID); 134 ncvAssertReturn(numRects <= dstWidth * dstHeight, NCV_DIMENSIONS_INVALID); 149 drawRects<T><<<grid, block>>>(d_dst, dstStride, dstWidth, dstHeight, d_rects, numRects, color); 160 Ncv32u dstHeight, 166 return drawRectsWrapperDevice(d_dst, dstStride, dstWidth, dstHeight, d_rects, numRects, color, cuStream); 173 Ncv32u dstHeight, [all...] |
/hardware/ti/omap4-aah/libI420colorconvert/ |
ColorConvert.cpp | 34 int dstHeight = srcRect.bottom - srcRect.top + 1; 35 size_t dst_y_size = dstWidth * dstHeight; 37 size_t dst_uv_size = dstWidth / 2 * dstHeight / 2; 42 for (int y = 0; y < dstHeight; ++y) { 49 for (int y = 0; y < (dstHeight + 1) / 2; ++y) { 67 int dstWidth, int dstHeight, ARect dstRect, 78 uint8_t* pDst_uv = (uint8_t*)dstBits + dstWidth * dstHeight;
|
/hardware/ti/omap4xxx/libI420colorconvert/ |
ColorConvert.cpp | 34 int dstHeight = srcRect.bottom - srcRect.top + 1; 35 size_t dst_y_size = dstWidth * dstHeight; 37 size_t dst_uv_size = dstWidth / 2 * dstHeight / 2; 42 for (int y = 0; y < dstHeight; ++y) { 49 for (int y = 0; y < (dstHeight + 1) / 2; ++y) { 67 int dstWidth, int dstHeight, ARect dstRect, 78 uint8_t* pDst_uv = (uint8_t*)dstBits + dstWidth * dstHeight;
|
/external/skia/src/codec/ |
SkSampledCodec.cpp | 204 int dstHeight = info.height(); 209 dstHeight, 0); 213 for (int y = 0; y < dstHeight; y++) { 216 options.fZeroInitialized, dstHeight, y + 1); 219 if (y < dstHeight - 1) { 222 options.fZeroInitialized, dstHeight, y + 1); 237 if (is_coord_necessary(srcY, sampleY, dstHeight)) { 260 if (!is_coord_necessary(srcY, sampleY, dstHeight)) { 276 dstHeight, 0); 281 for (int y = 0; y < dstHeight; y++) [all...] |
/external/skia/src/images/ |
SkImageDecoder_ktx.cpp | 148 const int dstHeight = sampler.scaledHeight(); 151 for (int y = 0; y < dstHeight; ++y) { 177 const int dstHeight = sampler.scaledHeight(); 180 for (int y = 0; y < dstHeight; ++y) { 196 const int dstHeight = sampler.scaledHeight(); 199 for (int y = 0; y < dstHeight; ++y) { 226 const int dstHeight = sampler.scaledHeight(); 229 for (int y = 0; y < dstHeight; ++y) {
|
SkImageDecoder_libbmp.cpp | 157 const int dstHeight = sampler.scaledHeight(); 161 for (int y = 0; y < dstHeight; y++) {
|
SkImageDecoder_pkm.cpp | 87 const int dstHeight = sampler.scaledHeight(); 90 for (int y = 0; y < dstHeight; ++y) {
|
SkImageDecoder_astc.cpp | 162 const int dstHeight = sampler.scaledHeight(); 165 for (int y = 0; y < dstHeight; ++y) {
|
/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); 124 for (y = 0; y < dstHeight; y++) 129 float yFloat = ((float)y + 0.5f) / (float)dstHeight * (float)srcImage->height - 0.5f;
|
/external/mesa3d/src/mesa/main/ |
mipmap.h | 39 GLint dstWidth, GLint dstHeight, GLint dstDepth,
|
mipmap.c | [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
st_gen_mipmap.c | 223 uint dstWidth, dstHeight, dstDepth; 227 dstHeight = pt->array_size; 230 dstHeight = u_minify(pt->height0, dstLevel); 249 _mesa_init_teximage_fields(ctx, dstImage, dstWidth, dstHeight,
|
/external/robolectric/v1/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); 66 shadowBitmap.setHeight(dstHeight);
|
/frameworks/av/include/media/stagefright/ |
ColorConverter.h | 42 size_t dstWidth, size_t dstHeight,
|
/external/webrtc/webrtc/modules/video_render/android/java/src/org/webrtc/videoengine/ |
ViESurfaceRenderer.java | 55 private void changeDestRect(int dstWidth, int dstHeight) { 57 dstRect.bottom = (int)(dstRect.top + dstBottomScale * dstHeight);
|
/hardware/qcom/media/msm8974/libc2dcolorconvert/ |
C2DColorConverter.h | 112 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);
|
C2DColorConverter.cpp | 57 C2DColorConverter(size_t srcWidth, size_t srcHeight, size_t dstWidth, size_t dstHeight, ColorConvertFormat srcFormat, ColorConvertFormat dstFormat, int32_t flags,size_t srcStride); 112 C2DColorConverter::C2DColorConverter(size_t srcWidth, size_t srcHeight, size_t dstWidth, size_t dstHeight, ColorConvertFormat srcFormat, ColorConvertFormat dstFormat, int32_t flags, size_t srcStride) 144 mDstHeight = dstHeight; 148 mDstSize = calcSize(dstFormat, dstWidth, dstHeight); 150 mDstYSize = calcYSize(dstFormat, dstWidth, dstHeight); 155 mDstSurfaceDef = getDummySurfaceDef(dstFormat, dstWidth, dstHeight, false); 165 mBlit.target_rect.height = dstHeight << 16; 708 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) 710 return new C2DColorConverter(srcWidth, srcHeight, dstWidth, dstHeight, srcFormat, dstFormat, flags, srcStride);
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/ |
Gdx2DPixmap.java | 202 int dstHeight) {
203 drawPixmap(src.basePtr, basePtr, srcX, srcY, srcWidth, srcHeight, dstX, dstY, dstWidth, dstHeight);
351 int dstY, int dstWidth, int dstHeight); /*
352 gdx2d_draw_pixmap((gdx2d_pixmap*)src, (gdx2d_pixmap*)dst, srcX, srcY, srcWidth, srcHeight, dstX, dstY, dstWidth, dstHeight);
|
/external/opencv3/modules/cudalegacy/src/ |
NCV.cpp | 818 Ncv32u dstHeight, 824 ncvAssertReturn(dstWidth > 0 && dstHeight > 0, NCV_DIMENSIONS_INVALID); 827 ncvAssertReturn(numRects <= dstWidth * dstHeight, NCV_DIMENSIONS_INVALID); 835 for (Ncv32u each=rect.y; each<rect.y+rect.height && each<dstHeight; each++) 842 for (Ncv32u each=rect.y; each<rect.y+rect.height && each<dstHeight; each++) 847 if (rect.y < dstHeight) 854 if (rect.y + rect.height - 1 < dstHeight) 870 Ncv32u dstHeight, 875 return drawRectsWrapperHost(h_dst, dstStride, dstWidth, dstHeight, h_rects, numRects, color); 882 Ncv32u dstHeight, [all...] |
/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());
|
/hardware/intel/common/utils/ISV/include/ |
isv_worker.h | 74 uint32_t dstHeight;
|
/hardware/qcom/media/msm8996/libc2dcolorconvert/ |
C2DColorConverter.cpp | 57 C2DColorConverter(size_t srcWidth, size_t srcHeight, size_t dstWidth, size_t dstHeight, ColorConvertFormat srcFormat, ColorConvertFormat dstFormat, int32_t flags,size_t srcStride); 115 C2DColorConverter::C2DColorConverter(size_t srcWidth, size_t srcHeight, size_t dstWidth, size_t dstHeight, ColorConvertFormat srcFormat, ColorConvertFormat dstFormat, int32_t flags, size_t srcStride) 166 mDstHeight = dstHeight; 170 mDstSize = calcSize(dstFormat, dstWidth, dstHeight); 172 mDstYSize = calcYSize(dstFormat, dstWidth, dstHeight); 177 mDstSurfaceDef = getDummySurfaceDef(dstFormat, dstWidth, dstHeight, false); 187 mBlit.target_rect.height = dstHeight << 16; 763 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) 765 return new C2DColorConverter(srcWidth, srcHeight, dstWidth, dstHeight, srcFormat, dstFormat, flags, srcStride);
|