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

/external/chromium_org/third_party/angle/samples/gles2_book/MipMap2D/
H A DMipMap2D.c43 GLboolean GenMipMap2D( GLubyte *src, GLubyte **dst, int srcWidth, int srcHeight, int *dstWidth, int *dstHeight ) argument
49 *dstWidth = srcWidth / 2;
50 if ( *dstWidth <= 0 )
51 *dstWidth = 1;
57 *dst = malloc ( sizeof(GLubyte) * texelSize * (*dstWidth) * (*dstHeight) );
63 for( x = 0; x < *dstWidth; x++ )
96 (*dst)[ ( y * (*dstWidth) + x ) * texelSize ] = (GLubyte)( r );
97 (*dst)[ ( y * (*dstWidth) + x ) * texelSize + 1] = (GLubyte)( g );
98 (*dst)[ ( y * (*dstWidth) + x ) * texelSize + 2] = (GLubyte)( b );
/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.cpp43 int dstWidth = dst->fBounds.width(); local
44 int extraZeros = dst->fRowBytes - dstWidth;
47 for (int x = dstWidth - 1; x >= 0; --x) {
55 dstP += dstWidth;
H A DSkBlurMask.cpp775 int dstWidth = dst->fBounds.width(); local
786 SkAutoTMalloc<uint8_t> horizontalScanline(dstWidth);
788 for (int x = 0 ; x < dstWidth ; ++x) {
790 horizontalScanline[x] = profile_lookup(profile, x, dstWidth, w);
808 for (int x = 0 ; x < dstWidth ; x++) {
822 uint8_t *blur_scanline = dp + (y+pad)*dstWidth + pad;
836 uint8_t *dst_scanline = dp + y*dstWidth + pad;
841 uint8_t *dst_scanline = dp + y*dstWidth + pad;
909 int dstWidth = dst->fBounds.width(); local
967 uint8_t *outPixel = dstPixels + (x-pad)*dstWidth
[all...]
/external/skia/src/effects/
H A DSkTableMaskFilter.cpp43 int dstWidth = dst->fBounds.width(); local
44 int extraZeros = dst->fRowBytes - dstWidth;
47 for (int x = dstWidth - 1; x >= 0; --x) {
55 dstP += dstWidth;
H A DSkBlurMask.cpp775 int dstWidth = dst->fBounds.width(); local
786 SkAutoTMalloc<uint8_t> horizontalScanline(dstWidth);
788 for (int x = 0 ; x < dstWidth ; ++x) {
790 horizontalScanline[x] = profile_lookup(profile, x, dstWidth, w);
808 for (int x = 0 ; x < dstWidth ; x++) {
822 uint8_t *blur_scanline = dp + (y+pad)*dstWidth + pad;
836 uint8_t *dst_scanline = dp + y*dstWidth + pad;
841 uint8_t *dst_scanline = dp + y*dstWidth + pad;
909 int dstWidth = dst->fBounds.width(); local
967 uint8_t *outPixel = dstPixels + (x-pad)*dstWidth
[all...]
/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/chrome/browser/resources/file_manager/foreground/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/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/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);
/external/mesa3d/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);
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 1106 milliseconds