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

1 2 3 4

  /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/opencv3/modules/cudalegacy/src/cuda/
NCV.cu 62 Ncv32u dstWidth,
86 if (pt0x < dstWidth)
110 if (ptX < pt0x + curRect.width && ptX < dstWidth)
123 Ncv32u dstWidth,
132 ncvAssertReturn(dstWidth > 0 && dstHeight > 0, NCV_DIMENSIONS_INVALID);
133 ncvAssertReturn(dstStride >= dstWidth, NCV_INVALID_STEP);
134 ncvAssertReturn(numRects <= dstWidth * dstHeight, NCV_DIMENSIONS_INVALID);
149 drawRects<T><<<grid, block>>>(d_dst, dstStride, dstWidth, dstHeight, d_rects, numRects, color);
159 Ncv32u dstWidth,
166 return drawRectsWrapperDevice(d_dst, dstStride, dstWidth, dstHeight, d_rects, numRects, color, cuStream)
    [all...]
  /external/skia/src/codec/
SkSwizzler.cpp 62 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth,
74 for (int x = 1; x < dstWidth; x++) {
87 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth,
98 for (int x = 1; x < dstWidth; x++) {
108 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth,
119 for (int x = 1; x < dstWidth; x++) {
131 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth,
142 for (int x = 1; x < dstWidth; x++) {
156 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth,
167 for (int x = 1; x < dstWidth; x++)
    [all...]
SkSwizzler.h 148 * @param dstWidth Width in pixels of the destination
158 int dstWidth, int bpp, int deltaSrc, int offset,
164 int dstWidth, int bpp, int deltaSrc, int offset,
266 int srcWidth, int dstOffset, int dstWidth, int srcBPP, int dstBPP);
  /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;
  /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/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);
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) {
  /external/webrtc/webrtc/modules/video_render/android/java/src/org/webrtc/videoengine/
ViESurfaceRenderer.java 55 private void changeDestRect(int dstWidth, int dstHeight) {
56 dstRect.right = (int)(dstRect.left + dstRightScale * dstWidth);
  /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);
  /external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/
Gdx2DPixmap.java 201 public void drawPixmap (Gdx2DPixmap src, int srcX, int srcY, int srcWidth, int srcHeight, int dstX, int dstY, int dstWidth,
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 817 Ncv32u dstWidth,
824 ncvAssertReturn(dstWidth > 0 && dstHeight > 0, NCV_DIMENSIONS_INVALID);
825 ncvAssertReturn(dstStride >= dstWidth, NCV_INVALID_STEP);
827 ncvAssertReturn(numRects <= dstWidth * dstHeight, NCV_DIMENSIONS_INVALID);
833 if (rect.x < dstWidth)
840 if (rect.x+rect.width-1 < dstWidth)
849 for (Ncv32u j=rect.x; j<rect.x+rect.width && j<dstWidth; j++)
856 for (Ncv32u j=rect.x; j<rect.x+rect.width && j<dstWidth; j++)
869 Ncv32u dstWidth,
875 return drawRectsWrapperHost(h_dst, dstStride, dstWidth, dstHeight, h_rects, numRects, color)
    [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());
  /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...]

Completed in 2239 milliseconds

1 2 3 4