Searched defs:pd (Results 1 - 15 of 15) sorted by relevance

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/
H A Dvp9_blockd.c42 const struct macroblockd_plane *const pd = &xd->plane[plane]; local
49 const BLOCK_SIZE plane_bsize = get_plane_block_size(bsize, pd);
67 max_blocks_wide += (xd->mb_to_right_edge >> (5 + pd->subsampling_x));
70 max_blocks_high += (xd->mb_to_bottom_edge >> (5 + pd->subsampling_y));
99 void vp9_set_contexts(const MACROBLOCKD *xd, struct macroblockd_plane *pd, argument
102 ENTROPY_CONTEXT *const a = pd->above_context + aoff;
103 ENTROPY_CONTEXT *const l = pd->left_context + loff;
110 (xd->mb_to_right_edge >> (5 + pd->subsampling_x));
127 (xd->mb_to_bottom_edge >> (5 + pd->subsampling_y));
H A Dvp9_entropy.h104 struct macroblockd_plane *const pd = &xd->plane[i]; local
105 const BLOCK_SIZE plane_bsize = get_plane_block_size(bsize, pd);
106 vpx_memset(pd->above_context, 0, sizeof(ENTROPY_CONTEXT) *
108 vpx_memset(pd->left_context, 0, sizeof(ENTROPY_CONTEXT) *
H A Dvp9_reconintra.c328 const struct macroblockd_plane *const pd = &xd->plane[plane]; local
349 x0 = (-xd->mb_to_left_edge >> (3 + pd->subsampling_x)) + x;
350 y0 = (-xd->mb_to_top_edge >> (3 + pd->subsampling_y)) + y;
H A Dvp9_reconinter.c146 struct macroblockd_plane *const pd = &xd->plane[plane]; local
154 struct buf_2d *const pre_buf = &pd->pre[ref];
155 struct buf_2d *const dst_buf = &pd->dst;
173 pd->subsampling_x,
174 pd->subsampling_y);
250 struct macroblockd_plane *const pd = &xd->plane[plane]; local
258 struct buf_2d *const pre_buf = &pd->pre[ref];
259 struct buf_2d *const dst_buf = &pd->dst;
277 pd->subsampling_x,
278 pd
422 struct macroblockd_plane *const pd = &xd->plane[i]; local
440 struct macroblockd_plane *const pd = &xd->plane[i]; local
[all...]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
H A Dvp9_pickmode.c190 struct macroblockd_plane *const pd = &xd->plane[0]; local
193 pd->dst.buf, pd->dst.stride, &sse);
196 pd->dequant[1] >> 3, &rate, &dist);
212 struct macroblockd_plane *const pd = &xd->plane[0]; local
351 &pd->dst.buf[0], pd->dst.stride, 0, 0, 0);
H A Dvp9_quantize.c133 struct macroblockd_plane *pd = &xd->plane[plane]; local
139 BLOCK_OFFSET(pd->dqcoeff, block),
140 pd->dequant, p->zbin_extra, &p->eobs[block], scan, iscan);
H A Dvp9_encodemb.c56 const struct macroblockd_plane *const pd = &x->e_mbd.plane[plane]; local
57 const BLOCK_SIZE plane_bsize = get_plane_block_size(bsize, pd);
62 pd->dst.buf, pd->dst.stride);
113 struct macroblockd_plane *pd = &xd->plane[plane]; local
119 int16_t *dqcoeff = BLOCK_OFFSET(pd->dqcoeff, block);
126 PLANE_TYPE type = pd->plane_type;
131 const int16_t *dequant_ptr = pd->dequant;
321 const struct macroblockd_plane *const pd = &xd->plane[plane]; local
325 int16_t *const dqcoeff = BLOCK_OFFSET(pd
374 struct macroblockd_plane *const pd = &xd->plane[plane]; local
433 struct macroblockd_plane *const pd = &xd->plane[plane]; local
464 const struct macroblockd_plane* const pd = &xd->plane[plane]; local
482 struct macroblockd_plane *const pd = &xd->plane[plane]; local
[all...]
H A Dvp9_tokenize.c172 struct macroblockd_plane *pd = &xd->plane[plane]; local
175 vp9_set_contexts(xd, pd, plane_bsize, tx_size, p->eobs[block] > 0,
217 struct macroblockd_plane *pd = &xd->plane[plane]; local
223 const PLANE_TYPE type = pd->plane_type;
242 pt = get_entropy_context(tx_size, pd->above_context + aoff,
243 pd->left_context + loff);
285 vp9_set_contexts(xd, pd, plane_bsize, tx_size, c > 0, aoff, loff);
H A Dvp9_firstpass.c478 struct macroblockd_plane *const pd = xd->plane; local
553 pd[i].dqcoeff = ctx->dqcoeff_pbuf[i][1];
H A Dvp9_encodeframe.c844 struct macroblockd_plane *const pd = xd->plane; local
881 pd[i].dqcoeff = ctx->dqcoeff_pbuf[i][1];
888 pd[i].dqcoeff = ctx->dqcoeff_pbuf[i][2];
995 struct macroblockd_plane *const pd = xd->plane; local
1023 pd[i].dqcoeff = ctx->dqcoeff_pbuf[i][0];
3129 struct macroblockd_plane *const pd = xd->plane; local
3135 pd[i].dqcoeff = ctx->dqcoeff_pbuf[i][0];
3281 int64_t pd = cpi->rd_tx_select_diff[i]; local
3284 pd -= RDCOST(cpi->mb.rdmult, cpi->mb.rddiv, 2048 * (TX_SIZES - 1), 0);
3285 diff = (int) (pd / c
[all...]
H A Dvp9_rdopt.c440 struct macroblockd_plane *const pd = &xd->plane[i]; local
441 const BLOCK_SIZE bs = get_plane_block_size(bsize, pd);
444 pd->dst.buf, pd->dst.stride, &sse);
454 int quantizer = (pd->dequant[1] >> 3);
467 pd->dequant[1] >> 3, &rate, &dist);
485 const struct macroblockd_plane *const pd = &xd->plane[0]; local
511 &pd->dst.buf[j * pd->dst.stride + k], pd
561 const struct macroblockd_plane *pd = &xd->plane[plane]; local
632 const struct macroblockd_plane *const pd = &xd->plane[plane]; local
699 vp9_get_entropy_contexts(BLOCK_SIZE bsize, TX_SIZE tx_size, const struct macroblockd_plane *pd, ENTROPY_CONTEXT t_above[16], ENTROPY_CONTEXT t_left[16]) argument
745 const struct macroblockd_plane *const pd = &xd->plane[plane]; local
1054 struct macroblockd_plane *pd = &xd->plane[0]; local
1391 struct macroblockd_plane *const pd = xd->plane; local
1546 struct macroblockd_plane *const pd = &xd->plane[0]; local
1649 struct macroblockd_plane *const pd = &x->e_mbd.plane[0]; local
1725 struct macroblockd_plane *const pd = &xd->plane[0]; local
3043 struct macroblockd_plane *const pd = x->e_mbd.plane; local
[all...]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/
H A Dvp9_detokenize.c200 struct macroblockd_plane *const pd = &xd->plane[plane]; local
201 const int ctx = get_entropy_context(tx_size, pd->above_context + x,
202 pd->left_context + y);
203 const scan_order *so = get_scan(xd, tx_size, pd->plane_type, block);
204 const int eob = decode_coefs(cm, xd, pd->plane_type,
205 BLOCK_OFFSET(pd->dqcoeff, block), tx_size,
206 pd->dequant, ctx, so->scan, so->neighbors, r);
207 vp9_set_contexts(xd, pd, plane_bsize, tx_size, eob > 0, x, y);
H A Dvp9_decodeframe.c195 struct macroblockd_plane *const pd = &xd->plane[plane]; local
198 const PLANE_TYPE plane_type = pd->plane_type;
199 int16_t *const dqcoeff = BLOCK_OFFSET(pd->dqcoeff, block);
249 struct macroblockd_plane *const pd = &xd->plane[plane]; local
256 dst = &pd->dst.buf[4 * y * pd->dst.stride + 4 * x];
260 dst, pd->dst.stride, dst, pd->dst.stride,
267 inverse_transform_block(xd, plane, block, tx_size, dst, pd->dst.stride,
285 struct macroblockd_plane *const pd local
[all...]
/hardware/qcom/camera/QCamera2/stack/mm-lib2d-interface/test/
H A Dmm_lib2d_test.c147 uint32_t *pd = (uint32_t *)addr; local
162 pd[(i*stride>>2)+j] & 0xff, // b
163 (pd[(i*stride>>2)+j] >> 8) & 0xff, // g
164 (pd[(i*stride>>2)+j] >> 16) & 0xff, // r
165 (pd[(i*stride>>2)+j] >> 24) & 0xff); // a
/hardware/intel/img/psb_video/src/
H A Dtng_enc_trace.c158 unsigned int *pd, *pt;/* virtual of page directory/table */ local
195 pd_index = phyaddr >> 22; /* the top 10bits are pd index */
203 pd = (unsigned int *)(linear_fb + (pd_phyaddr - phy_fb));
205 drv_debug_msg(VIDEO_ENCODE_PDUMP,"INFO: pd_index 0x%08x, pd 0x%08x, pd[pd_index] 0x%08x\n", pd_index, pd, pd[pd_index]);
207 if ((pd[pd_index] & 1) == 0) {/* not valid */
211 pt_phyaddr = pd[pd_index] & 0xfffff000;
234 pd_phyaddr, pd_index, pd[pd_inde
[all...]

Completed in 217 milliseconds