Searched refs:dstWidth (Results 1 - 25 of 31) sorted by relevance

12

/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Dmipmap.c158 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;
156 do_row(GLenum datatype, GLuint comps, GLint srcWidth, const GLvoid *srcRowA, const GLvoid *srcRowB, GLint dstWidth, GLvoid *dstRow) argument
789 do_row_3D(GLenum datatype, GLuint comps, GLint srcWidth, const GLvoid *srcRowA, const GLvoid *srcRowB, const GLvoid *srcRowC, const GLvoid *srcRowD, GLint dstWidth, GLvoid *dstRow) argument
1422 make_1d_mipmap(GLenum datatype, GLuint comps, GLint border, GLint srcWidth, const GLubyte *srcPtr, GLint dstWidth, GLubyte *dstPtr) argument
1452 make_2d_mipmap(GLenum datatype, GLuint comps, GLint border, GLint srcWidth, GLint srcHeight, const GLubyte *srcPtr, GLint srcRowStride, GLint dstWidth, GLint dstHeight, GLubyte *dstPtr, GLint dstRowStride) argument
1544 make_3d_mipmap(GLenum datatype, GLuint comps, GLint border, GLint srcWidth, GLint srcHeight, GLint srcDepth, const GLubyte **srcPtr, GLint srcRowStride, GLint dstWidth, GLint dstHeight, GLint dstDepth, GLubyte **dstPtr, GLint dstRowStride) argument
1710 _mesa_generate_mipmap_level(GLenum target, GLenum datatype, GLuint comps, GLint border, GLint srcWidth, GLint srcHeight, GLint srcDepth, const GLubyte **srcData, GLint srcRowStride, GLint dstWidth, GLint dstHeight, GLint dstDepth, GLubyte **dstData, GLint dstRowStride) argument
1778 next_mipmap_level_size(GLenum target, GLint border, GLint srcWidth, GLint srcHeight, GLint srcDepth, GLint *dstWidth, GLint *dstHeight, GLint *dstDepth) argument
1906 GLint dstWidth, dstHeight, dstDepth; local
2091 GLint dstWidth, dstHeight, dstDepth; local
[all...]
H A Dmipmap.h39 GLint dstWidth, GLint dstHeight, GLint dstDepth,
/external/mesa3d/src/mesa/main/
H A Dmipmap.c151 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;
149 do_row(GLenum datatype, GLuint comps, GLint srcWidth, const GLvoid *srcRowA, const GLvoid *srcRowB, GLint dstWidth, GLvoid *dstRow) argument
782 do_row_3D(GLenum datatype, GLuint comps, GLint srcWidth, const GLvoid *srcRowA, const GLvoid *srcRowB, const GLvoid *srcRowC, const GLvoid *srcRowD, GLint dstWidth, GLvoid *dstRow) argument
1415 make_1d_mipmap(GLenum datatype, GLuint comps, GLint border, GLint srcWidth, const GLubyte *srcPtr, GLint dstWidth, GLubyte *dstPtr) argument
1445 make_2d_mipmap(GLenum datatype, GLuint comps, GLint border, GLint srcWidth, GLint srcHeight, const GLubyte *srcPtr, GLint srcRowStride, GLint dstWidth, GLint dstHeight, GLubyte *dstPtr, GLint dstRowStride) argument
1537 make_3d_mipmap(GLenum datatype, GLuint comps, GLint border, GLint srcWidth, GLint srcHeight, GLint srcDepth, const GLubyte **srcPtr, GLint srcRowStride, GLint dstWidth, GLint dstHeight, GLint dstDepth, GLubyte **dstPtr, GLint dstRowStride) argument
1703 _mesa_generate_mipmap_level(GLenum target, GLenum datatype, GLuint comps, GLint border, GLint srcWidth, GLint srcHeight, GLint srcDepth, const GLubyte **srcData, GLint srcRowStride, GLint dstWidth, GLint dstHeight, GLint dstDepth, GLubyte **dstData, GLint dstRowStride) argument
1771 next_mipmap_level_size(GLenum target, GLint border, GLint srcWidth, GLint srcHeight, GLint srcDepth, GLint *dstWidth, GLint *dstHeight, GLint *dstDepth) argument
1899 GLint dstWidth, dstHeight, dstDepth; local
2084 GLint dstWidth, dstHeight, dstDepth; local
[all...]
H A Dmipmap.h39 GLint dstWidth, GLint dstHeight, GLint dstDepth,
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/
H A Ds_blit.c43 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); local
142 typedef void (*resample_func)(GLint srcWidth, GLint dstWidth,
258 dstWidth, dstHeight,
273 dstBuffer = malloc(pixelSize * dstWidth);
317 (*resampleRow)(srcWidth, dstWidth, srcBuffe
373 resample_linear_row_ub(GLint srcWidth, GLint dstWidth, const GLvoid *srcBuffer0, const GLvoid *srcBuffer1, GLvoid *dstBuffer, GLboolean flip, GLfloat rowWeight) argument
430 resample_linear_row_float(GLint srcWidth, GLint dstWidth, const GLvoid *srcBuffer0, const GLvoid *srcBuffer1, GLvoid *dstBuffer, GLboolean flip, GLfloat rowWeight) argument
496 const GLint dstWidth = ABS(dstX1 - dstX0); local
[all...]
/external/mesa3d/src/mesa/swrast/
H A Ds_blit.c43 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); local
142 typedef void (*resample_func)(GLint srcWidth, GLint dstWidth,
258 dstWidth, dstHeight,
273 dstBuffer = malloc(pixelSize * dstWidth);
317 (*resampleRow)(srcWidth, dstWidth, srcBuffe
373 resample_linear_row_ub(GLint srcWidth, GLint dstWidth, const GLvoid *srcBuffer0, const GLvoid *srcBuffer1, GLvoid *dstBuffer, GLboolean flip, GLfloat rowWeight) argument
430 resample_linear_row_float(GLint srcWidth, GLint dstWidth, const GLvoid *srcBuffer0, const GLvoid *srcBuffer1, GLvoid *dstBuffer, GLboolean flip, GLfloat rowWeight) argument
496 const GLint dstWidth = ABS(dstX1 - dstX0); local
[all...]
/external/chromium_org/third_party/skia/src/effects/
H A DSkTableMaskFilter.cpp44 int dstWidth = dst->fBounds.width(); local
45 int extraZeros = dst->fRowBytes - dstWidth;
48 for (int x = dstWidth - 1; x >= 0; --x) {
56 dstP += dstWidth;
H A DSkBlurMask.cpp787 int dstWidth = dst->fBounds.width(); local
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(); local
962 uint8_t *outPixel = dstPixels + (x-pad)*dstWidth + y; // transposed output
/external/deqp/framework/delibs/deimage/
H A DdeImage.h59 deImage* deImage_scale (const deImage* image, int dstWidth, int dstHeight);
H A DdeImage.c117 deImage* deImage_scale (const deImage* srcImage, int dstWidth, int dstHeight) argument
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/
H A DSkTableMaskFilter.cpp44 int dstWidth = dst->fBounds.width(); local
45 int extraZeros = dst->fRowBytes - dstWidth;
48 for (int x = dstWidth - 1; x >= 0; --x) {
56 dstP += dstWidth;
H A DSkBlurMask.cpp787 int dstWidth = dst->fBounds.width(); local
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(); local
962 uint8_t *outPixel = dstPixels + (x-pad)*dstWidth + y; // transposed output
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
H A Du_gen_mipmap.c171 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;
169 do_row(enum dtype datatype, uint comps, int srcWidth, const void *srcRowA, const void *srcRowB, int dstWidth, void *dstRow) argument
545 do_row_3D(enum dtype datatype, uint comps, int srcWidth, const void *srcRowA, const void *srcRowB, const void *srcRowC, const void *srcRowD, int dstWidth, void *dstRow) argument
961 reduce_1d(enum pipe_format pformat, int srcWidth, const ubyte *srcPtr, int dstWidth, ubyte *dstPtr) argument
981 reduce_2d(enum pipe_format pformat, int srcWidth, int srcHeight, int srcRowStride, const ubyte *srcPtr, int dstWidth, int dstHeight, int dstRowStride, ubyte *dstPtr) argument
1022 reduce_3d(enum pipe_format pformat, int srcWidth, int srcHeight, int srcDepth, int srcRowStride, int srcImageStride, const ubyte *srcPtr, int dstWidth, int dstHeight, int dstDepth, int dstRowStride, int dstImageStride, ubyte *dstPtr) argument
[all...]
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_gen_mipmap.c171 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;
169 do_row(enum dtype datatype, uint comps, int srcWidth, const void *srcRowA, const void *srcRowB, int dstWidth, void *dstRow) argument
545 do_row_3D(enum dtype datatype, uint comps, int srcWidth, const void *srcRowA, const void *srcRowB, const void *srcRowC, const void *srcRowD, int dstWidth, void *dstRow) argument
961 reduce_1d(enum pipe_format pformat, int srcWidth, const ubyte *srcPtr, int dstWidth, ubyte *dstPtr) argument
981 reduce_2d(enum pipe_format pformat, int srcWidth, int srcHeight, int srcRowStride, const ubyte *srcPtr, int dstWidth, int dstHeight, int dstRowStride, ubyte *dstPtr) argument
1022 reduce_3d(enum pipe_format pformat, int srcWidth, int srcHeight, int srcDepth, int srcRowStride, int srcImageStride, const ubyte *srcPtr, int dstWidth, int dstHeight, int dstDepth, int dstRowStride, int dstImageStride, ubyte *dstPtr) argument
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/
H A Dst_gen_mipmap.c223 uint dstWidth, dstHeight, dstDepth; local
225 dstWidth = u_minify(pt->width0, dstLevel);
249 _mesa_init_teximage_fields(ctx, dstImage, dstWidth, dstHeight,
/external/mesa3d/src/mesa/state_tracker/
H A Dst_gen_mipmap.c223 uint dstWidth, dstHeight, dstDepth; local
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/
H A DShadowBitmap.java57 public static Bitmap createScaledBitmap(Bitmap src, int dstWidth, int dstHeight, boolean filter) { argument
61 shadowBitmap.appendDescription(" scaled to " + dstWidth + " x " + dstHeight);
65 shadowBitmap.setWidth(dstWidth);
/external/chromium_org/ui/file_manager/gallery/js/image_editor/
H A Dfilter.js153 var dstWidth = dst.width;
160 if (offsetX < 0 || offsetX + dstWidth > srcWidth ||
167 for (var x = 0; x != dstWidth; x++) {
223 var dstWidth = dst.width;
225 var dstStride = dstWidth * 4;
233 if (offsetX < 0 || offsetX + dstWidth > srcWidth ||
245 var endX = Math.min(dstWidth, srcWidth - margin - offsetX);
373 var dstWidth = dst.width;
380 if (offsetX < 0 || offsetX + dstWidth > srcWidth ||
392 for (var x = 0; x != dstWidth;
[all...]
/external/chromium_org/third_party/webrtc/modules/video_render/android/java/src/org/webrtc/videoengine/
H A DViESurfaceRenderer.java54 private void changeDestRect(int dstWidth, int dstHeight) { argument
55 dstRect.right = (int)(dstRect.left + dstRightScale * dstWidth);
/external/chromium_org/third_party/skia/samplecode/
H A DSampleStrokePath.cpp78 static void scale_to_width(SkPath* path, SkScalar dstWidth) { argument
80 SkScalar scale = dstWidth / bounds.width();
/external/skia/samplecode/
H A DSampleStrokePath.cpp78 static void scale_to_width(SkPath* path, SkScalar dstWidth) { argument
80 SkScalar scale = dstWidth / bounds.width();
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/include/
H A Dsvga_reg.h809 uint32 dstWidth; member in struct:SVGAOverlayUnit
/external/mesa3d/src/gallium/drivers/svga/include/
H A Dsvga_reg.h809 uint32 dstWidth; member in struct:SVGAOverlayUnit
/external/pdfium/core/src/fxge/Microsoft SDK/include/
H A DGdiPlusBrush.h304 IN REAL dstWidth,
314 dstWidth,
330 IN INT dstWidth,
340 dstWidth,
300 TextureBrush(IN Image* image, IN WrapMode wrapMode, IN REAL dstX, IN REAL dstY, IN REAL dstWidth, IN REAL dstHeight) argument
326 TextureBrush(IN Image* image, IN WrapMode wrapMode, IN INT dstX, IN INT dstY, IN INT dstWidth, IN INT dstHeight) argument
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/common/
H A Dmeta.c3365 GLsizei dstWidth, dstHeight, dstDepth; local
3377 dstWidth = MAX2(1, srcWidth / 2);
3381 if (dstWidth == srcImage->Width &&
3394 dstWidth, dstHeight, dstDepth,
3442 assert(dstWidth == ctx->DrawBuffer->Width);
3446 _mesa_set_viewport(ctx, 0, 0, dstWidth, dstHeight);

Completed in 886 milliseconds

12