/external/chromium_org/third_party/webrtc/common_video/ |
plane_unittest.cc | 11 #include "webrtc/common_video/plane.h" 21 Plane plane; local 23 EXPECT_EQ(0, plane.allocated_size()); 24 EXPECT_EQ(0, plane.stride()); 25 EXPECT_TRUE(plane.IsZeroSize()); 28 EXPECT_EQ(-1, plane.CreateEmptyPlane(size, stride, 1)); 29 EXPECT_EQ(-1, plane.CreateEmptyPlane(10, stride, size)); 32 EXPECT_EQ(-1, plane.CreateEmptyPlane(size, stride, size)); 34 EXPECT_EQ(0, plane.CreateEmptyPlane(size, stride, size)) 41 Plane plane; local [all...] |
/external/chromium_org/content/common/gpu/ |
image_transport_surface_iosurface_mac.cc | 79 // Don't think we need to identify a plane. 80 GLuint plane = 0; local 90 plane);
|
/packages/apps/Camera2/src/com/android/camera/util/ |
JpegUtilNative.java | 20 import android.media.Image.Plane; 98 Plane plane = img.getPlanes()[i]; local 100 if (!plane.getBuffer().isDirect()) { 104 planeBuf[i] = plane.getBuffer(); 105 pixelStride[i] = plane.getPixelStride(); 106 rowStride[i] = plane.getRowStride();
|
/external/chromium_org/third_party/libvpx/source/libvpx/examples/ |
decode_to_md5.c | 28 // Each row of the image is passed to the MD5 accumulator. First the Y plane 47 int plane, y; local 52 for (plane = 0; plane < 3; ++plane) { 53 const unsigned char *buf = img->planes[plane]; 54 const int stride = img->stride[plane]; 55 const int w = plane ? (img->d_w + 1) >> 1 : img->d_w; 56 const int h = plane ? (img->d_h + 1) >> 1 : img->d_h;
|
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/common/ |
vp9_blockd.c | 40 const MACROBLOCKD *const xd, BLOCK_SIZE bsize, int plane, 42 const struct macroblockd_plane *const pd = &xd->plane[plane]; 46 // transform size varies per plane, look it up in a common way. 47 const TX_SIZE tx_size = plane ? get_uv_tx_size(mbmi) 79 visit(plane, i, plane_bsize, tx_size, arg); 85 visit(plane, i, plane_bsize, tx_size, arg); 93 int plane; local 95 for (plane = 0; plane < MAX_MB_PLANE; plane++ [all...] |
/external/chromium_org/ui/surface/ |
accelerated_surface_mac.cc | 229 // Don't think we need to identify a plane. 230 GLuint plane = 0; local 240 plane);
|
/external/libvpx/libvpx/examples/ |
decode_to_md5.c | 28 // Each row of the image is passed to the MD5 accumulator. First the Y plane 47 int plane, y; local 52 for (plane = 0; plane < 3; ++plane) { 53 const unsigned char *buf = img->planes[plane]; 54 const int stride = img->stride[plane]; 55 const int w = plane ? (img->d_w + 1) >> 1 : img->d_w; 56 const int h = plane ? (img->d_h + 1) >> 1 : img->d_h;
|
/external/libvpx/libvpx/vp9/common/ |
vp9_blockd.c | 40 const MACROBLOCKD *const xd, BLOCK_SIZE bsize, int plane, 42 const struct macroblockd_plane *const pd = &xd->plane[plane]; 46 // transform size varies per plane, look it up in a common way. 47 const TX_SIZE tx_size = plane ? get_uv_tx_size(mbmi) 79 visit(plane, i, plane_bsize, tx_size, arg); 85 visit(plane, i, plane_bsize, tx_size, arg); 93 int plane; local 95 for (plane = 0; plane < MAX_MB_PLANE; plane++ [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/examples/ |
decode_to_md5.c | 28 // Each row of the image is passed to the MD5 accumulator. First the Y plane 47 int plane, y; local 52 for (plane = 0; plane < 3; ++plane) { 53 const unsigned char *buf = img->planes[plane]; 54 const int stride = img->stride[plane]; 55 const int w = plane ? (img->d_w + 1) >> 1 : img->d_w; 56 const int h = plane ? (img->d_h + 1) >> 1 : img->d_h;
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/ |
vp9_blockd.c | 40 const MACROBLOCKD *const xd, BLOCK_SIZE bsize, int plane, 42 const struct macroblockd_plane *const pd = &xd->plane[plane]; 46 // transform size varies per plane, look it up in a common way. 47 const TX_SIZE tx_size = plane ? get_uv_tx_size(mbmi) 79 visit(plane, i, plane_bsize, tx_size, arg); 85 visit(plane, i, plane_bsize, tx_size, arg); 93 int plane; local 95 for (plane = 0; plane < MAX_MB_PLANE; plane++ [all...] |
/hardware/intel/img/hwcomposer/common/planes/ |
DisplayPlaneManager.cpp | 51 // reset plane 52 DisplayPlane *plane = mPlanes[i].itemAt(j); local 53 plane->reset(); 55 DEINIT_AND_DELETE_OBJ(plane); 73 // calculate total plane number and free plane bitmaps 81 ELOGTRACE("plane count is not initialized"); 89 // allocate plane pools 95 DisplayPlane* plane = allocPlane(j, i); local 96 if (!plane) { 290 DisplayPlane* plane = mPlanes[i].itemAt(j); local 312 DisplayPlane* plane = (DisplayPlane *)mPlanes[i][j]; local [all...] |
/hardware/intel/img/hwcomposer/include/ |
DisplayPlaneManager.h | 39 DisplayPlane *plane; member in struct:android::intel::ZOrderLayer 71 virtual void reclaimPlane(int dsp, DisplayPlane& plane); 78 // plane allocation & free 84 void putPlane(int dsp, DisplayPlane& plane); 98 // Bitmap of free planes. Bit0 - plane A, bit 1 - plane B, etc.
|
/hardware/intel/img/hwcomposer/ips/tangier/ |
TngDisplayContext.cpp | 97 DisplayPlane* plane = layerList->getPlane(i); local 98 if (!plane) { 102 ret = plane->flip(NULL); 104 VLOGTRACE("failed to flip plane %d", i); 111 imgLayer->custom = (uint32_t)plane->getContext();
|
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/decoder/ |
vp9_dthread.c | 107 int plane; local 114 for (plane = 0; plane < num_planes; ++plane) { 115 vp9_filter_block_plane(cm, &planes[plane], mi_row, &lfm); 190 vp9_copy(lf_data->planes, pbi->mb.plane);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/ |
lp_rast_tri_tmp.h | 35 * Prototype for a 8 plane rasterizer function. Will codegenerate 45 const struct lp_rast_plane *plane, 54 -plane[j].dcdx, 55 plane[j].dcdy); 71 const struct lp_rast_plane *plane, 82 const int dcdx = -plane[j].dcdx * 4; 83 const int dcdy = plane[j].dcdy * 4; 84 const int cox = plane[j].eo * 4; 85 const int ei = plane[j].dcdy - plane[j].dcdx - plane[j].eo 162 struct lp_rast_plane plane[NR_PLANES]; local 261 const struct lp_rast_plane *plane = GET_PLANES(tri); local 334 const struct lp_rast_plane *plane = GET_PLANES(tri); local [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/program/ |
prog_statevars.c | 263 const GLuint plane = (GLuint) state[1]; local 264 COPY_4V(value, ctx->Transform.EyeUserPlane[plane]); 980 append_token(str, state[2]); /* plane coef */ 987 append_index(str, state[1]); /* plane [i] */ 988 append(str, ".plane"); [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/tnl/ |
t_vb_fog.c | 91 * near and far clip plane distances). 165 GLfloat plane[4]; local 171 plane[0] = m[2]; 172 plane[1] = m[6]; 173 plane[2] = m[10]; 174 plane[3] = m[14]; 181 VB->AttribPtr[_TNL_ATTRIB_POS], plane );
|
/external/chromium_org/third_party/webrtc/modules/desktop_capture/win/ |
cursor.cc | 99 const RGBQUAD* plane = reinterpret_cast<const RGBQUAD*>(data); local 102 if (plane->rgbReserved != 0) 104 plane += 1; 106 plane += stride - width;
|
/external/libvpx/libvpx/vp9/decoder/ |
vp9_dthread.c | 106 int plane; local 113 for (plane = 0; plane < num_planes; ++plane) { 114 vp9_filter_block_plane(cm, &xd->plane[plane], mi_row, &lfm);
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_rast_tri_tmp.h | 35 * Prototype for a 8 plane rasterizer function. Will codegenerate 45 const struct lp_rast_plane *plane, 54 -plane[j].dcdx, 55 plane[j].dcdy); 71 const struct lp_rast_plane *plane, 82 const int dcdx = -plane[j].dcdx * 4; 83 const int dcdy = plane[j].dcdy * 4; 84 const int cox = plane[j].eo * 4; 85 const int ei = plane[j].dcdy - plane[j].dcdx - plane[j].eo 162 struct lp_rast_plane plane[NR_PLANES]; local 261 const struct lp_rast_plane *plane = GET_PLANES(tri); local 334 const struct lp_rast_plane *plane = GET_PLANES(tri); local [all...] |
/external/mesa3d/src/mesa/program/ |
prog_statevars.c | 263 const GLuint plane = (GLuint) state[1]; local 264 COPY_4V(value, ctx->Transform.EyeUserPlane[plane]); 980 append_token(str, state[2]); /* plane coef */ 987 append_index(str, state[1]); /* plane [i] */ 988 append(str, ".plane"); [all...] |
/external/mesa3d/src/mesa/tnl/ |
t_vb_fog.c | 91 * near and far clip plane distances). 165 GLfloat plane[4]; local 171 plane[0] = m[2]; 172 plane[1] = m[6]; 173 plane[2] = m[10]; 174 plane[3] = m[14]; 181 VB->AttribPtr[_TNL_ATTRIB_POS], plane );
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/ |
vp9_dthread.c | 106 int plane; local 113 for (plane = 0; plane < num_planes; ++plane) { 114 vp9_filter_block_plane(cm, &xd->plane[plane], mi_row, &lfm);
|
/hardware/intel/img/hwcomposer/common/base/ |
HwcLayer.cpp | 90 bool HwcLayer::attachPlane(DisplayPlane* plane, int device) 93 ELOGTRACE("failed to attach plane, plane exists"); 97 if (!plane) { 98 ELOGTRACE("Invalid plane"); 103 //plane->setZOrder(mIndex); 104 plane->assignToDevice(device); 105 mPlane = plane; 111 // reset plane's z order 114 DisplayPlane *plane = mPlane local [all...] |
/hardware/intel/img/hwcomposer/ips/anniedale/ |
AnnPlaneManager.cpp | 38 // it is used to fast locate plane index and type 59 // and Oc, D, E, F. However, plane A has to be part of the blending chain as it can't 60 // be disabled [HW bug]. The only legitimate combinations including overlay and plane A is: 66 // Cursor plane can be placed on top of any plane below and is intentionally ignored 141 DisplayPlane *plane = NULL; local 145 plane = new AnnRGBPlane(index, DisplayPlane::PLANE_PRIMARY, index/*disp*/); 148 plane = new AnnRGBPlane(index, DisplayPlane::PLANE_SPRITE, 0/*disp*/); 151 plane = new AnnOverlayPlane(index, 0/*disp*/); 154 plane = new AnnCursorPlane(index, index /*disp */) [all...] |