Searched refs:pixel_shift (Results 1 - 20 of 20) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/
H A Dh264_mb.c211 int pixel_shift, int chroma_idc)
216 ptrdiff_t offset = ((mx >> 2) << pixel_shift) + (my >> 2) * h->mb_linesize;
238 src_y - (2 << pixel_shift) - 2 * h->mb_linesize,
242 src_y = h->edge_emu_buffer + (2 << pixel_shift) + 2 * h->mb_linesize;
257 src_cb - (2 << pixel_shift) - 2 * h->mb_linesize,
262 src_cb = h->edge_emu_buffer + (2 << pixel_shift) + 2 * h->mb_linesize;
271 src_cr - (2 << pixel_shift) - 2 * h->mb_linesize,
276 src_cr = h->edge_emu_buffer + (2 << pixel_shift) + 2 * h->mb_linesize;
291 src_cb = pic->f.data[1] + ((mx >> 3) << pixel_shift) +
293 src_cr = pic->f.data[2] + ((mx >> 3) << pixel_shift)
203 mc_dir_part(H264Context *h, H264Picture *pic, int n, int square, int height, int delta, int list, uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr, int src_x_offset, int src_y_offset, qpel_mc_func *qpix_op, h264_chroma_mc_func chroma_op, int pixel_shift, int chroma_idc) argument
318 mc_part_std(H264Context *h, int n, int square, int height, int delta, uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr, int x_offset, int y_offset, qpel_mc_func *qpix_put, h264_chroma_mc_func chroma_put, qpel_mc_func *qpix_avg, h264_chroma_mc_func chroma_avg, int list0, int list1, int pixel_shift, int chroma_idc) argument
365 mc_part_weighted(H264Context *h, int n, int square, int height, int delta, uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr, int x_offset, int y_offset, qpel_mc_func *qpix_put, h264_chroma_mc_func chroma_put, h264_weight_func luma_weight_op, h264_weight_func chroma_weight_op, h264_biweight_func luma_weight_avg, h264_biweight_func chroma_weight_avg, int list0, int list1, int pixel_shift, int chroma_idc) argument
478 prefetch_motion(H264Context *h, int list, int pixel_shift, int chroma_idc) argument
502 xchg_mb_border(H264Context *h, uint8_t *src_y, uint8_t *src_cb, uint8_t *src_cr, int linesize, int uvlinesize, int xchg, int chroma444, int simple, int pixel_shift) argument
606 hl_decode_mb_predict_luma(H264Context *h, int mb_type, int is_h264, int simple, int transform_bypass, int pixel_shift, int *block_offset, int linesize, uint8_t *dest_y, int p) argument
727 hl_decode_mb_idct_luma(H264Context *h, int mb_type, int is_h264, int simple, int transform_bypass, int pixel_shift, int *block_offset, int linesize, uint8_t *dest_y, int p) argument
[all...]
H A Dh264_loopfilter.c242 int pixel_shift)
273 filter_mb_edgev( &img_y[4*0<<pixel_shift], linesize, bS4, qp0, a, b, h, 1);
275 filter_mb_edgev( &img_y[4*2<<pixel_shift], linesize, bS3, qp, a, b, h, 0);
281 filter_mb_edgev( &img_y[4*1<<pixel_shift], linesize, bS3, qp, a, b, h, 0);
282 filter_mb_edgev( &img_y[4*2<<pixel_shift], linesize, bS3, qp, a, b, h, 0);
283 filter_mb_edgev( &img_y[4*3<<pixel_shift], linesize, bS3, qp, a, b, h, 0);
294 filter_mb_edgev( &img_cb[4*0<<pixel_shift], linesize, bS4, qpc0, a, b, h, 1);
295 filter_mb_edgev( &img_cr[4*0<<pixel_shift], linesize, bS4, qpc0, a, b, h, 1);
298 filter_mb_edgev( &img_cb[4*2<<pixel_shift], linesize, bS3, qpc, a, b, h, 0);
299 filter_mb_edgev( &img_cr[4*2<<pixel_shift], linesiz
235 h264_filter_mb_fast_internal(H264Context *h, int mb_x, int mb_y, uint8_t *img_y, uint8_t *img_cb, uint8_t *img_cr, unsigned int linesize, unsigned int uvlinesize, int pixel_shift) argument
[all...]
H A Dh264_cavlc.c619 if (h->pixel_shift) {
633 static av_always_inline int decode_luma_residual(H264Context *h, GetBitContext *gb, const uint8_t *scan, const uint8_t *scan8x8, int pixel_shift, int mb_type, int cbp, int p){ argument
651 if( decode_residual(h, h->intra_gb_ptr, h->mb + (16*index << pixel_shift),
669 int16_t *buf = &h->mb[64*i8x8+256*p << pixel_shift];
683 if( decode_residual(h, gb, h->mb + (16*index << pixel_shift), index,
705 const int pixel_shift = h->pixel_shift; local
1121 if( (ret = decode_luma_residual(h, gb, scan, scan8x8, pixel_shift, mb_type, cbp, 0)) < 0 ){
1126 if( decode_luma_residual(h, gb, scan, scan8x8, pixel_shift, mb_type, cbp, 1) < 0 ){
1129 if( decode_luma_residual(h, gb, scan, scan8x8, pixel_shift, mb_typ
[all...]
H A Dh264_cabac.c1735 if (h->pixel_shift) {
1834 static av_always_inline void decode_cabac_luma_residual( H264Context *h, const uint8_t *scan, const uint8_t *scan8x8, int pixel_shift, int mb_type, int cbp, int p ) argument
1851 decode_cabac_residual_nondc(h, h->mb + (16*index << pixel_shift), ctx_cat[1][p], index, scan + 1, qmul, 15);
1862 decode_cabac_residual_nondc(h, h->mb + (16*index << pixel_shift), ctx_cat[3][p], index,
1869 decode_cabac_residual_nondc(h, h->mb + (16*index << pixel_shift), ctx_cat[2][p], index, scan, qmul, 16);
1889 const int pixel_shift = h->pixel_shift; local
2372 decode_cabac_luma_residual(h, scan, scan8x8, pixel_shift, mb_type, cbp, 0);
2374 decode_cabac_luma_residual(h, scan, scan8x8, pixel_shift, mb_type, cbp, 1);
2375 decode_cabac_luma_residual(h, scan, scan8x8, pixel_shift, mb_typ
[all...]
H A Dhevc_filter.c174 uint8_t *src = &s->frame->data[c_idx][ ((y << s->sps->log2_min_pu_size) >> vshift) * stride + (((x << s->sps->log2_min_pu_size) >> hshift) << s->sps->pixel_shift)];
175 uint8_t *dst = &s->sao_frame->data[c_idx][((y << s->sps->log2_min_pu_size) >> vshift) * stride + (((x << s->sps->log2_min_pu_size) >> hshift) << s->sps->pixel_shift)];
258 uint8_t *src = &s->frame->data[c_idx][y0 * stride + (x0 << s->sps->pixel_shift)];
259 uint8_t *dst = &s->sao_frame->data[c_idx][y0 * stride + (x0 << s->sps->pixel_shift)];
282 copy_CTB(dst, src, width << s->sps->pixel_shift, height, stride);
362 src = &s->frame->data[LUMA][y * s->frame->linesize[LUMA] + (x << s->sps->pixel_shift)];
394 src = &s->frame->data[chroma][(y >> s->sps->vshift[chroma]) * s->frame->linesize[chroma] + ((x >> s->sps->hshift[chroma]) << s->sps->pixel_shift)];
430 src = &s->frame->data[LUMA][y * s->frame->linesize[LUMA] + (x << s->sps->pixel_shift)];
474 src = &s->frame->data[chroma][(y >> s->sps->vshift[1]) * s->frame->linesize[chroma] + ((x >> s->sps->hshift[1]) << s->sps->pixel_shift)];
H A Dhevc.c977 ((x0 >> hshift) << s->sps->pixel_shift)];
1006 ((x0 >> hshift) << s->sps->pixel_shift)];
1242 uint8_t *dst0 = &s->frame->data[0][y0 * stride0 + (x0 << s->sps->pixel_shift)];
1244 uint8_t *dst1 = &s->frame->data[1][(y0 >> s->sps->vshift[1]) * stride1 + ((x0 >> s->sps->hshift[1]) << s->sps->pixel_shift)];
1246 uint8_t *dst2 = &s->frame->data[2][(y0 >> s->sps->vshift[2]) * stride2 + ((x0 >> s->sps->hshift[2]) << s->sps->pixel_shift)];
1307 src += y_off * srcstride + (x_off << s->sps->pixel_shift);
1312 const int edge_emu_stride = EDGE_EMU_BUFFER_STRIDE << s->sps->pixel_shift;
1313 int offset = QPEL_EXTRA_BEFORE * srcstride + (QPEL_EXTRA_BEFORE << s->sps->pixel_shift);
1314 int buf_offset = QPEL_EXTRA_BEFORE * edge_emu_stride + (QPEL_EXTRA_BEFORE << s->sps->pixel_shift);
1373 uint8_t *src0 = ref0->data[0] + y_off0 * src0stride + (int)((unsigned)x_off0 << s->sps->pixel_shift);
2990 int pixel_shift; local
[all...]
H A Dh264_slice.c713 const int pixel_shift = h->pixel_shift; local
775 h->block_offset[i] = (4 * ((scan8[i] - scan8[0]) & 7) << pixel_shift) + 4 * h->linesize * ((scan8[i] - scan8[0]) >> 3);
776 h->block_offset[48 + i] = (4 * ((scan8[i] - scan8[0]) & 7) << pixel_shift) + 8 * h->linesize * ((scan8[i] - scan8[0]) >> 3);
780 h->block_offset[32 + i] = (4 * ((scan8[i] - scan8[0]) & 7) << pixel_shift) + 4 * h->uvlinesize * ((scan8[i] - scan8[0]) >> 3);
782 h->block_offset[48 + 32 + i] = (4 * ((scan8[i] - scan8[0]) & 7) << pixel_shift) + 8 * h->uvlinesize * ((scan8[i] - scan8[0]) >> 3);
807 const int pixel_shift = h->pixel_shift; local
820 if (pixel_shift)
824 if (pixel_shift) {
2238 const int pixel_shift = h->pixel_shift; local
[all...]
H A Dhevc_refs.c198 int pixel_shift = !!(desc->comp[0].depth_minus1 > 7); local
208 int off = ((frame->window.left_offset >> hshift) << pixel_shift) +
355 if (!s->sps->pixel_shift) {
H A Dhevc_ps.c763 sps->pixel_shift = sps->bit_depth > 8;
922 if (sps->output_window.left_offset & (0x1F >> (sps->pixel_shift)) &&
924 sps->output_window.left_offset &= ~(0x1F >> (sps->pixel_shift));
H A Dh264.h354 int pixel_shift; ///< 0 for 8-bit H264, 1 for high-bit-depth H264 member in struct:H264Context
H A Dh264_mb_template.c32 # define PIXEL_SHIFT h->pixel_shift
H A Dhevc.h411 int pixel_shift; member in struct:HEVCSPS
H A Dh264.c675 h->pixel_shift = 0;
1256 h->pixel_shift = h->sps.bit_depth_luma > 8;
1812 int off = ((srcp->crop_left >> hshift) << h->pixel_shift) +
H A Dhevc_cabac.c1081 ((x0 >> hshift) << s->sps->pixel_shift)];
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/
H A Dh264_loopfilter.c245 int pixel_shift)
277 filter_mb_edgev( &img_y[4*0<<pixel_shift], linesize, bS4, qp0, a, b, h, 1);
279 filter_mb_edgev( &img_y[4*2<<pixel_shift], linesize, bS3, qp, a, b, h, 0);
285 filter_mb_edgev( &img_y[4*1<<pixel_shift], linesize, bS3, qp, a, b, h, 0);
286 filter_mb_edgev( &img_y[4*2<<pixel_shift], linesize, bS3, qp, a, b, h, 0);
287 filter_mb_edgev( &img_y[4*3<<pixel_shift], linesize, bS3, qp, a, b, h, 0);
298 filter_mb_edgev( &img_cb[4*0<<pixel_shift], linesize, bS4, qpc0, a, b, h, 1);
299 filter_mb_edgev( &img_cr[4*0<<pixel_shift], linesize, bS4, qpc0, a, b, h, 1);
302 filter_mb_edgev( &img_cb[4*2<<pixel_shift], linesize, bS3, qpc, a, b, h, 0);
303 filter_mb_edgev( &img_cr[4*2<<pixel_shift], linesiz
238 h264_filter_mb_fast_internal(H264Context *h, int mb_x, int mb_y, uint8_t *img_y, uint8_t *img_cb, uint8_t *img_cr, unsigned int linesize, unsigned int uvlinesize, int pixel_shift) argument
[all...]
H A Dh264.c450 int pixel_shift, int chroma_idc)
456 int offset = ((mx>>2) << pixel_shift) + (my>>2)*h->mb_linesize;
475 s->dsp.emulated_edge_mc(s->edge_emu_buffer, src_y - (2 << pixel_shift) - 2*h->mb_linesize, h->mb_linesize,
477 src_y= s->edge_emu_buffer + (2 << pixel_shift) + 2*h->mb_linesize;
491 s->dsp.emulated_edge_mc(s->edge_emu_buffer, src_cb - (2 << pixel_shift) - 2*h->mb_linesize, h->mb_linesize,
493 src_cb= s->edge_emu_buffer + (2 << pixel_shift) + 2*h->mb_linesize;
502 s->dsp.emulated_edge_mc(s->edge_emu_buffer, src_cr - (2 << pixel_shift) - 2*h->mb_linesize, h->mb_linesize,
504 src_cr= s->edge_emu_buffer + (2 << pixel_shift) + 2*h->mb_linesize;
520 src_cb = pic->f.data[1] + ((mx >> 3) << pixel_shift) + (my >> ysh) * h->mb_uvlinesize;
521 src_cr = pic->f.data[2] + ((mx >> 3) << pixel_shift)
445 mc_dir_part(H264Context *h, Picture *pic, int n, int square, int height, int delta, int list, uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr, int src_x_offset, int src_y_offset, qpel_mc_func *qpix_op, h264_chroma_mc_func chroma_op, int pixel_shift, int chroma_idc) argument
543 mc_part_std(H264Context *h, int n, int square, int height, int delta, uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr, int x_offset, int y_offset, qpel_mc_func *qpix_put, h264_chroma_mc_func chroma_put, qpel_mc_func *qpix_avg, h264_chroma_mc_func chroma_avg, int list0, int list1, int pixel_shift, int chroma_idc) argument
587 mc_part_weighted(H264Context *h, int n, int square, int height, int delta, uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr, int x_offset, int y_offset, qpel_mc_func *qpix_put, h264_chroma_mc_func chroma_put, h264_weight_func luma_weight_op, h264_weight_func chroma_weight_op, h264_biweight_func luma_weight_avg, h264_biweight_func chroma_weight_avg, int list0, int list1, int pixel_shift, int chroma_idc) argument
674 mc_part(H264Context *h, int n, int square, int height, int delta, uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr, int x_offset, int y_offset, qpel_mc_func *qpix_put, h264_chroma_mc_func chroma_put, qpel_mc_func *qpix_avg, h264_chroma_mc_func chroma_avg, h264_weight_func *weight_op, h264_biweight_func *weight_avg, int list0, int list1, int pixel_shift, int chroma_idc) argument
696 prefetch_motion(H264Context *h, int list, int pixel_shift, int chroma_idc) argument
718 hl_motion(H264Context *h, uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr, qpel_mc_func (*qpix_put)[16], h264_chroma_mc_func (*chroma_put), qpel_mc_func (*qpix_avg)[16], h264_chroma_mc_func (*chroma_avg), h264_weight_func *weight_op, h264_biweight_func *weight_avg, int pixel_shift, int chroma_idc) argument
821 hl_motion_420(H264Context *h, uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr, qpel_mc_func (*qpix_put)[16], h264_chroma_mc_func (*chroma_put), qpel_mc_func (*qpix_avg)[16], h264_chroma_mc_func (*chroma_avg), h264_weight_func *weight_op, h264_biweight_func *weight_avg, int pixel_shift) argument
832 hl_motion_422(H264Context *h, uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr, qpel_mc_func (*qpix_put)[16], h264_chroma_mc_func (*chroma_put), qpel_mc_func (*qpix_avg)[16], h264_chroma_mc_func (*chroma_avg), h264_weight_func *weight_op, h264_biweight_func *weight_avg, int pixel_shift) argument
1282 const int pixel_shift = h->pixel_shift; local
1554 const int pixel_shift = h->pixel_shift; local
1643 xchg_mb_border(H264Context *h, uint8_t *src_y, uint8_t *src_cb, uint8_t *src_cr, int linesize, int uvlinesize, int xchg, int chroma444, int simple, int pixel_shift) argument
1742 hl_decode_mb_predict_luma(H264Context *h, int mb_type, int is_h264, int simple, int transform_bypass, int pixel_shift, int *block_offset, int linesize, uint8_t *dest_y, int p) argument
1845 hl_decode_mb_idct_luma(H264Context *h, int mb_type, int is_h264, int simple, int transform_bypass, int pixel_shift, int *block_offset, int linesize, uint8_t *dest_y, int p) argument
1895 hl_decode_mb_internal(H264Context *h, int simple, int pixel_shift) argument
2105 hl_decode_mb_444_internal(H264Context *h, int simple, int pixel_shift) argument
3564 const int pixel_shift = h->pixel_shift; local
[all...]
H A Dh264_cavlc.c613 if (h->pixel_shift) {
627 static av_always_inline int decode_luma_residual(H264Context *h, GetBitContext *gb, const uint8_t *scan, const uint8_t *scan8x8, int pixel_shift, int mb_type, int cbp, int p){ argument
646 if( decode_residual(h, h->intra_gb_ptr, h->mb + (16*index << pixel_shift),
664 DCTELEM *buf = &h->mb[64*i8x8+256*p << pixel_shift];
678 if( decode_residual(h, gb, h->mb + (16*index << pixel_shift), index,
701 const int pixel_shift = h->pixel_shift; local
1114 if( (ret = decode_luma_residual(h, gb, scan, scan8x8, pixel_shift, mb_type, cbp, 0)) < 0 ){
1119 if( decode_luma_residual(h, gb, scan, scan8x8, pixel_shift, mb_type, cbp, 1) < 0 ){
1122 if( decode_luma_residual(h, gb, scan, scan8x8, pixel_shift, mb_typ
[all...]
H A Dh264_cabac.c1741 if (h->pixel_shift) {
1816 static av_always_inline void decode_cabac_luma_residual( H264Context *h, const uint8_t *scan, const uint8_t *scan8x8, int pixel_shift, int mb_type, int cbp, int p ) argument
1836 decode_cabac_residual_nondc(h, h->mb + (16*index << pixel_shift), ctx_cat[1][p], index, scan + 1, qmul, 15);
1847 decode_cabac_residual_nondc(h, h->mb + (16*index << pixel_shift), ctx_cat[3][p], index,
1855 decode_cabac_residual_nondc(h, h->mb + (16*index << pixel_shift), ctx_cat[2][p], index, scan, qmul, 16);
1876 const int pixel_shift = h->pixel_shift; local
2353 decode_cabac_luma_residual(h, scan, scan8x8, pixel_shift, mb_type, cbp, 0);
2355 decode_cabac_luma_residual(h, scan, scan8x8, pixel_shift, mb_type, cbp, 1);
2356 decode_cabac_luma_residual(h, scan, scan8x8, pixel_shift, mb_typ
[all...]
H A Dh264.h262 int pixel_shift; ///< 0 for 8-bit H264, 1 for high-bit-depth H264 member in struct:H264Context
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/video/
H A Dtgafb.c1158 int pixel_shift, need_prime, need_second; local
1182 pixel_shift = dalign - salign;
1184 pixel_shift = 8 - (salign - dalign);
1244 __raw_writel(pixel_shift, tga_regs+TGA_PIXELSHIFT_REG);

Completed in 140 milliseconds