HomeSort by relevance Sort by last modified time
    Searched refs:dstHeight (Results 1 - 25 of 62) sorted by null

1 2 3

  /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 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/images/
SkImageDecoder_ktx.cpp 147 const int dstHeight = sampler.scaledHeight();
150 for (int y = 0; y < dstHeight; ++y) {
176 const int dstHeight = sampler.scaledHeight();
179 for (int y = 0; y < dstHeight; ++y) {
195 const int dstHeight = sampler.scaledHeight();
198 for (int y = 0; y < dstHeight; ++y) {
225 const int dstHeight = sampler.scaledHeight();
228 for (int y = 0; y < dstHeight; ++y) {
SkImageDecoder_libbmp.cpp 153 const int dstHeight = sampler.scaledHeight();
157 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/skia/src/codec/
SkJpegCodec.cpp 259 bool SkJpegCodec::scaleToDimensions(uint32_t dstWidth, uint32_t dstHeight) {
265 fDecoderMgr->dinfo()->output_height != dstHeight) {
270 dstHeight > fDecoderMgr->dinfo()->output_height) {
352 uint32_t dstHeight = dstInfo.height();
353 for (uint32_t y = 0; y < dstHeight + rowsPerDecode - 1; y += rowsPerDecode) {
368 if (rowsDecoded < rowsPerDecode && y + rowsDecoded < dstHeight) {
375 dstHeight - y - rowsDecoded, SK_ColorBLACK, NULL);
378 dinfo->output_scanline = 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);
66 shadowBitmap.setHeight(dstHeight);
  /frameworks/av/include/media/stagefright/
ColorConverter.h 42 size_t dstWidth, size_t dstHeight,
  /hardware/qcom/media/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);
  /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;
  /cts/tests/tests/media/src/android/media/cts/
Vp8CodecTestBase.java 386 byte[] dst, int dstByteOffset, int dstWidth, int dstHeight) {
387 for (int i = 0; i < dstHeight/2 - 1; i++) {
412 int dstOffset0 = (dstHeight - 2) * dstWidth + dstByteOffset;
414 int srcOffset0 = (dstHeight/2 - 1) * srcStride + srcByteOffset;
439 int dstWidth, int dstHeight) throws Exception {
441 int dstYSize = dstWidth * dstHeight;
443 if (dstWidth == 2 * srcWidth && dstHeight <= 2 * srcHeight) {
445 dst = new byte[dstWidth * dstHeight * 3 / 2];
447 dst, 0, dstWidth, dstHeight); // Y
449 dst, dstYSize, dstWidth / 2, dstHeight / 2); //
    [all...]
  /external/mesa3d/src/mesa/swrast/
s_blit.c 118 const GLint dstHeight = ABS(dstY1 - dstY0);
258 dstWidth, dstHeight,
280 for (dstRow = 0; dstRow < dstHeight; dstRow++) {
281 GLint srcRow = (dstRow * srcHeight) / dstHeight;
498 const GLint dstHeight = ABS(dstY1 - dstY0);
499 const GLfloat dstHeightF = (GLfloat) dstHeight;
607 for (dstRow = 0; dstRow < dstHeight; dstRow++) {
  /frameworks/av/media/libstagefright/omx/
SoftVideoDecoderOMXComponent.cpp 235 size_t dstHeight = outputBufferHeight();
244 dst = dstStart + dstYStride * dstHeight;
251 dst = dstStart + (5 * dstYStride * dstHeight) / 4;
  /frameworks/base/tools/layoutlib/bridge/src/android/view/
ShadowPainter.java 89 int dstHeight = image.getHeight();
96 int yStop = dstHeight - right;
110 for (int y = 0, bufferOffset = 0; y < dstHeight; y++, bufferOffset = y * dstWidth) {
  /hardware/intel/img/hwcomposer/merrifield/ips/anniedale/
AnnOverlayPlane.cpp 361 uint32_t dstHeight = h;
368 dstWidth, dstHeight,
381 if (srcWidth == dstWidth && srcHeight == dstHeight) {
386 yscaleFract = ((srcHeight - 1) << 12) / (dstHeight * deinterlace_factor);

Completed in 709 milliseconds

1 2 3