/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/examples/ |
H A D | 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;
|
H A D | decode_with_partial_drops.c | 308 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 D | vp8_multi_resolution_encoder.c | 86 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 D | rdopt.h | 78 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
|
H A D | pickinter.c | 607 unsigned char *plane[4][3]; local 684 get_predictor_pointers(cpi, plane, recon_yoffset, recon_uvoffset); 719 x->e_mbd.pre.y_buffer = plane[this_ref_frame][0]; 720 x->e_mbd.pre.u_buffer = plane[this_ref_frame][1]; 721 x->e_mbd.pre.v_buffer = plane[this_ref_frame][2]; 1198 x->e_mbd.pre.y_buffer = plane[this_ref_frame][0]; 1199 x->e_mbd.pre.u_buffer = plane[this_ref_frame][1]; 1200 x->e_mbd.pre.v_buffer = plane[this_ref_frame][2];
|
/hardware/intel/img/hwcomposer/include/ |
H A D | 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/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/ |
H A D | 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_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 D | vp9_reconintra.c | 319 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 D | vp9_reconinter.c | 142 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...] |
H A D | vp9_blockd.h | 205 struct macroblockd_plane plane[MAX_MB_PLANE]; member in struct:macroblockd 296 typedef void (*foreach_transformed_block_visitor)(int plane, int block, 302 const MACROBLOCKD *const xd, BLOCK_SIZE bsize, int plane,
|
/hardware/intel/img/hwcomposer/common/planes/ |
H A D | 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) { 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/ips/tangier/ |
H A D | 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();
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/ |
H A D | tools_common.c | 84 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 D | 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);
|
H A D | vp9_detokenize.c | 198 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 D | vp9_quantize.c | 129 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...] |
H A D | vp9_encodemb.c | 54 void vp9_subtract_plane(MACROBLOCK *x, BLOCK_SIZE bsize, int plane) { argument 55 struct macroblock_plane *const p = &x->plane[plane]; 56 const struct macroblockd_plane *const pd = &x->e_mbd.plane[plane]; 108 static void optimize_b(int plane, int block, BLOCK_SIZE plane_bsize, argument 112 struct macroblock_plane *p = &mb->plane[plane]; 113 struct macroblockd_plane *pd = &xd->plane[plane]; 317 vp9_xform_quant(MACROBLOCK *x, int plane, int block, BLOCK_SIZE plane_bsize, TX_SIZE tx_size) argument 367 encode_block(int plane, int block, BLOCK_SIZE plane_bsize, TX_SIZE tx_size, void *arg) argument 428 encode_block_pass1(int plane, int block, BLOCK_SIZE plane_bsize, TX_SIZE tx_size, void *arg) argument 457 int plane; local 475 encode_block_intra(int plane, int block, BLOCK_SIZE plane_bsize, TX_SIZE tx_size, void *arg) argument 601 vp9_encode_block_intra(MACROBLOCK *x, int plane, int block, BLOCK_SIZE plane_bsize, TX_SIZE tx_size, unsigned char *skip) argument 609 vp9_encode_intra_block_plane(MACROBLOCK *x, BLOCK_SIZE bsize, int plane) argument [all...] |
H A D | vp9_tokenize.c | 167 static void set_entropy_context_b(int plane, int block, BLOCK_SIZE plane_bsize, argument 171 struct macroblock_plane *p = &args->cpi->mb.plane[plane]; 172 struct macroblockd_plane *pd = &xd->plane[plane]; 209 static void tokenize_b(int plane, int block, BLOCK_SIZE plane_bsize, argument 216 struct macroblock_plane *p = &cpi->mb.plane[plane]; 217 struct macroblockd_plane *pd = &xd->plane[plane]; 293 is_skippable(int plane, int block, BLOCK_SIZE plane_bsize, TX_SIZE tx_size, void *argv) argument 300 vp9_is_skippable_in_plane(MACROBLOCK *x, BLOCK_SIZE bsize, int plane) argument [all...] |
/hardware/intel/img/hwcomposer/common/base/ |
H A D | HwcLayer.cpp | 90 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 D | HwcLayerList.cpp | 61 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); 288 // add layer to FB layer list for zorder check during plane assignment 331 // If has layer besides of FB_Target, but no FBLayers, skip plane allocation 337 VLOGTRACE("no FB layers, skip plane allocation"); 367 DisplayPlane *plane local 937 DisplayPlane *plane; local 1021 DisplayPlane *plane = mLayers[i]->getPlane(); local [all...] |
/hardware/intel/img/hwcomposer/ips/anniedale/ |
H A D | 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 [all...] |
/hardware/samsung_slsi/exynos5/libhwjpeg/ |
H A D | ExynosJpegBase.cpp | 200 struct v4l2_plane plane[JPEG_MAX_PLANE_CNT]; local 205 memset(plane, 0, (int)JPEG_MAX_PLANE_CNT * sizeof(struct v4l2_plane)); 212 v4l2_buf.m.planes = plane;
|
/hardware/samsung_slsi/exynos5/exynos_omx/codecs/exynos_codecs/video/exynos5/mfc_v4l2/dec/src/ |
H A D | ExynosVideoDecoder.c | 1242 int nIndex, plane; local 1252 for (plane = 0; plane < nPlanes; plane++) { 1253 pCtx->pInbuf[nIndex].planes[plane].addr = planes[plane].addr; 1254 pCtx->pInbuf[nIndex].planes[plane].allocSize = planes[plane].allocSize; 1255 pCtx->pInbuf[nIndex].planes[plane].fd = planes[plane] 1280 int nIndex, plane; local [all...] |
/hardware/samsung_slsi/exynos5/exynos_omx/codecs/exynos_codecs/video/exynos5/mfc_v4l2/enc/src/ |
H A D | ExynosVideoEncoder.c | 1630 int plane; local 1631 for (plane = 0; plane < nPlanes; plane++) { 1632 pCtx->pInbuf[nIndex].planes[plane].addr = planes[plane].addr; 1633 pCtx->pInbuf[nIndex].planes[plane].allocSize = planes[plane].allocSize; 1634 pCtx->pInbuf[nIndex].planes[plane].fd = planes[plane] 1667 int plane; local [all...] |
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/video/enc/ |
H A D | Exynos_OMX_Venc.c | 163 Exynos_OSAL_Log(EXYNOS_LOG_ERROR, "Failed to Alloc plane"); 344 /* YUV420Planar converted to YUV420Semiplanar (interleaved UV plane) as per MFC spec.*/ 448 int plane = 0; local 467 /* input buffers are 2 plane. */ 490 for (plane = 0; plane < MFC_INPUT_BUFFER_PLANE; plane++) { 491 srcInputData->buffer.multiPlaneBuffer.dataBuffer[plane] = 492 Exynos_OSAL_SharedMemory_IONToVirt(pVideoEnc->hSharedMemory, srcInputData->buffer.multiPlaneBuffer.fd[plane]); 493 if(srcInputData->buffer.multiPlaneBuffer.dataBuffer[plane] [all...] |