Lines Matching defs:pixel_shift
211 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) +
328 int pixel_shift, int chroma_idc)
333 dest_y += (2 * x_offset << pixel_shift) + 2 * y_offset * h->mb_linesize;
335 dest_cb += (2 * x_offset << pixel_shift) + 2 * y_offset * h->mb_linesize;
336 dest_cr += (2 * x_offset << pixel_shift) + 2 * y_offset * h->mb_linesize;
338 dest_cb += (x_offset << pixel_shift) + 2 * y_offset * h->mb_uvlinesize;
339 dest_cr += (x_offset << pixel_shift) + 2 * y_offset * h->mb_uvlinesize;
341 dest_cb += (x_offset << pixel_shift) + y_offset * h->mb_uvlinesize;
342 dest_cr += (x_offset << pixel_shift) + y_offset * h->mb_uvlinesize;
351 qpix_op, chroma_op, pixel_shift, chroma_idc);
361 qpix_op, chroma_op, pixel_shift, chroma_idc);
377 int pixel_shift, int chroma_idc)
381 dest_y += (2 * x_offset << pixel_shift) + 2 * y_offset * h->mb_linesize;
386 dest_cb += (2 * x_offset << pixel_shift) + 2 * y_offset * h->mb_linesize;
387 dest_cr += (2 * x_offset << pixel_shift) + 2 * y_offset * h->mb_linesize;
390 dest_cb += (x_offset << pixel_shift) + 2 * y_offset * h->mb_uvlinesize;
391 dest_cr += (x_offset << pixel_shift) + 2 * y_offset * h->mb_uvlinesize;
394 dest_cb += (x_offset << pixel_shift) + y_offset * h->mb_uvlinesize;
395 dest_cr += (x_offset << pixel_shift) + y_offset * h->mb_uvlinesize;
404 uint8_t *tmp_cr = h->bipred_scratchpad + (16 << pixel_shift);
412 pixel_shift, chroma_idc);
416 pixel_shift, chroma_idc);
457 qpix_put, chroma_put, pixel_shift, chroma_idc);
479 int pixel_shift, int chroma_idc)
488 int off = (mx << pixel_shift) +
490 (64 << pixel_shift);
496 off= (((mx>>1)+64)<<pixel_shift) + ((my>>1) + (h->mb_x&7))*h->uvlinesize;
506 int simple, int pixel_shift)
531 src_y -= linesize + 1 + pixel_shift;
532 src_cb -= uvlinesize + 1 + pixel_shift;
533 src_cr -= uvlinesize + 1 + pixel_shift;
539 if (pixel_shift) { \
553 XCHG(top_border_m1 + (8 << pixel_shift),
554 src_y - (7 << pixel_shift), 1);
556 XCHG(top_border + (0 << pixel_shift), src_y + (1 << pixel_shift), xchg);
557 XCHG(top_border + (8 << pixel_shift), src_y + (9 << pixel_shift), 1);
560 src_y + (17 << pixel_shift), 1);
565 XCHG(top_border_m1 + (24 << pixel_shift), src_cb - (7 << pixel_shift), 1);
566 XCHG(top_border_m1 + (40 << pixel_shift), src_cr - (7 << pixel_shift), 1);
568 XCHG(top_border + (16 << pixel_shift), src_cb + (1 << pixel_shift), xchg);
569 XCHG(top_border + (24 << pixel_shift), src_cb + (9 << pixel_shift), 1);
570 XCHG(top_border + (32 << pixel_shift), src_cr + (1 << pixel_shift), xchg);
571 XCHG(top_border + (40 << pixel_shift), src_cr + (9 << pixel_shift), 1);
573 XCHG(h->top_borders[top_idx][h->mb_x + 1] + (16 << pixel_shift), src_cb + (17 << pixel_shift), 1);
574 XCHG(h->top_borders[top_idx][h->mb_x + 1] + (32 << pixel_shift), src_cr + (17 << pixel_shift), 1);
578 XCHG(top_border_m1 + (16 << pixel_shift), src_cb - (7 << pixel_shift), 1);
579 XCHG(top_border_m1 + (24 << pixel_shift), src_cr - (7 << pixel_shift), 1);
581 XCHG(top_border + (16 << pixel_shift), src_cb + 1 + pixel_shift, 1);
582 XCHG(top_border + (24 << pixel_shift), src_cr + 1 + pixel_shift, 1);
610 int pixel_shift,
634 h->hpc.pred8x8l_add[dir](ptr, h->mb + (i * 16 + p * 256 << pixel_shift), linesize);
636 h->hpc.pred8x8l_filter_add[dir](ptr, h->mb + (i * 16 + p * 256 << pixel_shift),
644 if (nnz == 1 && dctcoef_get(h->mb, pixel_shift, i * 16 + p * 256))
645 idct_dc_add(ptr, h->mb + (i * 16 + p * 256 << pixel_shift), linesize);
647 idct_add(ptr, h->mb + (i * 16 + p * 256 << pixel_shift), linesize);
664 h->hpc.pred4x4_add[dir](ptr, h->mb + (i * 16 + p * 256 << pixel_shift), linesize);
673 if (pixel_shift) {
681 topright = ptr + (4 << pixel_shift) - linesize;
689 if (nnz == 1 && dctcoef_get(h->mb, pixel_shift, i * 16 + p * 256))
690 idct_dc_add(ptr, h->mb + (i * 16 + p * 256 << pixel_shift), linesize);
692 idct_add(ptr, h->mb + (i * 16 + p * 256 << pixel_shift), linesize);
704 h->h264dsp.h264_luma_dc_dequant_idct(h->mb + (p * 256 << pixel_shift),
715 dctcoef_set(h->mb + (p * 256 << pixel_shift),
716 pixel_shift, dc_mapping[i],
718 pixel_shift, i));
730 int pixel_shift,
746 h->mb + (p * 256 << pixel_shift),
751 dctcoef_get(h->mb, pixel_shift, i * 16 + p * 256))
753 h->mb + (i * 16 + p * 256 << pixel_shift),
758 h->mb + (p * 256 << pixel_shift),
770 h->mb + (i * 16 + p * 256 << pixel_shift),
775 h->mb + (p * 256 << pixel_shift),
780 h->mb + (p * 256 << pixel_shift),
817 if (is_complex || h->pixel_shift)
823 } else if (h->pixel_shift) {