/external/mesa3d/src/mesa/main/ |
H A D | texgetimage.c | 440 void *rgba = NULL; local 493 * and avoid the final conversion/copy from the rgba buffer to the dst 497 rgba = dest; 500 if (rgba == NULL) { /* Allocate the RGBA buffer only once */ 501 rgba = malloc(height * rgba_stride); 502 if (!rgba) { 510 _mesa_format_convert(rgba, rgba_format, rgba_stride, 516 _mesa_apply_rgba_transfer_ops(ctx, transferOps, width * height, rgba); 528 src = rgba; 555 free(rgba); [all...] |
H A D | texcompress_fxt1.c | 49 GLint i, GLint j, GLubyte *rgba); 1378 fxt1_decode_1HI (const GLubyte *code, GLint t, GLubyte *rgba) argument 1387 rgba[RCOMP] = rgba[GCOMP] = rgba[BCOMP] = rgba[ACOMP] = 0; 1404 rgba[RCOMP] = r; 1405 rgba[GCOMP] = g; 1406 rgba[BCOMP] = b; 1407 rgba[ACOM 1413 fxt1_decode_1CHROMA(const GLubyte *code, GLint t, GLubyte *rgba) argument 1436 fxt1_decode_1MIXED(const GLubyte *code, GLint t, GLubyte *rgba) argument 1522 fxt1_decode_1ALPHA(const GLubyte *code, GLint t, GLubyte *rgba) argument 1597 fxt1_decode_1(const void *texture, GLint stride, GLint i, GLint j, GLubyte *rgba) argument 1631 GLubyte rgba[4]; local 1644 GLubyte rgba[4]; local [all...] |
/external/opencv/otherlibs/highgui/ |
H A D | utils.cpp | 121 void icvCvt_BGRA2Gray_8u_C4C1R( const uchar* rgba, int rgba_step, argument 129 for( i = 0; i < size.width; i++, rgba += 4 ) 131 int t = descale( rgba[swap_rb]*cB + rgba[1]*cG + rgba[swap_rb^2]*cR, SCALE ); 135 rgba += rgba_step - size.width*4; 176 uchar* rgba, int rgba_step, CvSize size ) 181 for( i = 0; i < size.width; i++, bgra += 4, rgba += 4 ) 185 rgba[0] = t2; rgba[ 175 icvCvt_BGRA2RGBA_8u_C4R( const uchar* bgra, int bgra_step, uchar* rgba, int rgba_step, CvSize size ) argument [all...] |
/external/pdfium/samples/ |
H A D | image_diff_png.cc | 59 void ConvertRGBAtoRGB(const unsigned char* rgba, int pixel_width, argument 62 const unsigned char* pixel_in = &rgba[x * 4]; 122 unsigned char* rgba, bool* is_opaque) { 125 unsigned char* pixel_out = &rgba[x * 4]; 121 ConvertRGBtoRGBA(const unsigned char* rgb, int pixel_width, unsigned char* rgba, bool* is_opaque) argument
|
/external/skia/src/jumper/ |
H A D | SkJumper_vectors.h | 124 uint16x4x4_t rgba; local 126 if ( true ) { rgba = vld4_lane_u16(ptr + 0, rgba, 0); } 127 if (tail > 1) { rgba = vld4_lane_u16(ptr + 4, rgba, 1); } 128 if (tail > 2) { rgba = vld4_lane_u16(ptr + 8, rgba, 2); } 130 rgba = vld4_u16(ptr); 132 *r = rgba.val[0]; 133 *g = rgba 147 float32x4x4_t rgba; local 229 uint16x4x4_t rgba; local 245 uint16x4x4_t rgba = {{ local 258 float32x2x4_t rgba; local [all...] |
/external/swiftshader/src/OpenGL/libGL/ |
H A D | Device.cpp | 211 float rgba[4]; local 212 rgba[0] = red; 213 rgba[1] = green; 214 rgba[2] = blue; 215 rgba[3] = alpha; 217 clear(rgba, FORMAT_A32B32G32R32F, renderTarget, clearRect, rgbaMask);
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
H A D | Device.cpp | 195 float rgba[4]; local 196 rgba[0] = red; 197 rgba[1] = green; 198 rgba[2] = blue; 199 rgba[3] = alpha; 212 clear(rgba, FORMAT_A32B32G32R32F, renderTarget[i], clearRect, rgbaMask);
|
/external/webp/include/webp/ |
H A D | decode.h | 181 uint8_t* rgba; // pointer to RGBA samples member in struct:WebPRGBABuffer 183 size_t size; // total size of the *rgba buffer.
|
/external/webp/src/dec/ |
H A D | webp_dec.c | 527 uint8_t* const rgba, 531 if (rgba == NULL) { 538 buf.u.RGBA.rgba = rgba; 545 return rgba; 628 return WebPIsRGBMode(mode) ? output.u.RGBA.rgba : output.u.YUVA.y; 524 DecodeIntoRGBABuffer(WEBP_CSP_MODE colorspace, const uint8_t* const data, size_t data_size, uint8_t* const rgba, int stride, size_t size) argument
|
H A D | vp8l_dec.c | 525 int rgba_stride, uint8_t* const rgba) { 530 uint8_t* const dst = rgba + num_lines_out * rgba_stride; 748 uint8_t* const rgba = buf->rgba + dec->last_out_row_ * buf->stride; local 751 rgba, buf->stride) : 753 io->mb_w, io->mb_h, rgba, buf->stride); 524 Export(WebPRescaler* const rescaler, WEBP_CSP_MODE colorspace, int rgba_stride, uint8_t* const rgba) argument
|
/external/webp/src/webp/ |
H A D | decode.h | 181 uint8_t* rgba; // pointer to RGBA samples member in struct:WebPRGBABuffer 183 size_t size; // total size of the *rgba buffer.
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
H A D | vl_compositor.c | 1080 struct pipe_sampler_view *rgba, 1087 assert(s && c && rgba); 1096 pipe_sampler_view_reference(&s->layers[layer].sampler_views[0], rgba); 1099 calc_src_and_dst(&s->layers[layer], rgba->texture->width0, rgba->texture->height0, 1077 vl_compositor_set_rgba_layer(struct vl_compositor_state *s, struct vl_compositor *c, unsigned layer, struct pipe_sampler_view *rgba, struct u_rect *src_rect, struct u_rect *dst_rect, struct vertex4f *colors) argument
|
/external/mesa3d/src/mesa/swrast/ |
H A D | s_span.c | 233 GLubyte (*rgba)[4] = span->array->rgba8; 241 COPY_4UBV(rgba[i], color); 254 rgba[i][RCOMP] = FixedToChan(r); 255 rgba[i][GCOMP] = FixedToChan(g); 256 rgba[i][BCOMP] = FixedToChan(b); 257 rgba[i][ACOMP] = FixedToChan(a); 268 GLushort (*rgba)[4] = span->array->rgba16; 276 COPY_4V(rgba[i], color); 280 GLushort (*rgba)[4] = span->array->rgba16; 292 rgba[ 1415 _swrast_read_rgba_span( struct gl_context *ctx, struct gl_renderbuffer *rb, GLuint n, GLint x, GLint y, GLvoid *rgba) argument [all...] |
H A D | s_texfilter.c | 775 GLfloat rgba[4]) 779 rgba[0] = samp->BorderColor.f[0]; 780 rgba[1] = samp->BorderColor.f[1]; 781 rgba[2] = samp->BorderColor.f[2]; 782 rgba[3] = 1.0F; 785 rgba[0] = rgba[1] = rgba[2] = 0.0; 786 rgba[3] = samp->BorderColor.f[3]; 789 rgba[ 773 get_border_color(const struct gl_sampler_object *samp, const struct gl_texture_image *img, GLfloat rgba[4]) argument 850 sample_1d_nearest(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_image *img, const GLfloat texcoord[4], GLfloat rgba[4]) argument 875 sample_1d_linear(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_image *img, const GLfloat texcoord[4], GLfloat rgba[4]) argument 917 sample_1d_nearest_mipmap_nearest(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument 933 sample_1d_linear_mipmap_nearest(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument 949 sample_1d_nearest_mipmap_linear(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument 975 sample_1d_linear_mipmap_linear(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument 1116 sample_2d_nearest(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_image *img, const GLfloat texcoord[4], GLfloat rgba[]) argument 1150 sample_2d_linear(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_image *img, const GLfloat texcoord[4], GLfloat rgba[]) argument 1215 sample_2d_linear_repeat(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_image *img, const GLfloat texcoord[4], GLfloat rgba[]) argument 1248 sample_2d_nearest_mipmap_nearest(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument 1263 sample_2d_linear_mipmap_nearest(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument 1279 sample_2d_nearest_mipmap_linear(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument 1331 sample_2d_linear_mipmap_linear_repeat(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument 1362 sample_nearest_2d(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoords[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument 1379 sample_linear_2d(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoords[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument 1414 opt_sample_rgb_2d(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoords[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument 1459 opt_sample_rgba_2d(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoords[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument 1497 sample_lambda_2d(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoords[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument 1646 sample_2d_ewa(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, const GLfloat texcoord[4], const GLfloat dudx, const GLfloat dvdx, const GLfloat dudy, const GLfloat dvdy, const GLint lod, GLfloat rgba[]) argument 1773 sample_2d_footprint(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, const GLfloat texcoord[4], const GLfloat dudx, const GLfloat dvdx, const GLfloat dudy, const GLfloat dvdy, const GLint lod, GLfloat rgba[]) argument 1864 sample_lambda_2d_aniso(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoords[][4], const GLfloat lambda_iso[], GLfloat rgba[][4]) argument 2018 sample_3d_nearest(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_image *img, const GLfloat texcoord[4], GLfloat rgba[4]) argument 2051 sample_3d_linear(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_image *img, const GLfloat texcoord[4], GLfloat rgba[4]) argument 2161 sample_3d_linear_mipmap_nearest(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument 2177 sample_3d_nearest_mipmap_linear(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument 2203 sample_3d_linear_mipmap_linear(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument 2230 sample_nearest_3d(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoords[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument 2247 sample_linear_3d(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoords[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument 2264 sample_lambda_3d(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoords[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument 2420 sample_nearest_cube(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoords[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument 2444 sample_linear_cube(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoords[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument 2468 sample_cube_nearest_mipmap_nearest(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument 2503 sample_cube_linear_mipmap_nearest(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument 2528 sample_cube_nearest_mipmap_linear(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument 2563 sample_cube_linear_mipmap_linear(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument 2599 sample_lambda_cube(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoords[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument 2676 sample_nearest_rect(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoords[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument 2711 sample_linear_rect(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoords[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument 2778 sample_lambda_rect(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoords[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument 2823 sample_2d_array_nearest(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_image *img, const GLfloat texcoord[4], GLfloat rgba[4]) argument 2857 sample_2d_array_linear(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_image *img, const GLfloat texcoord[4], GLfloat rgba[4]) argument 2928 sample_2d_array_nearest_mipmap_nearest(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument 2944 sample_2d_array_linear_mipmap_nearest(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument 2961 sample_2d_array_nearest_mipmap_linear(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument 2989 sample_2d_array_linear_mipmap_linear(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument 3018 sample_nearest_2d_array(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoords[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument 3036 sample_linear_2d_array(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoords[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument 3053 sample_lambda_2d_array(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoords[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument 3142 sample_1d_array_nearest(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_image *img, const GLfloat texcoord[4], GLfloat rgba[4]) argument 3173 sample_1d_array_linear(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_image *img, const GLfloat texcoord[4], GLfloat rgba[4]) argument 3223 sample_1d_array_nearest_mipmap_nearest(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument 3239 sample_1d_array_linear_mipmap_nearest(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument 3256 sample_1d_array_nearest_mipmap_linear(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument 3282 sample_1d_array_linear_mipmap_linear(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument 3309 sample_nearest_1d_array(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoords[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument 3326 sample_linear_1d_array(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoords[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument 3343 sample_lambda_1d_array(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoords[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument 3686 null_sample_func( struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoords[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument [all...] |
/external/skia/tests/ |
H A D | ReadPixelsTest.cpp | 486 static const uint32_t rgba[kNumPixels] = { variable 520 return rgba;
|
/external/swiftshader/src/OpenGL/common/ |
H A D | Image.cpp | 233 unsigned short rgba = source4444[x]; local 234 dest4444[4 * x + 0] = ((rgba & 0x00F0) << 0) | ((rgba & 0x00F0) >> 4); 235 dest4444[4 * x + 1] = ((rgba & 0x0F00) >> 4) | ((rgba & 0x0F00) >> 8); 236 dest4444[4 * x + 2] = ((rgba & 0xF000) >> 8) | ((rgba & 0xF000) >> 12); 237 dest4444[4 * x + 3] = ((rgba & 0x000F) << 4) | ((rgba & 0x000F) >> 0); 249 unsigned short rgba local 265 unsigned int rgba = source1010102U[x]; local [all...] |
/external/webp/src/dsp/ |
H A D | lossless.c | 523 WEBP_CSP_MODE out_colorspace, uint8_t* const rgba) { 526 VP8LConvertBGRAToRGB(in_data, num_pixels, rgba); 529 VP8LConvertBGRAToRGBA(in_data, num_pixels, rgba); 532 VP8LConvertBGRAToRGBA(in_data, num_pixels, rgba); 533 WebPApplyAlphaMultiply(rgba, 0, num_pixels, 1, 0); 536 VP8LConvertBGRAToBGR(in_data, num_pixels, rgba); 539 CopyOrSwap(in_data, num_pixels, rgba, 1); 542 CopyOrSwap(in_data, num_pixels, rgba, 1); 543 WebPApplyAlphaMultiply(rgba, 0, num_pixels, 1, 0); 546 CopyOrSwap(in_data, num_pixels, rgba, 522 VP8LConvertFromBGRA(const uint32_t* const in_data, int num_pixels, WEBP_CSP_MODE out_colorspace, uint8_t* const rgba) argument [all...] |
H A D | lossless_sse2.c | 545 const __m128i rgba = _mm_unpacklo_epi8(rgba1, rgba0); // barg0...barg7 local 547 const __m128i rgba = _mm_unpacklo_epi8(rgba0, rgba1); // rgba0...rgba7 local 549 _mm_storeu_si128(out++, rgba); 586 const __m128i rgba = _mm_unpacklo_epi8(gb1, rg1); // rggb0...rggb7 local 588 const __m128i rgba = _mm_unpacklo_epi8(rg1, gb1); // bgrb0...bgrb7 local 590 _mm_storeu_si128(out++, rgba);
|
/external/webrtc/webrtc/base/ |
H A D | x11windowpicker.cc | 316 uint8_t* rgba = ArgbToRgba(&data_ptr[2], 0, 0, w, h, w, h, true); local 320 return rgba; 585 uint32_t rgba; local 587 rgba = (argb << 8) | (argb >> 24); 588 *p = rgba >> 24; 590 *p = (rgba >> 16) & 0xff; 592 *p = (rgba >> 8) & 0xff; 594 *p = has_alpha ? rgba & 0xFF : 0xFF;
|
/external/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_cmd_vgpu10.c | 311 const float *rgba) 333 COPY_4V(cmd->rgba.value, rgba); 309 SVGA3D_vgpu10_ClearRenderTargetView(struct svga_winsys_context *swc, struct pipe_surface *color_surf, const float *rgba) argument
|
/external/mesa3d/src/gallium/state_trackers/nine/ |
H A D | nine_state.c | 2419 union pipe_color_union rgba; local 2433 d3dcolor_to_pipe_color_union(&rgba, Color); 2480 pipe->clear(pipe, bufs, &rgba, Z, Stencil); 2513 pipe->clear_render_target(pipe, cbuf, &rgba, 2700 union pipe_color_union rgba; local 2702 d3dcolor_to_pipe_color_union(&rgba, color); 2704 context->pipe->clear_render_target(context->pipe, surf, &rgba, x, y, width, height, false);
|
/external/mesa3d/src/mesa/state_tracker/ |
H A D | st_cb_texture.c | 1959 /* unable to get an rgba format!?! */ 2052 GLfloat *rgba; local 2058 rgba = malloc(width * height * 4 * sizeof(GLfloat)); 2059 if (!rgba) { 2074 /* get float[4] rgba row from surface */ 2076 dst_format, rgba); 2079 rgba, RGBA32_FLOAT, srcStride, 2091 free(rgba);
|
/external/skia/src/core/ |
H A D | SkColorSpaceXform.cpp | 505 Sk4f& rgba) { 506 rgba = rXgXbX*r + rYgYbY*g + rZgZbZ*b; 515 static AI void translate_gamut_1(const Sk4f& rTgTbT, Sk4f& rgba) { argument 516 rgba = rgba + rTgTbT; 534 Sk4i rgba = (SkNx_cast<int>(dr) << kRShift) local 538 rgba.store(dst); 543 Sk4f& rgba, const Sk4f&, 545 rgba = sk_clamp_0_255(sk_linear_to_srgb_needs_trunc(rgba)); 503 transform_gamut_1(const Sk4f& r, const Sk4f& g, const Sk4f& b, const Sk4f& rXgXbX, const Sk4f& rYgYbY, const Sk4f& rZgZbZ, Sk4f& rgba) argument 542 store_srgb_1(void* dst, const uint32_t* src, Sk4f& rgba, const Sk4f&, const uint8_t* const[3]) argument 582 Sk4i rgba = (Sk4f_round(dr) << kRShift) local 590 store_2dot2_1(void* dst, const uint32_t* src, Sk4f& rgba, const Sk4f&, const uint8_t* const[3]) argument 616 Sk4i rgba = (Sk4f_round(dr) << kRShift) local 624 store_linear_1(void* dst, const uint32_t* src, Sk4f& rgba, const Sk4f&, const uint8_t* const[3]) argument 649 store_f16_1(void* dst, const uint32_t* src, Sk4f& rgba, const Sk4f& a, const uint8_t* const[3]) argument 666 store_f16_1_opaque(void* dst, const uint32_t* src, Sk4f& rgba, const Sk4f&, const uint8_t* const[3]) argument 711 store_generic_1(void* dst, const uint32_t* src, Sk4f& rgba, const Sk4f&, const uint8_t* const dstTables[3]) argument 902 Sk4f rgba; local [all...] |
/external/swiftshader/src/D3D9/ |
H A D | Direct3DDevice9.cpp | 417 float rgba[4]; local 418 rgba[0] = (float)(color & 0x00FF0000) / 0x00FF0000; 419 rgba[1] = (float)(color & 0x0000FF00) / 0x0000FF00; 420 rgba[2] = (float)(color & 0x000000FF) / 0x000000FF; 421 rgba[3] = (float)(color & 0xFF000000) / 0xFF000000; 425 rgba[0] = sw::linearToSRGB(rgba[0]); 426 rgba[1] = sw::linearToSRGB(rgba[1]); 427 rgba[ [all...] |
/external/webp/src/enc/ |
H A D | picture_csp_enc.c | 1148 const uint8_t* rgba, int rgba_stride) { 1149 return (picture != NULL && rgba != NULL) 1150 ? Import(picture, rgba, rgba_stride, 4, 0, 1) 1155 const uint8_t* rgba, int rgba_stride) { 1156 return (picture != NULL && rgba != NULL) 1157 ? Import(picture, rgba, rgba_stride, 4, 1, 1) 1162 const uint8_t* rgba, int rgba_stride) { 1163 return (picture != NULL && rgba != NULL) 1164 ? Import(picture, rgba, rgba_stride, 4, 0, 0) 1169 const uint8_t* rgba, in 1147 WebPPictureImportRGBA(WebPPicture* picture, const uint8_t* rgba, int rgba_stride) argument 1154 WebPPictureImportBGRA(WebPPicture* picture, const uint8_t* rgba, int rgba_stride) argument 1161 WebPPictureImportRGBX(WebPPicture* picture, const uint8_t* rgba, int rgba_stride) argument 1168 WebPPictureImportBGRX(WebPPicture* picture, const uint8_t* rgba, int rgba_stride) argument [all...] |