/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xa/ |
H A D | xa_yuv.c | 70 xa_yuv_bind_samplers(struct xa_context *r, struct xa_surface *yuv[]) argument 88 u_sampler_view_default_template(&view_templ, yuv[i]->tex, 89 yuv[i]->tex->format); 92 r->pipe->create_sampler_view(r->pipe, yuv[i]->tex, &view_templ); 121 struct xa_surface *dst, struct xa_surface *yuv[]) 137 xa_yuv_bind_samplers(r, yuv); 152 scale_x * w, scale_y * h, x, y, w, h, yuv); local 109 xa_yuv_planar_blit(struct xa_context *r, int src_x, int src_y, int src_w, int src_h, int dst_x, int dst_y, int dst_w, int dst_h, struct xa_box *box, unsigned int num_boxes, const float conversion_matrix[], struct xa_surface *dst, struct xa_surface *yuv[]) argument
|
/external/mesa3d/src/gallium/state_trackers/xa/ |
H A D | xa_yuv.c | 70 xa_yuv_bind_samplers(struct xa_context *r, struct xa_surface *yuv[]) argument 88 u_sampler_view_default_template(&view_templ, yuv[i]->tex, 89 yuv[i]->tex->format); 92 r->pipe->create_sampler_view(r->pipe, yuv[i]->tex, &view_templ); 121 struct xa_surface *dst, struct xa_surface *yuv[]) 137 xa_yuv_bind_samplers(r, yuv); 152 scale_x * w, scale_y * h, x, y, w, h, yuv); local 109 xa_yuv_planar_blit(struct xa_context *r, int src_x, int src_y, int src_w, int src_h, int dst_x, int dst_y, int dst_w, int dst_h, struct xa_box *box, unsigned int num_boxes, const float conversion_matrix[], struct xa_surface *dst, struct xa_surface *yuv[]) argument
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/ |
H A D | vl_compositor.h | 110 void *yuv; member in struct:vl_compositor::__anon12937 127 * set yuv -> rgba conversion matrix
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
H A D | vl_compositor.h | 110 void *yuv; member in struct:vl_compositor::__anon23422 127 * set yuv -> rgba conversion matrix
|
/external/qemu/distrib/sdl-1.2.15/test/ |
H A D | testoverlay.c | 35 void RGBtoYUV(Uint8 *rgb, int *yuv, int monochrome, int luminance) argument 40 yuv[0] = 0.299*rgb[0] + 0.587*rgb[1] + 0.114*rgb[2]; 41 yuv[1] = 128; 42 yuv[2] = 128; 44 yuv[0] = (0.257 * rgb[0]) + (0.504 * rgb[1]) + (0.098 * rgb[2]) + 16; 45 yuv[1] = 128; 46 yuv[2] = 128; 52 yuv[0] = 0.299*rgb[0] + 0.587*rgb[1] + 0.114*rgb[2]; 53 yuv[1] = (rgb[2]-yuv[ 84 int yuv[3]; local 124 int yuv[3]; local 164 int yuv[3]; local 197 int yuv[3]; local 233 int yuv[3]; local [all...] |
H A D | testoverlay2.c | 58 void RGBtoYUV(Uint8 *rgb, int *yuv, int monochrome, int luminance) argument 63 yuv[0] = 0.299*rgb[0] + 0.587*rgb[1] + 0.114*rgb[2]; 64 yuv[1] = 128; 65 yuv[2] = 128; 67 yuv[0] = (0.257 * rgb[0]) + (0.504 * rgb[1]) + (0.098 * rgb[2]) + 16; 68 yuv[1] = 128; 69 yuv[2] = 128; 75 yuv[0] = 0.299*rgb[0] + 0.587*rgb[1] + 0.114*rgb[2]; 76 yuv[1] = (rgb[2]-yuv[ 96 int yuv[3]; local 129 int yuv[3]; local 162 int yuv[3]; local 195 int yuv[3]; local 231 int yuv[3]; local [all...] |
/external/webp/examples/ |
H A D | dwebp.c | 245 // (http://www.fourcc.org/yuv.php#IMC4). This is a very convenient format for 252 const WebPYUVABuffer* const yuv = &buffer->u.YUVA; local 259 const int a_height = yuv->a ? height : 0; 265 ok &= (fwrite(yuv->y + y * yuv->y_stride, width, 1, fout) == 1); 272 ok &= (fwrite(yuv->u + y * yuv->u_stride, uv_width, 1, fout) == 1); 273 ok &= (fwrite(yuv->v + y * yuv->v_stride, uv_width, 1, fout) == 1); 277 ok &= (fwrite(yuv [all...] |
/external/chromium_org/cc/output/ |
H A D | shader.cc | 1348 vec3 yuv = vec3(y_raw, u_unsigned, v_unsigned) + yuv_adj; local 1349 vec3 rgb = yuv_matrix * yuv; 1412 vec3 yuv = vec3(y_raw, u_unsigned, v_unsigned) + yuv_adj; local 1413 vec3 rgb = yuv_matrix * yuv;
|
/external/chromium_org/gpu/tools/compositor_model_bench/ |
H A D | shaders.cc | 185 vec3 yuv = vec3(y_raw, u_unsigned, v_unsigned) + yuv_adj; local 186 vec3 rgb = cc_matrix * yuv;
|
/external/chromium_org/content/browser/renderer_host/media/ |
H A D | web_contents_video_capture_device_unittest.cc | 63 uint8 yuv[3]; local 65 yuv, yuv + 1, yuv + 2, 1, 1, 1, 1, 1); local 66 return SkColorSetRGB(yuv[0], yuv[1], yuv[2]); 354 uint8 yuv[3]; variable 357 yuv[plane] = reinterpret_cast<uint8*>(buffer->data())[offset]; 364 color_callback_.Run((SkColorSetRGB(yuv[ [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xorg/ |
H A D | xorg_xv.c | 94 struct pipe_resource *yuv[2][3]; member in struct:xorg_xv_port_priv 185 struct pipe_resource **dst = priv->yuv[priv->current_set]; 307 struct pipe_resource **dst = port->yuv[port->current_set]; 392 debug_assert(!"Unsupported yuv format!"); 420 struct pipe_resource **textures = port->yuv[port->current_set];
|
/external/mesa3d/src/gallium/state_trackers/xorg/ |
H A D | xorg_xv.c | 94 struct pipe_resource *yuv[2][3]; member in struct:xorg_xv_port_priv 185 struct pipe_resource **dst = priv->yuv[priv->current_set]; 307 struct pipe_resource **dst = port->yuv[port->current_set]; 392 debug_assert(!"Unsupported yuv format!"); 420 struct pipe_resource **textures = port->yuv[port->current_set];
|
/external/qemu/android/camera/ |
H A D | camera-format-converters.c | 1003 void* yuv, 1015 uint8_t* pY = (uint8_t*)yuv + yuv_fmt->Y_offset; 1018 (uint8_t*)yuv + yuv_fmt->u_offset(yuv_fmt, y, width, height); 1020 (uint8_t*)yuv + yuv_fmt->v_offset(yuv_fmt, y, width, height); 1070 const void* yuv, 1083 const uint8_t* pY = (const uint8_t*)yuv + yuv_fmt->Y_offset; 1086 (const uint8_t*)yuv + yuv_fmt->u_offset(yuv_fmt, y, width, height); 1088 (const uint8_t*)yuv + yuv_fmt->v_offset(yuv_fmt, y, width, height); 1190 void* yuv, 1202 uint8_t* pY = (uint8_t*)yuv 1000 RGBToYUV(const RGBDesc* rgb_fmt, const YUVDesc* yuv_fmt, const void* rgb, void* yuv, int width, int height, float r_scale, float g_scale, float b_scale, float exp_comp) argument 1068 YUVToRGB(const YUVDesc* yuv_fmt, const RGBDesc* rgb_fmt, const void* yuv, void* rgb, int width, int height, float r_scale, float g_scale, float b_scale, float exp_comp) argument 1187 BAYERToYUV(const BayerDesc* bayer_fmt, const YUVDesc* yuv_fmt, const void* bayer, void* yuv, int width, int height, float r_scale, float g_scale, float b_scale, float exp_comp) argument [all...] |
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
H A D | videoframe_unittest.h | 52 #define kImageFilename "faces.1280x720_P420.yuv" 156 talk_base::sprintfn(filename, sizeof(filename), "%s.%dx%d_P420.yuv", 311 uint8 yuv[4][3]; local 318 &yuv[i][0], &yuv[i][1], &yuv[i][2]); 320 frame->GetYPlane()[stride_y * y + x] = yuv[0][0]; 322 frame->GetYPlane()[stride_y * y + x + 1] = yuv[1][0]; 325 frame->GetYPlane()[stride_y * (y + 1) + x] = yuv[2][0]; 327 frame->GetYPlane()[stride_y * (y + 1) + x + 1] = yuv[ [all...] |