Searched refs:width (Results 276 - 300 of 2975) sorted by relevance

<<11121314151617181920>>

/external/skia/src/core/
H A DSkValidationUtils.h29 return rect.width() >= 0 && rect.height() >= 0;
37 SkScalarIsFinite(rect.width()) &&
/external/skia/src/images/
H A DSkImageDecoder_libbmp.cpp73 virtual uint8* SetSize(int width, int height) { argument
74 fWidth = width;
80 fRGB.setCount(width * height * 3); // 3 == r, g, b
84 int width() const { return fWidth; } function in class:SkBmpDecoderCallback
113 const int max_pixels = 16383*16383; // max width*height
124 int width = callback.width(); local
133 SkScaledBitmapSampler sampler(width, height, getSampleSize());
152 const int srcRowBytes = width * 3;
H A DSkImageDecoder_libwebp.cpp54 static bool webp_parse_header(SkStream* stream, int* width, int* height, int* alpha) { argument
75 *width = features.width;
81 int64_t size = sk_64_mul(*width, *height);
106 bool onBuildTileIndex(SkStreamRewindable *stream, int *width, int *height) override;
120 bool setDecodeConfig(SkBitmap* decodedBitmap, int width, int height);
160 SkDEBUGF(("libwebp error %s [%d %d]", msg, bm.width(), bm.height()));
243 int width, int height, bool premultiply) {
259 if (width != decodedBitmap->width() || heigh
241 webp_get_config_resize(WebPDecoderConfig* config, SkBitmap* decodedBitmap, int width, int height, bool premultiply) argument
286 setDecodeConfig(SkBitmap* decodedBitmap, int width, int height) argument
311 onBuildTileIndex(SkStreamRewindable* stream, int *width, int *height) argument
351 const int width = sampler.scaledWidth(); local
451 ARGB_8888_To_RGB(const uint8_t* in, uint8_t* rgb, int width, const SkPMColor*) argument
463 ARGB_8888_To_RGBA(const uint8_t* in, uint8_t* rgb, int width, const SkPMColor*) argument
488 RGB_565_To_RGB(const uint8_t* in, uint8_t* rgb, int width, const SkPMColor*) argument
500 ARGB_4444_To_RGB(const uint8_t* in, uint8_t* rgb, int width, const SkPMColor*) argument
512 ARGB_4444_To_RGBA(const uint8_t* in, uint8_t* rgb, int width, const SkPMColor*) argument
537 Index8_To_RGB(const uint8_t* in, uint8_t* rgb, int width, const SkPMColor* SK_RESTRICT ctable) argument
654 int width, height, hasAlpha; local
664 int width, height, hasAlpha; local
[all...]
H A DSkImageEncoder_argb.cpp22 typedef void (*ScanlineImporter)(const uint8_t* in, uint8_t* argb, int width,
25 static void ARGB_8888_To_ARGB(const uint8_t* in, uint8_t* argb, int width, const SkPMColor*) { argument
27 for (int i = 0; i < width; ++i) {
37 static void RGB_565_To_ARGB(const uint8_t* in, uint8_t* argb, int width, const SkPMColor*) { argument
39 for (int i = 0; i < width; ++i) {
49 static void ARGB_4444_To_ARGB(const uint8_t* in, uint8_t* argb, int width, const SkPMColor*) { argument
51 for (int i = 0; i < width; ++i) {
61 static void Index8_To_ARGB(const uint8_t* in, uint8_t* argb, int width, argument
64 for (int i = 0; i < width; ++i) {
103 const int argbStride = bitmap.width() *
[all...]
H A DSkImageDecoder_ktx.cpp62 const unsigned short width = ktxFile.width(); local
70 SkScaledBitmapSampler sampler(width, height, this->getSampleSize());
134 int nPixels = width * height;
141 outRGBDataPtr, width, buf, width, height, ktxCompressedFormat)) {
146 const int srcRowBytes = width;
163 int nPixels = width * height;
170 outRGBDataPtr, width*3, buf, width, heigh
290 etc1_uint32 width = etc1_pkm_get_width(bytes); local
[all...]
/external/skia/src/svg/parser/
H A DSkSVGRect.cpp15 SVG_ATTRIBUTE(width),
32 SVG_ADD_ATTRIBUTE(width);
/external/skia/tools/skpdiff/
H A Ddiff_viewer.js46 // compute the scaled image width/height for image and canvas
50 while ((image.width / divisor) > MAX_SWAP_IMG_SIZE) {
57 canvas.width = image.width * scope.imgScaleFactor;
63 scope.updateMaskCanvasSize({width: canvas.width, height: canvas.height});
79 canvas.width = updatedSize.width;
99 var magMaxX = canvas.width - MAGNIFIER_WIDTH;
104 width
[all...]
/external/v8/src/arm64/
H A Dinstructions-arm64.cc69 unsigned int width) {
70 DCHECK(width <= 64);
72 return ((value & ((1UL << rotate) - 1UL)) << (width - rotate)) |
79 unsigned width) {
80 DCHECK((width == 2) || (width == 4) || (width == 8) || (width == 16) ||
81 (width == 32));
83 uint64_t result = value & ((1UL << width)
67 RotateRight(uint64_t value, unsigned int rotate, unsigned int width) argument
77 RepeatBitsAcrossReg(unsigned reg_size, uint64_t value, unsigned width) argument
[all...]
/external/opencv/cv/src/
H A Dcvutils.cpp67 if( (mat->width != 1 && mat->height != 1) || !CV_IS_MAT_CONT(mat->type))
75 mat->width*mat->height, (CvSeq*)contour_header, block ));
159 srcroi.width *= cn;
160 dstroi.width *= cn;
166 for( j = 0; j < srcroi.width; j++ )
170 for( j = left+srcroi.width; j < dstroi.width; j++ )
178 srcroi.width *= cn;
179 dstroi.width *= cn;
185 for( j = 0; j < srcroi.width;
[all...]
H A Dcvpyrsegmentation.cpp220 if( roi.width <= 0 || roi.height <= 0 || src_step < roi.width || dst_step < roi.width )
229 if( ((roi.width | roi.height) & ((1 << level) - 1)) != 0 )
243 buffer_size = roi.width * roi.height * (sizeof( float ) + sizeof( _CvPyramidBase ));
246 buffer_size += ((roi.width >> l) + 1) * ((roi.height >> l) + 1) * sizeof(_CvPyramid);
259 step = roi.width * sizeof( float );
264 cvInitMatHeader( &_src, roi.height, roi.width, CV_8UC1, src_image, src_step );
265 cvInitMatHeader( &_pyramida, roi.height, roi.width, CV_32FC1, pyramida, step );
275 for( j = 0; j < roi.width;
[all...]
/external/opencv/cvaux/src/
H A Dcvhmmobs.cpp50 // imgStep - full row width of the image in bytes
51 // roi - width and height of ROI in pixels
56 // obsSize.width * obsSize.height floats.
58 // 0 < objSize.width <= dctSize.width,
68 // Nx = floor((roi.width - dctSize.width + delta.width)/delta.width);
72 // array obs must be >= Nx*Ny*obsSize.width*obsSiz
[all...]
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/texture/plugins/
H A DHDRLoader.java142 private boolean decodeScanlineRLE(InputStream in, int width) throws IOException{ argument
145 rleTempBuffer = BufferUtils.createByteBuffer(width * 4);
148 if (rleTempBuffer.remaining() < width * 4)
149 rleTempBuffer = BufferUtils.createByteBuffer(width * 4);
155 for (int j = 0; j < width;) {
179 for (int i = 0; i < width; i++){
187 private boolean decodeScanlineUncompressed(InputStream in, int width) throws IOException{ argument
190 for (int i = 0; i < width; i+=3){
199 private void decodeScanline(InputStream in, int width) throws IOException{ argument
200 if (width <
[all...]
/external/mesa3d/src/mesa/main/
H A Dtexstorage.c105 GLint *width, GLint *height, GLint *depth)
107 if (*width > 1) {
108 *width /= 2;
129 GLsizei width, GLsizei height, GLsizei depth)
134 GLint level, levelWidth = width, levelHeight = height, levelDepth = depth;
138 assert(width > 0);
174 width, height, depth)) {
244 GLsizei width, GLsizei height, GLsizei depth)
297 if (width < 1 || height < 1 || depth < 1) {
299 "glTexStorage%uD(width, heigh
104 next_mipmap_level_size(GLenum target, GLint *width, GLint *height, GLint *depth) argument
125 setup_texstorage(struct gl_context *ctx, struct gl_texture_object *texObj, GLuint dims, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth) argument
242 tex_storage_error_check(struct gl_context *ctx, GLuint dims, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth) argument
356 texstorage(GLuint dims, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth) argument
396 _mesa_TexStorage1D(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width) argument
404 _mesa_TexStorage2D(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height) argument
412 _mesa_TexStorage3D(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth) argument
429 _mesa_TextureStorage1DEXT(GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width) argument
438 _mesa_TextureStorage2DEXT(GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height) argument
448 _mesa_TextureStorage3DEXT(GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth) argument
[all...]
H A Ddrawpix.c49 _mesa_DrawPixels( GLsizei width, GLsizei height, argument
58 width, height,
67 if (width < 0 || height < 0) {
68 _mesa_error( ctx, GL_INVALID_VALUE, "glDrawPixels(width or height < 0)" );
144 if (width > 0 && height > 0) {
151 if (!_mesa_validate_pbo_access(2, &ctx->Unpack, width, height,
165 ctx->Driver.DrawPixels(ctx, x, y, width, height, format, type,
193 _mesa_CopyPixels( GLint srcx, GLint srcy, GLsizei width, GLsizei height, argument
202 srcx, srcy, width, height,
209 if (width <
298 _mesa_Bitmap( GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap ) argument
[all...]
/external/skia/src/opts/
H A DSkBlitMask_opts_arm_neon.cpp7 SkColor, int width, int height) {
11 maskRB -= width;
12 dstRB -= (width << 2);
14 int w = width;
43 SkColor color, int width, int height) {
49 maskRB -= width;
50 dstRB -= (width << 2);
52 if (width >= 8) {
59 int w = width;
106 SkColor color, int width, in
5 D32_A8_Black_neon(void* SK_RESTRICT dst, size_t dstRB, const void* SK_RESTRICT maskPtr, size_t maskRB, SkColor, int width, int height) argument
41 D32_A8_Opaque_Color_neon(void* SK_RESTRICT dst, size_t dstRB, const void* SK_RESTRICT maskPtr, size_t maskRB, SkColor color, int width, int height) argument
104 D32_A8_Opaque_neon(void* SK_RESTRICT dst, size_t dstRB, const void* SK_RESTRICT maskPtr, size_t maskRB, SkColor color, int width, int height) argument
110 D32_A8_Color_neon(void* SK_RESTRICT dst, size_t dstRB, const void* SK_RESTRICT maskPtr, size_t maskRB, SkColor color, int width, int height) argument
128 SkBlitLCD16OpaqueRow_neon(SkPMColor dst[], const uint16_t src[], SkColor color, int width, SkPMColor opaqueDst) argument
197 SkBlitLCD16Row_neon(SkPMColor dst[], const uint16_t src[], SkColor color, int width, SkPMColor) argument
[all...]
/external/libvpx/libvpx/third_party/libyuv/source/
H A Drow_common.cc73 void RGB24ToARGBRow_C(const uint8* src_rgb24, uint8* dst_argb, int width) { argument
75 for (x = 0; x < width; ++x) {
88 void RAWToARGBRow_C(const uint8* src_raw, uint8* dst_argb, int width) { argument
90 for (x = 0; x < width; ++x) {
103 void RGB565ToARGBRow_C(const uint8* src_rgb565, uint8* dst_argb, int width) { argument
105 for (x = 0; x < width; ++x) {
119 int width) {
121 for (x = 0; x < width; ++x) {
136 int width) {
138 for (x = 0; x < width;
118 ARGB1555ToARGBRow_C(const uint8* src_argb1555, uint8* dst_argb, int width) argument
135 ARGB4444ToARGBRow_C(const uint8* src_argb4444, uint8* dst_argb, int width) argument
152 ARGBToRGB24Row_C(const uint8* src_argb, uint8* dst_rgb, int width) argument
166 ARGBToRAWRow_C(const uint8* src_argb, uint8* dst_rgb, int width) argument
180 ARGBToRGB565Row_C(const uint8* src_argb, uint8* dst_rgb, int width) argument
202 ARGBToARGB1555Row_C(const uint8* src_argb, uint8* dst_rgb, int width) argument
229 ARGBToARGB4444Row_C(const uint8* src_argb, uint8* dst_rgb, int width) argument
388 RGB565ToYRow_C(const uint8* src_rgb565, uint8* dst_y, int width) argument
403 ARGB1555ToYRow_C(const uint8* src_argb1555, uint8* dst_y, int width) argument
418 ARGB4444ToYRow_C(const uint8* src_argb4444, uint8* dst_y, int width) argument
433 RGB565ToUVRow_C(const uint8* src_rgb565, int src_stride_rgb565, uint8* dst_u, uint8* dst_v, int width) argument
480 ARGB1555ToUVRow_C(const uint8* src_argb1555, int src_stride_argb1555, uint8* dst_u, uint8* dst_v, int width) argument
528 ARGB4444ToUVRow_C(const uint8* src_argb4444, int src_stride_argb4444, uint8* dst_u, uint8* dst_v, int width) argument
576 ARGBToUV444Row_C(const uint8* src_argb, uint8* dst_u, uint8* dst_v, int width) argument
591 ARGBToUV422Row_C(const uint8* src_argb, uint8* dst_u, uint8* dst_v, int width) argument
613 ARGBToUV411Row_C(const uint8* src_argb, uint8* dst_u, uint8* dst_v, int width) argument
647 ARGBGrayRow_C(const uint8* src_argb, uint8* dst_argb, int width) argument
659 ARGBSepiaRow_C(uint8* dst_argb, int width) argument
678 ARGBColorMatrixRow_C(const uint8* src_argb, uint8* dst_argb, const int8* matrix_argb, int width) argument
704 ARGBColorTableRow_C(uint8* dst_argb, const uint8* table_argb, int width) argument
720 RGBColorTableRow_C(uint8* dst_argb, const uint8* table_argb, int width) argument
733 ARGBQuantizeRow_C(uint8* dst_argb, int scale, int interval_size, int interval_offset, int width) argument
750 ARGBShadeRow_C(const uint8* src_argb, uint8* dst_argb, int width, uint32 value) argument
777 ARGBMultiplyRow_C(const uint8* src_argb0, const uint8* src_argb1, uint8* dst_argb, int width) argument
803 ARGBAddRow_C(const uint8* src_argb0, const uint8* src_argb1, uint8* dst_argb, int width) argument
828 ARGBSubtractRow_C(const uint8* src_argb0, const uint8* src_argb1, uint8* dst_argb, int width) argument
852 SobelXRow_C(const uint8* src_y0, const uint8* src_y1, const uint8* src_y2, uint8* dst_sobelx, int width) argument
870 SobelYRow_C(const uint8* src_y0, const uint8* src_y1, uint8* dst_sobely, int width) argument
888 SobelRow_C(const uint8* src_sobelx, const uint8* src_sobely, uint8* dst_argb, int width) argument
903 SobelToPlaneRow_C(const uint8* src_sobelx, const uint8* src_sobely, uint8* dst_y, int width) argument
914 SobelXYRow_C(const uint8* src_sobelx, const uint8* src_sobely, uint8* dst_argb, int width) argument
929 I400ToARGBRow_C(const uint8* src_y, uint8* dst_argb, int width) argument
970 I444ToARGBRow_C(const uint8* src_y, const uint8* src_u, const uint8* src_v, uint8* rgb_buf, int width) argument
994 I444ToARGBRow_C(const uint8* src_y, const uint8* src_u, const uint8* src_v, uint8* rgb_buf, int width) argument
1012 I422ToARGBRow_C(const uint8* src_y, const uint8* src_u, const uint8* src_v, uint8* rgb_buf, int width) argument
1037 I422ToRGB24Row_C(const uint8* src_y, const uint8* src_u, const uint8* src_v, uint8* rgb_buf, int width) argument
1059 I422ToRAWRow_C(const uint8* src_y, const uint8* src_u, const uint8* src_v, uint8* rgb_buf, int width) argument
1081 I422ToARGB4444Row_C(const uint8* src_y, const uint8* src_u, const uint8* src_v, uint8* dst_argb4444, int width) argument
1119 I422ToARGB1555Row_C(const uint8* src_y, const uint8* src_u, const uint8* src_v, uint8* dst_argb1555, int width) argument
1157 I422ToRGB565Row_C(const uint8* src_y, const uint8* src_u, const uint8* src_v, uint8* dst_rgb565, int width) argument
1194 I411ToARGBRow_C(const uint8* src_y, const uint8* src_u, const uint8* src_v, uint8* rgb_buf, int width) argument
1235 NV12ToARGBRow_C(const uint8* src_y, const uint8* usrc_v, uint8* rgb_buf, int width) argument
1258 NV21ToARGBRow_C(const uint8* src_y, const uint8* src_vu, uint8* rgb_buf, int width) argument
1283 NV12ToRGB565Row_C(const uint8* src_y, const uint8* usrc_v, uint8* dst_rgb565, int width) argument
1318 NV21ToRGB565Row_C(const uint8* src_y, const uint8* vsrc_u, uint8* dst_rgb565, int width) argument
1353 YUY2ToARGBRow_C(const uint8* src_yuy2, uint8* rgb_buf, int width) argument
1374 UYVYToARGBRow_C(const uint8* src_uyvy, uint8* rgb_buf, int width) argument
1395 I422ToBGRARow_C(const uint8* src_y, const uint8* src_u, const uint8* src_v, uint8* rgb_buf, int width) argument
1420 I422ToABGRRow_C(const uint8* src_y, const uint8* src_u, const uint8* src_v, uint8* rgb_buf, int width) argument
1445 I422ToRGBARow_C(const uint8* src_y, const uint8* src_u, const uint8* src_v, uint8* rgb_buf, int width) argument
1470 YToARGBRow_C(const uint8* src_y, uint8* rgb_buf, int width) argument
1489 MirrorRow_C(const uint8* src, uint8* dst, int width) argument
1502 MirrorUVRow_C(const uint8* src_uv, uint8* dst_u, uint8* dst_v, int width) argument
1518 ARGBMirrorRow_C(const uint8* src, uint8* dst, int width) argument
1533 SplitUVRow_C(const uint8* src_uv, uint8* dst_u, uint8* dst_v, int width) argument
1548 MergeUVRow_C(const uint8* src_u, const uint8* src_v, uint8* dst_uv, int width) argument
1584 ARGBSetRows_C(uint8* dst, uint32 v32, int width, int dst_stride, int height) argument
1598 YUY2ToUVRow_C(const uint8* src_yuy2, int src_stride_yuy2, uint8* dst_u, uint8* dst_v, int width) argument
1612 YUY2ToUV422Row_C(const uint8* src_yuy2, uint8* dst_u, uint8* dst_v, int width) argument
1626 YUY2ToYRow_C(const uint8* src_yuy2, uint8* dst_y, int width) argument
1640 UYVYToUVRow_C(const uint8* src_uyvy, int src_stride_uyvy, uint8* dst_u, uint8* dst_v, int width) argument
1654 UYVYToUV422Row_C(const uint8* src_uyvy, uint8* dst_u, uint8* dst_v, int width) argument
1668 UYVYToYRow_C(const uint8* src_uyvy, uint8* dst_y, int width) argument
1686 ARGBBlendRow_C(const uint8* src_argb0, const uint8* src_argb1, uint8* dst_argb, int width) argument
1737 ARGBAttenuateRow_C(const uint8* src_argb, uint8* dst_argb, int width) argument
1815 ARGBUnattenuateRow_C(const uint8* src_argb, uint8* dst_argb, int width) argument
1836 ComputeCumulativeSumRow_C(const uint8* row, int32* cumsum, const int32* previous_cumsum, int width) argument
1869 ARGBAffineRow_C(const uint8* src_argb, int src_argb_stride, uint8* dst_argb, const float* uv_dudv, int width) argument
1906 InterpolateRow_C(uint8* dst_ptr, const uint8* src_ptr, ptrdiff_t src_stride, int width, int source_y_fraction) argument
1933 InterpolateRow_16_C(uint16* dst_ptr, const uint16* src_ptr, ptrdiff_t src_stride, int width, int source_y_fraction) argument
2018 I422ToYUY2Row_C(const uint8* src_y, const uint8* src_u, const uint8* src_v, uint8* dst_frame, int width) argument
2041 I422ToUYVYRow_C(const uint8* src_y, const uint8* src_u, const uint8* src_v, uint8* dst_frame, int width) argument
2067 I422ToRGB565Row_SSSE3(const uint8* src_y, const uint8* src_u, const uint8* src_v, uint8* rgb_buf, int width) argument
2081 I422ToARGB1555Row_SSSE3(const uint8* src_y, const uint8* src_u, const uint8* src_v, uint8* rgb_buf, int width) argument
2093 I422ToARGB4444Row_SSSE3(const uint8* src_y, const uint8* src_u, const uint8* src_v, uint8* rgb_buf, int width) argument
2105 NV12ToRGB565Row_SSSE3(const uint8* src_y, const uint8* src_uv, uint8* dst_rgb565, int width) argument
2116 NV21ToRGB565Row_SSSE3(const uint8* src_y, const uint8* src_vu, uint8* dst_rgb565, int width) argument
2127 YUY2ToARGBRow_SSSE3(const uint8* src_yuy2, uint8* dst_argb, int width) argument
2140 YUY2ToARGBRow_Unaligned_SSSE3(const uint8* src_yuy2, uint8* dst_argb, int width) argument
2153 UYVYToARGBRow_SSSE3(const uint8* src_uyvy, uint8* dst_argb, int width) argument
2166 UYVYToARGBRow_Unaligned_SSSE3(const uint8* src_uyvy, uint8* dst_argb, int width) argument
2182 ARGBPolynomialRow_C(const uint8* src_argb, uint8* dst_argb, const float* poly, int width) argument
2221 ARGBLumaColorTableRow_C(const uint8* src_argb, uint8* dst_argb, int width, const uint8* luma, uint32 lumacoeff) argument
2257 ARGBCopyAlphaRow_C(const uint8* src, uint8* dst, int width) argument
2270 ARGBCopyYToAlphaRow_C(const uint8* src, uint8* dst, int width) argument
[all...]
/external/libyuv/files/source/
H A Drotate.cc46 void MirrorRow_NEON(const uint8* src, uint8* dst, int width);
50 int width);
53 uint8* dst, int dst_stride, int width);
58 int width);
65 uint8* dst, int dst_stride, int width) {
74 mov ecx, [esp + 12 + 20] // width
286 uint8* dst, int dst_stride, int width) {
362 "+r"(width) // %2
498 uint8* dst, int dst_stride, int width) {
626 "+r"(width) //
64 TransposeWx8_SSSE3(const uint8* src, int src_stride, uint8* dst, int dst_stride, int width) argument
285 TransposeWx8_SSSE3(const uint8* src, int src_stride, uint8* dst, int dst_stride, int width) argument
497 TransposeWx8_FAST_SSSE3(const uint8* src, int src_stride, uint8* dst, int dst_stride, int width) argument
748 TransposeWx8_C(const uint8* src, int src_stride, uint8* dst, int dst_stride, int width) argument
765 TransposeWxH_C(const uint8* src, int src_stride, uint8* dst, int dst_stride, int width, int height) argument
776 TransposePlane(const uint8* src, int src_stride, uint8* dst, int dst_stride, int width, int height) argument
813 RotatePlane90(const uint8* src, int src_stride, uint8* dst, int dst_stride, int width, int height) argument
825 RotatePlane270(const uint8* src, int src_stride, uint8* dst, int dst_stride, int width, int height) argument
837 RotatePlane180(const uint8* src, int src_stride, uint8* dst, int dst_stride, int width, int height) argument
900 TransposeUVWx8_C(const uint8* src, int src_stride, uint8* dst_a, int dst_stride_a, uint8* dst_b, int dst_stride_b, int width) argument
927 TransposeUVWxH_C(const uint8* src, int src_stride, uint8* dst_a, int dst_stride_a, uint8* dst_b, int dst_stride_b, int width, int height) argument
939 TransposeUV(const uint8* src, int src_stride, uint8* dst_a, int dst_stride_a, uint8* dst_b, int dst_stride_b, int width, int height) argument
979 RotateUV90(const uint8* src, int src_stride, uint8* dst_a, int dst_stride_a, uint8* dst_b, int dst_stride_b, int width, int height) argument
993 RotateUV270(const uint8* src, int src_stride, uint8* dst_a, int dst_stride_a, uint8* dst_b, int dst_stride_b, int width, int height) argument
1010 RotateUV180(const uint8* src, int src_stride, uint8* dst_a, int dst_stride_a, uint8* dst_b, int dst_stride_b, int width, int height) argument
1040 I420Rotate(const uint8* src_y, int src_stride_y, const uint8* src_u, int src_stride_u, const uint8* src_v, int src_stride_v, uint8* dst_y, int dst_stride_y, uint8* dst_u, int dst_stride_u, uint8* dst_v, int dst_stride_v, int width, int height, RotationMode mode) argument
1117 NV12ToI420Rotate(const uint8* src_y, int src_stride_y, const uint8* src_uv, int src_stride_uv, uint8* dst_y, int dst_stride_y, uint8* dst_u, int dst_stride_u, uint8* dst_v, int dst_stride_v, int width, int height, RotationMode mode) argument
[all...]
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_format_s3tc.c82 int width, int height,
246 unsigned width, unsigned height,
254 for(x = 0; x < width; x += bw) {
270 unsigned width, unsigned height)
274 width, height,
281 unsigned width, unsigned height)
285 width, height,
292 unsigned width, unsigned height)
296 width, height,
303 unsigned width, unsigne
81 util_format_dxtn_pack_stub(int src_comps, int width, int height, const uint8_t *src, enum util_format_dxtn dst_format, uint8_t *dst, int dst_stride) argument
244 util_format_dxtn_rgb_unpack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height, util_format_dxtn_fetch_t fetch, unsigned block_size) argument
268 util_format_dxt1_rgb_unpack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height) argument
279 util_format_dxt1_rgba_unpack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height) argument
290 util_format_dxt3_rgba_unpack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height) argument
301 util_format_dxt5_rgba_unpack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height) argument
312 util_format_dxtn_rgb_unpack_rgba_float(float *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height, util_format_dxtn_fetch_t fetch, unsigned block_size) argument
340 util_format_dxt1_rgb_unpack_rgba_float(float *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height) argument
351 util_format_dxt1_rgba_unpack_rgba_float(float *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height) argument
362 util_format_dxt3_rgba_unpack_rgba_float(float *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height) argument
373 util_format_dxt5_rgba_unpack_rgba_float(float *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height) argument
389 util_format_dxt1_rgb_pack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src, unsigned src_stride, unsigned width, unsigned height) argument
414 util_format_dxt1_rgba_pack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src, unsigned src_stride, unsigned width, unsigned height) argument
439 util_format_dxt3_rgba_pack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src, unsigned src_stride, unsigned width, unsigned height) argument
464 util_format_dxt5_rgba_pack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src, unsigned src_stride, unsigned width, unsigned height) argument
490 util_format_dxt1_rgb_pack_rgba_float(uint8_t *dst_row, unsigned dst_stride, const float *src, unsigned src_stride, unsigned width, unsigned height) argument
514 util_format_dxt1_rgba_pack_rgba_float(uint8_t *dst_row, unsigned dst_stride, const float *src, unsigned src_stride, unsigned width, unsigned height) argument
538 util_format_dxt3_rgba_pack_rgba_float(uint8_t *dst_row, unsigned dst_stride, const float *src, unsigned src_stride, unsigned width, unsigned height) argument
562 util_format_dxt5_rgba_pack_rgba_float(uint8_t *dst_row, unsigned dst_stride, const float *src, unsigned src_stride, unsigned width, unsigned height) argument
593 util_format_dxt1_srgb_unpack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height) argument
599 util_format_dxt1_srgb_pack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height) argument
611 util_format_dxt1_srgba_unpack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height) argument
617 util_format_dxt1_srgba_pack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height) argument
629 util_format_dxt3_srgba_unpack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height) argument
635 util_format_dxt3_srgba_pack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height) argument
647 util_format_dxt5_srgba_unpack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height) argument
653 util_format_dxt5_srgba_pack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height) argument
665 util_format_dxt1_srgb_unpack_rgba_float(float *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height) argument
671 util_format_dxt1_srgb_pack_rgba_float(uint8_t *dst_row, unsigned dst_stride, const float *src_row, unsigned src_stride, unsigned width, unsigned height) argument
683 util_format_dxt1_srgba_unpack_rgba_float(float *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height) argument
689 util_format_dxt1_srgba_pack_rgba_float(uint8_t *dst_row, unsigned dst_stride, const float *src_row, unsigned src_stride, unsigned width, unsigned height) argument
701 util_format_dxt3_srgba_unpack_rgba_float(float *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height) argument
707 util_format_dxt3_srgba_pack_rgba_float(uint8_t *dst_row, unsigned dst_stride, const float *src_row, unsigned src_stride, unsigned width, unsigned height) argument
719 util_format_dxt5_srgba_unpack_rgba_float(float *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height) argument
725 util_format_dxt5_srgba_pack_rgba_float(uint8_t *dst_row, unsigned dst_stride, const float *src_row, unsigned src_stride, unsigned width, unsigned height) argument
[all...]
/external/deqp/framework/delibs/deimage/
H A DdeTarga.c40 int width; local
59 width = (int)(tgaHeader[12]) | ((int)(tgaHeader[13]) << 8);
62 stride = width * bitsPerPixel / 8;
74 image = deImage_create(width, height, format);
86 deARGB* dst = (deUint32*)((deUint8*)image->pixels + dstY*image->width*bpp);
91 for (x = 0; x < width; x++)
122 int width = image->width; local
147 tgaHeader[12] = (char)(width & 0xFF);
148 tgaHeader[13] = (char)(width >>
[all...]
/external/mesa3d/src/mesa/swrast/
H A Ds_bitmap.c50 GLsizei width, GLsizei height,
73 span.end = width;
79 bitmap, width, height, GL_COLOR_INDEX, GL_BITMAP, row, 0);
84 for (col = 0; col < width; col++) {
106 for (col = 0; col < width; col++) {
126 if (count + width >= SWRAST_MAX_WIDTH || row + 1 == height) {
149 GLsizei width, GLsizei height,
166 span.end = width;
173 /*span.end = width;*/
177 bitmap, width, heigh
49 _swrast_Bitmap( struct gl_context *ctx, GLint px, GLint py, GLsizei width, GLsizei height, const struct gl_pixelstore_attrib *unpack, const GLubyte *bitmap ) argument
[all...]
/external/opencv/
H A Dcvjni.cpp47 jint width,
62 m_capture = cvCreateSocketCapture(address_chars, port_chars, width, height);
148 loadImageBytes(mat_image->data.ptr, mat_image->step, mat_image->width,
168 jint width, jint height) {
176 IplImage *image = loadPixels(pixels, width, height);
193 jint width,
203 m_sourceImage = getIplImageFromIntArray(env, photo_data, width, height);
217 jint width,
267 loadImageBytes(mat_image->data.ptr, mat_image->step, mat_image->width,
312 m_smallestFaceSize.width
43 Java_org_siprop_opencv_OpenCV_createSocketCapture(JNIEnv* env, jobject thiz, jstring address_str, jstring port_str, jint width, jint height) argument
167 getIplImageFromIntArray(JNIEnv* env, jintArray array_data, jint width, jint height) argument
190 Java_org_siprop_opencv_OpenCV_setSourceImage(JNIEnv* env, jobject thiz, jintArray photo_data, jint width, jint height) argument
215 Java_org_siprop_opencv_OpenCV_findContours(JNIEnv* env, jobject thiz, jint width, jint height) argument
[all...]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowBitmap.java19 private int width; field in class:ShadowBitmap
39 public static Bitmap createBitmap(int width, int height, Bitmap.Config config) { argument
42 shadowBitmap.appendDescription("Bitmap (" + width + " x " + height + ")");
43 shadowBitmap.setWidth(width);
135 public void setWidth(int width) { argument
136 this.width = width;
141 return width;
161 if (width != that.width) retur
[all...]
/external/jmonkeyengine/engine/src/desktop/com/jme3/texture/plugins/
H A DAWTLoader.java79 private void flipImage(byte[] img, int width, int height, int bpp){ argument
80 int scSz = (width * bpp) / 8;
91 private void flipImage(short[] img, int width, int height, int bpp){ argument
92 int scSz = (width * bpp) / 8;
105 int width = img.getWidth();
112 flipImage(dataBuf1, width, height, 32);
116 return new Image(Format.ABGR8, width, height, data1);
120 flipImage(dataBuf2, width, height, 24);
124 return new Image(Format.BGR8, width, height, data2);
128 flipImage(dataBuf3, width, heigh
[all...]
/external/skia/src/gpu/
H A DGrAtlas.cpp42 void GrPlot::init(GrAtlas* atlas, int id, int offX, int offY, int width, int height, size_t bpp, argument
45 fRects = GrRectanizer::Factory(width, height);
47 fOffset.set(offX * width, offY * height);
60 bool GrPlot::addSubImage(int width, int height, const void* image, SkIPoint16* loc) { argument
62 if (!fRects->addRect(width, height, loc)) {
68 int plotWidth = fRects->width();
84 memcpy(dataPtr, imagePtr, fBytesPerPixel*width);
86 imagePtr += fBytesPerPixel*width;
89 fDirtyRect.join(loc->fX, loc->fY, loc->fX + width, loc->fY + height);
96 fTexture->writePixels(loc->fX, loc->fY, width, heigh
205 addToAtlas(ClientPlotUsage* usage, int width, int height, const void* image, SkIPoint16* loc) argument
[all...]
/external/harfbuzz_ng/util/
H A Dansi-print.cc99 width (width_),
106 width (width_),
109 data ((color_t *) malloc (sizeof (data[0]) * width * height)),
110 stride (width) {}
125 assert (x < width);
130 if (x + w <= width)
134 unsigned int limit = width - x;
144 const unsigned int width;
157 biimage_t (unsigned int width, unsigned int height) :
158 width (widt
[all...]

Completed in 1198 milliseconds

<<11121314151617181920>>