Searched refs:plane (Results 101 - 125 of 259) sorted by relevance

1234567891011

/external/libvpx/libvpx/examples/
H A Dvp8_multi_resolution_encoder.c81 int plane; local
83 for (plane = 0; plane < 3; plane++) {
85 int w = (plane ? (1 + img->d_w) / 2 : img->d_w);
86 int h = (plane ? (1 + img->d_h) / 2 : img->d_h);
89 /* Determine the correct plane based on the image format. The for-loop
93 switch (plane) {
102 default: ptr = img->planes[plane];
116 ptr += img->stride[plane];
[all...]
/external/libvpx/libvpx/vp9/common/
H A Dvp9_loopfilter.c1081 struct macroblockd_plane *plane,
1083 const int ss_x = plane->subsampling_x;
1084 const int ss_y = plane->subsampling_y;
1088 struct buf_2d *const dst = &plane->dst;
1120 const TX_SIZE tx_size = get_uv_tx_size(mi, plane);
1236 struct macroblockd_plane *const plane,
1238 struct buf_2d *const dst = &plane->dst;
1246 assert(plane->subsampling_x == 0 && plane->subsampling_y == 0);
1254 plane
1080 vp9_filter_block_plane_non420(VP9_COMMON *cm, struct macroblockd_plane *plane, MODE_INFO **mi_8x8, int mi_row, int mi_col) argument
1235 vp9_filter_block_plane_ss00(VP9_COMMON *const cm, struct macroblockd_plane *const plane, int mi_row, LOOP_FILTER_MASK *lfm) argument
1320 vp9_filter_block_plane_ss11(VP9_COMMON *const cm, struct macroblockd_plane *const plane, int mi_row, LOOP_FILTER_MASK *lfm) argument
1437 int plane; local
[all...]
H A Dvp9_onyxc_int.h102 // plane. Revisit as part of the future change to YV12_BUFFER_CONFIG to
321 xd->plane[i].dqcoeff = dqcoeff;
327 memcpy(xd->plane[i].seg_dequant, cm->y_dequant, sizeof(cm->y_dequant));
329 memcpy(xd->plane[i].seg_dequant, cm->uv_dequant, sizeof(cm->uv_dequant));
351 struct macroblockd_plane *const pd = &xd->plane[i];
H A Dvp9_thread_common.c113 int plane; local
122 for (plane = 1; plane < num_planes; ++plane) {
125 vp9_filter_block_plane_ss11(cm, &planes[plane], mi_row, lfm);
128 vp9_filter_block_plane_ss00(cm, &planes[plane], mi_row, lfm);
131 vp9_filter_block_plane_non420(cm, &planes[plane], mi + mi_col,
/external/libxcam/modules/soft/
H A Dsoft_image.h58 explicit SoftImage (const SmartPtr<VideoBuffer> &buf, const uint32_t plane);
211 SoftImage<T>::SoftImage (const SmartPtr<VideoBuffer> &buf, const uint32_t plane) argument
218 if (!info.get_planar_info(planar, plane)) {
220 "videobuf to soft image failed. buf format:%s, plane:%d", xcam_fourcc_to_string (info.format), plane);
223 _buf_ptr = buf->map () + info.offsets[plane];
225 _pitch = info.strides[plane];
/external/webrtc/webrtc/modules/video_render/ios/
H A Dopen_gles20.mm280 // Uploads a plane of pixel data, accounting for stride != width*bpp.
284 const uint8_t* plane) {
286 // Yay! We can upload the entire plane in a single GL call.
295 static_cast<const GLvoid*>(plane));
308 static_cast<const GLvoid*>(plane + (row * stride)));
/external/tensorflow/tensorflow/compiler/xla/
H A Dreference_util.h443 // (plane, depth, height, width) index of each element is also provided as
450 for (int64 plane = 0; plane < input.planes(); ++plane) {
454 (*result)(plane, depth, height, width) =
455 map_function(input(plane, depth, height, width), plane, depth,
478 // (plane, depth, height, width) index of each element is also provided as
485 for (int64 plane = 0; plane < lh
[all...]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue148/
H A DPrintableUnicodeTest.java166 int plane = c / 0x10000;
167 return !(c >= 0xFDD0 && c <= 0xFDEF) && (plane <= 16 && (c & 0xFFFE) != 0xFFFE);
/external/drm_hwcomposer/
H A Ddrmresources.h64 int GetPlaneProperty(const DrmPlane &plane, const char *prop_name,
/external/libvpx/libvpx/vp9/encoder/x86/
H A Dvp9_diamond_search_sad_avx.c108 const int what_stride = x->plane[0].src.stride;
109 const int in_what_stride = x->e_mbd.plane[0].pre[0].stride;
110 const uint8_t *const what = x->plane[0].src.buf;
112 x->e_mbd.plane[0].pre[0].buf + ref_row * in_what_stride + ref_col;
/external/swiftshader/src/OpenGL/common/
H A DImage.hpp69 ClientBuffer(int width, int height, sw::Format format, void* buffer, size_t plane) argument
70 : width(width), height(height), format(format), buffer(buffer), plane(plane)
88 size_t plane; member in class:egl::ClientBuffer
/external/harfbuzz_ng/src/
H A Dhb-unicode-private.hh174 hb_codepoint_t plane = ch >> 16; local
175 if (likely (plane == 0))
196 switch (plane) {
/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_temporal_filter.c246 struct buf_2d src = x->plane[0].src;
247 struct buf_2d pre = xd->plane[0].pre[0];
253 x->plane[0].src.buf = arf_frame_buf;
254 x->plane[0].src.stride = stride;
255 xd->plane[0].pre[0].buf = frame_ptr_buf;
256 xd->plane[0].pre[0].stride = stride;
278 x->plane[0].src = src;
279 xd->plane[0].pre[0] = pre;
311 const int mb_uv_height = 16 >> mbd->plane[1].subsampling_y;
312 const int mb_uv_width = 16 >> mbd->plane[
[all...]
H A Dvp9_mcomp.c288 const uint8_t *const z = x->plane[0].src.buf; \
289 const int src_stride = x->plane[0].src.stride; \
298 const int y_stride = xd->plane[0].pre[0].stride; \
300 const uint8_t *const y = xd->plane[0].pre[0].buf; \
647 const uint8_t *const z = x->plane[0].src.buf;
649 const int src_stride = x->plane[0].src.stride;
654 const int y_stride = xd->plane[0].pre[0].stride;
656 const uint8_t *const y = xd->plane[0].pre[0].buf;
819 const struct buf_2d *const what = &x->plane[0].src;
820 const struct buf_2d *const in_what = &x->e_mbd.plane[
[all...]
H A Dvp9_encodeframe.c197 cpi, &x->plane[0].src, mi_row, mi_col, BLOCK_64X64);
238 vp9_setup_dst_planes(xd->plane, get_frame_new_buffer(cm), mi_row, mi_col);
485 get_plane_block_size(subsize, &xd->plane[1]) < BLOCK_INVALID) {
498 get_plane_block_size(subsize, &xd->plane[1]) < BLOCK_INVALID) {
751 uint8_t *ysignal = x->plane[0].src.buf;
752 uint8_t *usignal = x->plane[1].src.buf;
753 uint8_t *vsignal = x->plane[2].src.buf;
754 int sp = x->plane[0].src.stride;
755 int spuv = x->plane[1].src.stride;
1149 struct macroblock_plane *p = &x->plane[
3718 int plane; local
5104 int plane; local
[all...]
H A Dvp9_firstpass.c666 uint8_t *src_ptr = &x->plane[0].src.buf[0];
670 int stride = x->plane[0].src.stride;
837 struct macroblock_plane *const p = x->plane;
838 struct macroblockd_plane *const pd = xd->plane;
928 x->plane[0].src.buf = cpi->Source->y_buffer +
929 mb_row * 16 * x->plane[0].src.stride + mb_col * 16;
930 x->plane[1].src.buf = cpi->Source->u_buffer +
931 mb_row * uv_mb_height * x->plane[1].src.stride +
933 x->plane[2].src.buf = cpi->Source->v_buffer +
934 mb_row * uv_mb_height * x->plane[
[all...]
/external/v4l2_codec2/
H A DC2VDAAdaptor.cpp102 for (const auto& plane : planes) {
103 handle.planes.emplace_back(plane.mStride, plane.mOffset, 0, 0);
/external/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_pipe_clip.c76 float (*plane)[4]; member in struct:clip_stage
352 * this function extracts the clip distance for the current plane,
360 const float *plane; local
364 plane = clipper->plane[plane_idx];
365 dp = dot4(vert->clip_pos, plane);
377 plane = clipper->plane[plane_idx];
379 dp = dot4(vert->data[clipper->cv_attr], plane);
382 dp = dot4(vert->clip_pos, plane);
[all...]
/external/ImageMagick/coders/
H A Drle.c192 plane,
353 plane=0;
373 plane=(unsigned char) operand;
374 if (plane == 255)
375 plane=(unsigned char) (number_planes-1);
393 number_planes+plane;
425 number_planes+plane;
189 plane, local
/external/deqp/framework/referencerenderer/
H A DrrRenderer.cpp155 * 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/
H A Dvpxdec.c268 const int plane = planes[i]; local
269 const unsigned char *buf = img->planes[plane];
270 const int stride = img->stride[plane];
271 const int w = vpx_img_plane_width(img, plane) *
273 const int h = vpx_img_plane_height(img, plane);
292 const int plane = planes[i]; local
293 const unsigned char *buf = img->planes[plane];
294 const int stride = img->stride[plane];
295 const int w = vpx_img_plane_width(img, plane);
296 const int h = vpx_img_plane_height(img, plane);
[all...]
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_state_framebuffer.c755 /* need to express the plane in D3D-style coordinate space.
761 * Apply that matrix to our plane equation, and invert Y.
767 float plane[4]; local
769 plane[0] = a;
770 plane[1] = b;
771 plane[2] = 2.0f * c;
772 plane[3] = d - c;
775 //debug_printf("XXX emit DX10 clip plane\n");
779 ret = SVGA3D_SetClipPlane(svga->swc, i, plane);
/external/mesa3d/src/gallium/state_trackers/va/
H A Dpostproc.c90 unsigned plane = buf->interlaced ? idx / 2: idx; local
98 vl_video_buffer_adjust_size(&x, &y, plane, buf->chroma_format,
100 vl_video_buffer_adjust_size(&width, &height, plane, buf->chroma_format,
/external/webrtc/webrtc/modules/video_render/android/
H A Dvideo_render_opengles20.cc356 // Uploads a plane of pixel data, accounting for stride != width*bpp.
358 const uint8_t* plane) {
360 // Yay! We can upload the entire plane in a single GL call.
363 static_cast<const GLvoid*>(plane));
370 static_cast<const GLvoid*>(plane + (row * stride)));
357 GlTexSubImage2D(GLsizei width, GLsizei height, int stride, const uint8_t* plane) argument
/external/autotest/client/site_tests/graphics_Gbm/src/
H A Dgbmtest.c196 size_t num_planes, plane; local
226 for (plane = 0; plane < num_planes; plane++) {
227 CHECK(gbm_bo_get_plane_handle(bo, plane).u32);
229 fd = gbm_bo_get_plane_fd(bo, plane);
233 gbm_bo_get_plane_offset(bo, plane);
234 CHECK(gbm_bo_get_plane_size(bo, plane));
235 CHECK(gbm_bo_get_plane_stride(bo, plane));

Completed in 731 milliseconds

1234567891011