HomeSort by relevance Sort by last modified time
    Searched refs:dstWidth (Results 1 - 25 of 63) 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 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/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/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/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;
SkBlurMask.cpp 787 int dstWidth = dst->fBounds.width();
791 SkAutoTMalloc<uint8_t> horizontalScanline(dstWidth);
794 ComputeBlurredScanline(horizontalScanline, profile, dstWidth, sigma);
798 for (int x = 0 ; x < dstWidth ; x++) {
812 uint8_t *blur_scanline = dp + (y+pad)*dstWidth + pad;
826 uint8_t *dst_scanline = dp + y*dstWidth + pad;
831 uint8_t *dst_scanline = dp + y*dstWidth + pad;
904 int dstWidth = dst->fBounds.width();
    [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/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 88 int dstWidth = image.getWidth();
94 int xStop = dstWidth - right;
106 int lastPixelOffset = right * dstWidth;
110 for (int y = 0, bufferOffset = 0; y < dstHeight; y++, bufferOffset = y * dstWidth) {
139 for (int x = 0, bufferOffset = 0; x < dstWidth; x++, bufferOffset = x) {
142 for (int y = 0; y < shadowSize; y++, bufferOffset += dstWidth) {
150 for (int y = yStart; y < yStop; y++, bufferOffset += dstWidth) {
  /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)
143 mDstWidth = dstWidth;
148 mDstSize = calcSize(dstFormat, dstWidth, dstHeight);
150 mDstYSize = calcYSize(dstFormat, dstWidth, dstHeight);
155 mDstSurfaceDef = getDummySurfaceDef(dstFormat, dstWidth, dstHeight, false);
164 mBlit.target_rect.width = dstWidth << 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/skia/src/codec/
SkJpegCodec.cpp 259 bool SkJpegCodec::scaleToDimensions(uint32_t dstWidth, uint32_t dstHeight) {
264 while (fDecoderMgr->dinfo()->output_width != dstWidth ||
269 dstWidth > fDecoderMgr->dinfo()->output_width ||
  /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());
  /cts/tests/tests/media/src/android/media/cts/
Vp8CodecTestBase.java 386 byte[] dst, int dstByteOffset, int dstWidth, int dstHeight) {
388 int dstOffset0 = 2 * i * dstWidth + dstByteOffset;
389 int dstOffset1 = dstOffset0 + dstWidth;
394 for (int j = 0; j < dstWidth/2 - 1; j++) {
412 int dstOffset0 = (dstHeight - 2) * dstWidth + dstByteOffset;
413 int dstOffset1 = dstOffset0 + dstWidth;
416 for (int j = 0; j < dstWidth/2 - 1; j++) {
439 int dstWidth, int dstHeight) throws Exception {
441 int dstYSize = dstWidth * dstHeight;
443 if (dstWidth == 2 * srcWidth && dstHeight <= 2 * srcHeight)
    [all...]
  /hardware/intel/common/utils/ISV/include/
isv_worker.h 73 uint32_t dstWidth;
  /external/skia/samplecode/
SampleStrokePath.cpp 78 static void scale_to_width(SkPath* path, SkScalar dstWidth) {
80 SkScalar scale = dstWidth / bounds.width();
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
ImageUtils.java 364 int dstWidth = image.getWidth();
370 int xStop = dstWidth - right;
382 int lastPixelOffset = right * dstWidth;
386 for (int y = 0, bufferOffset = 0; y < dstHeight; y++, bufferOffset = y * dstWidth) {
415 for (int x = 0, bufferOffset = 0; x < dstWidth; x++, bufferOffset = x) {
418 for (int y = 0; y < shadowSize; y++, bufferOffset += dstWidth) {
426 for (int y = yStart; y < yStop; y++, bufferOffset += dstWidth) {
    [all...]

Completed in 3016 milliseconds

1 2 3