/external/mesa3d/src/mesa/drivers/dri/intel/ |
H A D | intel_screen.c | 237 * plane 1 is ARGB and samples YUYV clusters and places pairs and 240 * sampling from plane 0, and interpolate U and V correctly when 241 * sampling from plane 1. */ 520 intel_from_planar(__DRIimage *parent, int plane, void *loaderPrivate) argument 532 if (plane >= f->nplanes) 535 width = parent->region->width >> f->planes[plane].width_shift; 536 height = parent->region->height >> f->planes[plane].height_shift; 537 dri_format = f->planes[plane].dri_format; 538 index = f->planes[plane].buffer_index;
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
H A D | r200_state.c | 1345 static void r200ClipPlane( struct gl_context *ctx, GLenum plane, const GLfloat *eq ) argument 1347 GLint p = (GLint) plane - (GLint) GL_CLIP_PLANE0;
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
H A D | radeon_state.c | 1117 static void radeonClipPlane( struct gl_context *ctx, GLenum plane, const GLfloat *eq ) argument 1119 GLint p = (GLint) plane - (GLint) GL_CLIP_PLANE0;
|
/external/mesa3d/src/mesa/swrast/ |
H A D | s_aaline.c | 77 * Compute the equation of a plane used to interpolate line fragment data 81 * Output: plane - the plane equation. 83 * Note: we don't really have enough parameters to specify a plane. 84 * We take the endpoints of the line and compute a plane such that 85 * the cross product of the line vector and the plane normal is 86 * parallel to the projection plane. 90 GLfloat z0, GLfloat z1, GLfloat plane[4]) 104 plane[0] = a; 105 plane[ 89 compute_plane(GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z0, GLfloat z1, GLfloat plane[4]) argument 134 constant_plane(GLfloat value, GLfloat plane[4]) argument 144 solve_plane(GLfloat x, GLfloat y, const GLfloat plane[4]) argument 158 solve_plane_recip(GLfloat x, GLfloat y, const GLfloat plane[4]) argument 172 solve_plane_chan(GLfloat x, GLfloat y, const GLfloat plane[4]) argument [all...] |
/external/svox/pico/lib/ |
H A D | picosa.c | 1045 /* picoos_uint8 plane, unshifted; */ 1049 unshifted = picotrns_unplane(sym,&plane); 1050 PICODBG_DEBUG(("adding %i/%i (%c on plane %i) at phonBuf[%i]",pos,sym,unshifted,plane,sa->phonWritePos)); 1681 picoos_uint8 plane; local 1685 sym = picotrns_unplane(sym, &plane); 1686 PICODBG_ASSERT((PICOKFST_PLANE_PHONEMES == plane));
|
H A D | picospho.c | 462 picoos_uint8 plane, unshifted; local 464 unshifted = picotrns_unplane(sym,&plane); 465 PICODBG_TRACE(("adding %i/%i (%c on plane %i) at phonBuf[%i]",pos,sym,unshifted,plane,spho->phonWritePos)); 939 picoos_uint8 plane; local 1329 sym = picotrns_unplane(sym, &plane); 1331 PICODBG_ASSERT((PICOKFST_PLANE_PB_STRENGTHS == plane)); 1458 sym = picotrns_unplane(sym, &plane); 1460 PICODBG_ASSERT((PICOKFST_PLANE_PB_STRENGTHS == plane)); 1529 ohead.info2 = picotrns_unplane(sym, &plane); [all...] |
/external/chromium_org/cc/test/ |
H A D | test_web_graphics_context_3d.h | 267 GLuint plane) {} 263 texImageIOSurface2DCHROMIUM(GLenum target, GLsizei width, GLsizei height, GLuint io_surface_id, GLuint plane) argument
|
/external/chromium_org/content/common/gpu/client/ |
H A D | gl_helper_unittest.cc | 1013 void PrintPlane(unsigned char* plane, int xsize, int stride, int ysize) { argument 1017 formatted.append(base::StringPrintf("%3d, ", plane[y * stride + x])); 1019 LOG(ERROR) << formatted << " (" << (plane + y * stride) << ")"; 1463 message + " Y plane"); 1471 message + " U plane"); 1479 message + " V plane");
|
/external/chromium_org/gpu/command_buffer/client/ |
H A D | gles2_implementation_impl_autogen.h | 1990 GLuint plane) { 1995 << plane << ")"); 2005 target, width, height, ioSurfaceId, plane); 1986 TexImageIOSurface2DCHROMIUM(GLenum target, GLsizei width, GLsizei height, GLuint ioSurfaceId, GLuint plane) argument
|
H A D | gles2_c_lib_autogen.h | 828 GLuint plane) { 830 target, width, height, ioSurfaceId, plane); 824 GLES2TexImageIOSurface2DCHROMIUM(GLenum target, GLsizei width, GLsizei height, GLuint ioSurfaceId, GLuint plane) argument
|
H A D | gles2_cmd_helper_autogen.h | 1665 GLuint plane) { 1669 c->Init(target, width, height, ioSurfaceId, plane); 1661 TexImageIOSurface2DCHROMIUM(GLenum target, GLsizei width, GLsizei height, GLuint ioSurfaceId, GLuint plane) argument
|
/external/chromium_org/media/cdm/ppapi/ |
H A D | cdm_adapter.cc | 1093 cdm::VideoFrame::VideoPlane plane = local 1095 if (ppb_buffer->Size() < video_frame->PlaneOffset(plane) + 1096 plane_height * video_frame->Stride(plane)) {
|
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/encoder/ |
H A D | pickinter.c | 608 unsigned char *plane[4][3]; local 684 get_predictor_pointers(cpi, plane, recon_yoffset, recon_uvoffset); 726 x->e_mbd.pre.y_buffer = plane[this_ref_frame][0]; 727 x->e_mbd.pre.u_buffer = plane[this_ref_frame][1]; 728 x->e_mbd.pre.v_buffer = plane[this_ref_frame][2]; 1208 x->e_mbd.pre.y_buffer = plane[this_ref_frame][0]; 1209 x->e_mbd.pre.u_buffer = plane[this_ref_frame][1]; 1210 x->e_mbd.pre.v_buffer = plane[this_ref_frame][2];
|
H A D | rdopt.c | 1969 unsigned char *plane[4][3]; local 2010 get_predictor_pointers(cpi, plane, recon_yoffset, recon_uvoffset); 2056 x->e_mbd.pre.y_buffer = plane[this_ref_frame][0]; 2057 x->e_mbd.pre.u_buffer = plane[this_ref_frame][1]; 2058 x->e_mbd.pre.v_buffer = plane[this_ref_frame][2]; 2543 x->e_mbd.pre.y_buffer = plane[this_ref_frame][0]; 2544 x->e_mbd.pre.u_buffer = plane[this_ref_frame][1]; 2545 x->e_mbd.pre.v_buffer = plane[this_ref_frame][2];
|
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/common/ |
H A D | vp9_loopfilter.c | 907 struct macroblockd_plane *plane, 910 const int ss_x = plane->subsampling_x; 911 const int ss_y = plane->subsampling_y; 915 struct buf_2d *const dst = &plane->dst; 943 const TX_SIZE tx_size = (plane->plane_type == PLANE_TYPE_UV) 944 ? get_uv_tx_size(&mi[0].mbmi, plane) 1045 struct macroblockd_plane *const plane, 1048 struct buf_2d *const dst = &plane->dst; 1052 if (!plane->plane_type) { 1066 filter_selectively_vert_row2(plane 906 filter_block_plane_non420(VP9_COMMON *cm, struct macroblockd_plane *plane, MODE_INFO *mi_8x8, int mi_row, int mi_col) argument 1044 vp9_filter_block_plane(VP9_COMMON *const cm, struct macroblockd_plane *const plane, int mi_row, LOOP_FILTER_MASK *lfm) argument 1210 int plane; local [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/decoder/ |
H A D | vp9_decodeframe.c | 186 xd->plane[0].dequant = cm->y_dequant[q_index]; 189 xd->plane[i].dequant = cm->uv_dequant[q_index]; 192 static void inverse_transform_block(MACROBLOCKD* xd, int plane, int block, argument 195 struct macroblockd_plane *const pd = &xd->plane[plane]; 245 static void predict_and_reconstruct_intra_block(int plane, int block, argument 251 struct macroblockd_plane *const pd = &xd->plane[plane]; 253 const PREDICTION_MODE mode = (plane == 0) ? get_y_mode(mi, block) 263 x, y, plane); 281 reconstruct_inter_block(int plane, int block, BLOCK_SIZE plane_bsize, TX_SIZE tx_size, void *arg) argument [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/ |
H A D | vpxdec.c | 279 const int plane = planes[i]; local 280 const unsigned char *buf = img->planes[plane]; 281 const int stride = img->stride[plane]; 282 const int w = vpx_img_plane_width(img, plane); 283 const int h = vpx_img_plane_height(img, plane); 302 const int plane = planes[i]; local 303 const unsigned char *buf = img->planes[plane]; 304 const int stride = img->stride[plane]; 305 const int w = vpx_img_plane_width(img, plane); 306 const int h = vpx_img_plane_height(img, plane); 533 int plane; local 571 int plane; local 618 int plane; local 655 int plane; local [all...] |
H A D | vpxenc.c | 1726 int plane; local 1742 for (plane = 0; plane < 3; plane++) { 1746 if (plane) { 1751 uint16_t *p_src = (uint16_t *)(src->planes[plane] + 1752 y * src->stride[plane]); 1753 uint16_t *p_dst = (uint16_t *)(dst->planes[plane] + 1754 y * dst->stride[plane]); 1765 int plane; local 1811 int plane; local [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
H A D | ffvertex_prog.c | 1447 struct ureg plane = local 1452 obj, plane ); 1457 struct ureg plane = local 1462 eye, plane );
|
/external/deqp/framework/referencerenderer/ |
H A D | rrRenderer.cpp | 155 * Calculate the intersection of line segment v0-v1 and a given plane. Line 163 const ClipFloat plane) 165 return (plane*w0 - v0) / ((v1 - v0) - plane*(w1 - w0)); 246 // even if the another point is not on the plane. Prevent clipping ratio from saturating by using points on line 247 // that are (nearly) on this and (nearly) on the opposite plane. 253 // Find intersection point of line from v0 to v1 and the current plane. Avoid ratios near 1.0 274 void clipTriangleOneVertex (std::vector<TriangleVertex>& clippedEdges, const ClipVolumePlane& plane, const TriangleVertex& clipped, const TriangleVertex& v1, const TriangleVertex& v2) argument 288 const ClipFloat hitDist = plane.clipLineSegmentEnd(inside.position, outside.position); 300 middle.position = plane 159 getSegmentVolumeEdgeClip(const ClipFloat v0, const ClipFloat w0, const ClipFloat v1, const ClipFloat w1, const ClipFloat plane) argument 348 clipTriangleTwoVertices(std::vector<TriangleVertex>& clippedEdges, const ClipVolumePlane& plane, const TriangleVertex& v0, const TriangleVertex& clipped1, const TriangleVertex& clipped2) argument 436 clipTriangleToPlane(std::vector<TriangleVertex>& clippedEdges, const TriangleVertex* vertices, const ClipVolumePlane& plane) argument 551 const ClipVolumePlane* plane = planes[planeNdx]; local [all...] |
/external/libvpx/libvpx/vp9/common/ |
H A D | vp9_loopfilter.c | 905 struct macroblockd_plane *plane, 908 const int ss_x = plane->subsampling_x; 909 const int ss_y = plane->subsampling_y; 913 struct buf_2d *const dst = &plane->dst; 941 const TX_SIZE tx_size = (plane->plane_type == PLANE_TYPE_UV) 1043 struct macroblockd_plane *const plane, 1046 struct buf_2d *const dst = &plane->dst; 1050 if (!plane->plane_type) { 1064 filter_selectively_vert_row2(plane->plane_type, 1122 if (plane 904 filter_block_plane_non420(VP9_COMMON *cm, struct macroblockd_plane *plane, MODE_INFO **mi_8x8, int mi_row, int mi_col) argument 1042 vp9_filter_block_plane(VP9_COMMON *const cm, struct macroblockd_plane *const plane, int mi_row, LOOP_FILTER_MASK *lfm) argument 1207 int plane; local [all...] |
/external/libvpx/libvpx/vp9/decoder/ |
H A D | vp9_decodeframe.c | 184 xd->plane[0].dequant = cm->y_dequant[q_index]; 187 xd->plane[i].dequant = cm->uv_dequant[q_index]; 190 static void inverse_transform_block(MACROBLOCKD* xd, int plane, int block, argument 193 struct macroblockd_plane *const pd = &xd->plane[plane]; 241 static void predict_and_reconstruct_intra_block(int plane, int block, argument 247 struct macroblockd_plane *const pd = &xd->plane[plane]; 249 const MB_PREDICTION_MODE mode = (plane == 0) ? get_y_mode(mi, block) 259 x, y, plane); 277 reconstruct_inter_block(int plane, int block, BLOCK_SIZE plane_bsize, TX_SIZE tx_size, void *arg) argument [all...] |
/external/mesa3d/src/mesa/main/ |
H A D | ffvertex_prog.c | 1447 struct ureg plane = local 1452 obj, plane ); 1457 struct ureg plane = local 1462 eye, plane );
|
/external/chromium_org/gpu/command_buffer/service/ |
H A D | gles2_cmd_decoder_autogen.h | 2982 GLuint plane = static_cast<GLuint>(c.plane); local 2998 DoTexImageIOSurface2DCHROMIUM(target, width, height, ioSurfaceId, plane);
|
/external/libvpx/libvpx/vp8/encoder/ |
H A D | rdopt.c | 1969 unsigned char *plane[4][3]; local 2010 get_predictor_pointers(cpi, plane, recon_yoffset, recon_uvoffset); 2056 x->e_mbd.pre.y_buffer = plane[this_ref_frame][0]; 2057 x->e_mbd.pre.u_buffer = plane[this_ref_frame][1]; 2058 x->e_mbd.pre.v_buffer = plane[this_ref_frame][2]; 2541 x->e_mbd.pre.y_buffer = plane[this_ref_frame][0]; 2542 x->e_mbd.pre.u_buffer = plane[this_ref_frame][1]; 2543 x->e_mbd.pre.v_buffer = plane[this_ref_frame][2];
|