Searched defs:plane (Results 1 - 25 of 63) sorted by relevance

123

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/examples/
H A Ddecode_to_md5.c28 // 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;
H A Ddecode_with_partial_drops.c308 unsigned int plane, y; local
310 for(plane=0; plane < 3; plane++) {
311 unsigned char *buf =img->planes[plane];
313 for(y=0; y < (plane ? (img->d_h + 1) >> 1 : img->d_h); y++) {
314 (void) fwrite(buf, 1, (plane ? (img->d_w + 1) >> 1 : img->d_w),
316 buf += img->stride[plane];
H A Dvp8_multi_resolution_encoder.c86 int plane; local
88 for (plane = 0; plane < 3; plane++)
91 int w = (plane ? (1 + img->d_w) / 2 : img->d_w);
92 int h = (plane ? (1 + img->d_h) / 2 : img->d_h);
95 /* Determine the correct plane based on the image format. The for-loop
99 switch (plane)
108 ptr = img->planes[plane];
123 ptr += img->stride[plane];
[all...]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
H A Drdopt.h78 unsigned char *plane[3],
82 plane[0] = fb->y_buffer + recon_yoffset;
83 plane[1] = fb->u_buffer + recon_uvoffset;
84 plane[2] = fb->v_buffer + recon_uvoffset;
89 unsigned char *plane[4][3],
95 plane[LAST_FRAME], recon_yoffset, recon_uvoffset);
99 plane[GOLDEN_FRAME], recon_yoffset, recon_uvoffset);
103 plane[ALTREF_FRAME], recon_yoffset, recon_uvoffset);
77 get_plane_pointers(const YV12_BUFFER_CONFIG *fb, unsigned char *plane[3], unsigned int recon_yoffset, unsigned int recon_uvoffset) argument
88 get_predictor_pointers(const VP8_COMP *cpi, unsigned char *plane[4][3], unsigned int recon_yoffset, unsigned int recon_uvoffset) argument
/hardware/intel/img/hwcomposer/merrifield/include/
H A DDisplayPlaneManager.h39 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/merrifield/ips/tangier/
H A DTngPlaneManager.cpp53 DisplayPlane *plane = 0; local
57 plane = new TngPrimaryPlane(index, index);
60 plane = new TngSpritePlane(index, 0);
63 plane = new TngOverlayPlane(index, 0);
66 plane = new TngCursorPlane(index, index /*disp */);
72 if (plane && !plane->initialize(DisplayPlane::MIN_DATA_BUFFER_COUNT)) {
73 ETRACE("failed to initialize plane.");
74 DEINIT_AND_DELETE_OBJ(plane);
77 return plane;
183 DisplayPlane *plane = getPlane(type, index); local
[all...]
H A DTngPrimaryPlane.cpp53 // don't need to map data buffer for primary plane
90 arg.plane.type = DC_PRIMARY_PLANE;
91 arg.plane.index = mIndex;
92 arg.plane.ctx = 0;
150 DisplayPlane *plane = zorderConfig[i]->plane; local
151 if (plane->getType() == DisplayPlane::PLANE_PRIMARY)
153 if (plane->getType() == DisplayPlane::PLANE_OVERLAY) {
158 // if has overlay plane which is below primary plane
[all...]
H A DTngDisplayContext.cpp96 DisplayPlane* plane = layerList->getPlane(i); local
97 if (!plane) {
101 ret = plane->flip(NULL);
103 VTRACE("failed to flip plane %d", i);
110 imgLayer->custom = (unsigned long)plane->getContext();
H A DTngSpritePlane.cpp49 // setup plane position
57 // setup plane format
73 // setup plane alpha
77 // disable plane alpha to offload HW
138 arg.plane.type = DC_SPRITE_PLANE;
139 arg.plane.index = mIndex;
140 arg.plane.ctx = 0;
170 arg.plane.type = DC_SPRITE_PLANE;
172 arg.plane.type = DC_PRIMARY_PLANE;
175 arg.plane
203 DisplayPlane *plane = zorderConfig[i]->plane; local
[all...]
/hardware/intel/img/hwcomposer/moorefield_hdmi/include/
H A DDisplayPlaneManager.h39 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/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/
H A Dvp9_blockd.c40 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_PLAN
39 vp9_foreach_transformed_block_in_plane( const MACROBLOCKD *const xd, BLOCK_SIZE bsize, int plane, foreach_transformed_block_visitor visit, void *arg) argument
[all...]
H A Dvp9_reconintra.c319 int plane) {
328 const struct macroblockd_plane *const pd = &xd->plane[plane];
340 if (plane == 0) {
442 int aoff, int loff, int plane) {
453 have_top, have_left, have_right, x, y, plane);
314 build_intra_predictors(const MACROBLOCKD *xd, const uint8_t *ref, int ref_stride, uint8_t *dst, int dst_stride, MB_PREDICTION_MODE mode, TX_SIZE tx_size, int up_available, int left_available, int right_available, int x, int y, int plane) argument
438 vp9_predict_intra_block(const MACROBLOCKD *xd, int block_idx, int bwl_in, TX_SIZE tx_size, MB_PREDICTION_MODE mode, const uint8_t *ref, int ref_stride, uint8_t *dst, int dst_stride, int aoff, int loff, int plane) argument
H A Dvp9_reconinter.c142 static void build_inter_predictors(MACROBLOCKD *xd, int plane, int block, argument
146 struct macroblockd_plane *const pd = &xd->plane[plane];
163 ? (plane == 0 ? mi->bmi[block].as_mv[ref].as_mv
204 int plane; local
207 for (plane = plane_from; plane <= plane_to; ++plane) {
209 &xd->plane[plane]);
246 dec_build_inter_predictors(MACROBLOCKD *xd, int plane, int block, int bw, int bh, int x, int y, int w, int h, int mi_x, int mi_y) argument
387 int plane; local
[all...]
/hardware/intel/img/hwcomposer/merrifield/common/planes/
H A DDisplayPlaneManager.cpp51 // 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 ETRACE("plane count is not initialized");
89 // allocate plane pools
95 DisplayPlane* plane = allocPlane(j, i); local
96 if (!plane) {
194 putPlane(int dsp, DisplayPlane& plane) argument
257 reclaimPlane(int dsp, DisplayPlane& plane) argument
290 DisplayPlane* plane = mPlanes[i].itemAt(j); local
312 DisplayPlane* plane = (DisplayPlane *)mPlanes[i][j]; local
[all...]
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/planes/
H A DDisplayPlaneManager.cpp51 // 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) {
194 putPlane(int , DisplayPlane& plane) argument
257 reclaimPlane(int , DisplayPlane& plane) argument
290 DisplayPlane* plane = mPlanes[i].itemAt(j); local
312 DisplayPlane* plane = (DisplayPlane *)mPlanes[i][j]; local
[all...]
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/tangier/
H A DTngDisplayContext.cpp96 DisplayPlane* plane = layerList->getPlane(i); local
97 if (!plane) {
101 ret = plane->flip(NULL);
103 VLOGTRACE("failed to flip plane %d", i);
110 imgLayer->custom = (uint32_t)plane->getContext();
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
H A Dtools_common.c84 int plane = 0; local
87 for (plane = 0; plane < 3; ++plane) {
89 const int w = (plane ? (1 + yuv_frame->d_w) / 2 : yuv_frame->d_w);
90 const int h = (plane ? (1 + yuv_frame->d_h) / 2 : yuv_frame->d_h);
93 /* Determine the correct plane based on the image format. The for-loop
97 switch (plane) {
107 ptr = yuv_frame->planes[plane];
125 ptr += yuv_frame->stride[plane];
206 vpx_img_plane_width(const vpx_image_t *img, int plane) argument
213 vpx_img_plane_height(const vpx_image_t *img, int plane) argument
221 int plane; local
238 int plane; local
[all...]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/
H A Dvp9_dthread.c106 int plane; local
113 for (plane = 0; plane < num_planes; ++plane) {
114 vp9_filter_block_plane(cm, &xd->plane[plane], mi_row, &lfm);
H A Dvp9_detokenize.c198 int plane, int block, BLOCK_SIZE plane_bsize,
200 struct macroblockd_plane *const pd = &xd->plane[plane];
197 vp9_decode_block_tokens(VP9_COMMON *cm, MACROBLOCKD *xd, int plane, int block, BLOCK_SIZE plane_bsize, int x, int y, TX_SIZE tx_size, vp9_reader *r) argument
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
H A Dvp9_quantize.c129 void vp9_regular_quantize_b_4x4(MACROBLOCK *x, int plane, int block, argument
132 struct macroblock_plane *p = &x->plane[plane];
133 struct macroblockd_plane *pd = &xd->plane[plane];
227 x->plane[0].quant = quants->y_quant[qindex];
228 x->plane[0].quant_shift = quants->y_quant_shift[qindex];
229 x->plane[0].zbin = quants->y_zbin[qindex];
230 x->plane[0].round = quants->y_round[qindex];
231 x->plane[
[all...]
/hardware/intel/img/hwcomposer/merrifield/common/base/
H A DHwcLayer.cpp110 bool HwcLayer::attachPlane(DisplayPlane* plane, int device) argument
113 ETRACE("failed to attach plane, plane exists");
117 if (!plane) {
118 ETRACE("Invalid plane");
123 //plane->setZOrder(mIndex);
124 plane->assignToDevice(device);
125 mPlane = plane;
131 // reset plane's z order
134 DisplayPlane *plane local
[all...]
/hardware/intel/img/hwcomposer/merrifield/ips/anniedale/
H A DAnnPlaneManager.cpp38 // 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:
63 // Cursor plane can be placed on top of any plane below and is intentionally ignored
66 // video mode panel doesn't need the primay plane A always on hack
166 DisplayPlane *plane = NULL; local
170 plane = new AnnRGBPlane(index, DisplayPlane::PLANE_PRIMARY, index/*disp*/);
173 plane = new AnnRGBPlane(index, DisplayPlane::PLANE_SPRITE, 0/*disp*/);
176 plane
[all...]
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/base/
H A DHwcLayer.cpp90 bool HwcLayer::attachPlane(DisplayPlane* plane, int device) argument
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 local
[all...]
H A DHwcLayerList.cpp61 VLOGTRACE("plane type %d: (skip layer flag was set)", planeType);
79 VLOGTRACE("plane type %d: (bad transform)", planeType);
86 VLOGTRACE("plane type %d: (bad buffer format)", planeType);
93 VLOGTRACE("plane type %d: (bad buffer size)", planeType);
100 VLOGTRACE("plane type %d: (bad blending)", planeType);
107 VLOGTRACE("plane type %d: (bad scaling)", planeType);
284 // add layer to FB layer list for zorder check during plane assignment
327 // If has layer besides of FB_Target, but no FBLayers, skip plane allocation
333 VLOGTRACE("no FB layers, skip plane allocation");
363 DisplayPlane *plane local
931 DisplayPlane *plane; local
1015 DisplayPlane *plane = mLayers[i]->getPlane(); local
[all...]
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/anniedale/
H A DAnnPlaneManager.cpp38 // 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
[all...]

Completed in 305 milliseconds

123