• Home
  • Raw
  • Download

Lines Matching refs:pixel_shift

214                                          int pixel_shift, int chroma_idc)  in mc_dir_part()  argument
219 ptrdiff_t offset = (mx >> 2) * (1 << pixel_shift) + (my >> 2) * sl->mb_linesize; in mc_dir_part()
241 src_y - (2 << pixel_shift) - 2 * sl->mb_linesize, in mc_dir_part()
245 src_y = sl->edge_emu_buffer + (2 << pixel_shift) + 2 * sl->mb_linesize; in mc_dir_part()
260 src_cb - (2 << pixel_shift) - 2 * sl->mb_linesize, in mc_dir_part()
265 src_cb = sl->edge_emu_buffer + (2 << pixel_shift) + 2 * sl->mb_linesize; in mc_dir_part()
274 src_cr - (2 << pixel_shift) - 2 * sl->mb_linesize, in mc_dir_part()
279 src_cr = sl->edge_emu_buffer + (2 << pixel_shift) + 2 * sl->mb_linesize; in mc_dir_part()
294 src_cb = pic->data[1] + ((mx >> 3) * (1 << pixel_shift)) + in mc_dir_part()
296 src_cr = pic->data[2] + ((mx >> 3) * (1 << pixel_shift)) + in mc_dir_part()
332 int pixel_shift, int chroma_idc) in mc_part_std() argument
337 dest_y += (2 * x_offset << pixel_shift) + 2 * y_offset * sl->mb_linesize; in mc_part_std()
339 dest_cb += (2 * x_offset << pixel_shift) + 2 * y_offset * sl->mb_linesize; in mc_part_std()
340 dest_cr += (2 * x_offset << pixel_shift) + 2 * y_offset * sl->mb_linesize; in mc_part_std()
342 dest_cb += (x_offset << pixel_shift) + 2 * y_offset * sl->mb_uvlinesize; in mc_part_std()
343 dest_cr += (x_offset << pixel_shift) + 2 * y_offset * sl->mb_uvlinesize; in mc_part_std()
345 dest_cb += (x_offset << pixel_shift) + y_offset * sl->mb_uvlinesize; in mc_part_std()
346 dest_cr += (x_offset << pixel_shift) + y_offset * sl->mb_uvlinesize; in mc_part_std()
355 qpix_op, chroma_op, pixel_shift, chroma_idc); in mc_part_std()
365 qpix_op, chroma_op, pixel_shift, chroma_idc); in mc_part_std()
382 int pixel_shift, int chroma_idc) in mc_part_weighted() argument
386 dest_y += (2 * x_offset << pixel_shift) + 2 * y_offset * sl->mb_linesize; in mc_part_weighted()
391 dest_cb += (2 * x_offset << pixel_shift) + 2 * y_offset * sl->mb_linesize; in mc_part_weighted()
392 dest_cr += (2 * x_offset << pixel_shift) + 2 * y_offset * sl->mb_linesize; in mc_part_weighted()
395 dest_cb += (x_offset << pixel_shift) + 2 * y_offset * sl->mb_uvlinesize; in mc_part_weighted()
396 dest_cr += (x_offset << pixel_shift) + 2 * y_offset * sl->mb_uvlinesize; in mc_part_weighted()
399 dest_cb += (x_offset << pixel_shift) + y_offset * sl->mb_uvlinesize; in mc_part_weighted()
400 dest_cr += (x_offset << pixel_shift) + y_offset * sl->mb_uvlinesize; in mc_part_weighted()
409 uint8_t *tmp_cr = sl->bipred_scratchpad + (16 << pixel_shift); in mc_part_weighted()
417 pixel_shift, chroma_idc); in mc_part_weighted()
421 pixel_shift, chroma_idc); in mc_part_weighted()
462 qpix_put, chroma_put, pixel_shift, chroma_idc); in mc_part_weighted()
484 int list, int pixel_shift, in prefetch_motion() argument
494 int off = mx * (1<< pixel_shift) + in prefetch_motion()
496 (64 << pixel_shift); in prefetch_motion()
502 off= ((mx>>1)+64) * (1<<pixel_shift) + ((my>>1) + (sl->mb_x&7))*sl->uvlinesize; in prefetch_motion()
513 int simple, int pixel_shift) in xchg_mb_border() argument
538 src_y -= linesize + 1 + pixel_shift; in xchg_mb_border()
539 src_cb -= uvlinesize + 1 + pixel_shift; in xchg_mb_border()
540 src_cr -= uvlinesize + 1 + pixel_shift; in xchg_mb_border()
546 if (pixel_shift) { \ in xchg_mb_border()
560 XCHG(top_border_m1 + (8 << pixel_shift), in xchg_mb_border()
561 src_y - (7 << pixel_shift), 1); in xchg_mb_border()
563 XCHG(top_border + (0 << pixel_shift), src_y + (1 << pixel_shift), xchg); in xchg_mb_border()
564 XCHG(top_border + (8 << pixel_shift), src_y + (9 << pixel_shift), 1); in xchg_mb_border()
567 src_y + (17 << pixel_shift), 1); in xchg_mb_border()
572 XCHG(top_border_m1 + (24 << pixel_shift), src_cb - (7 << pixel_shift), 1); in xchg_mb_border()
573 XCHG(top_border_m1 + (40 << pixel_shift), src_cr - (7 << pixel_shift), 1); in xchg_mb_border()
575 XCHG(top_border + (16 << pixel_shift), src_cb + (1 << pixel_shift), xchg); in xchg_mb_border()
576 XCHG(top_border + (24 << pixel_shift), src_cb + (9 << pixel_shift), 1); in xchg_mb_border()
577 XCHG(top_border + (32 << pixel_shift), src_cr + (1 << pixel_shift), xchg); in xchg_mb_border()
578 XCHG(top_border + (40 << pixel_shift), src_cr + (9 << pixel_shift), 1); in xchg_mb_border()
580 …XCHG(sl->top_borders[top_idx][sl->mb_x + 1] + (16 << pixel_shift), src_cb + (17 << pixel_shift), 1… in xchg_mb_border()
581 …XCHG(sl->top_borders[top_idx][sl->mb_x + 1] + (32 << pixel_shift), src_cr + (17 << pixel_shift), 1… in xchg_mb_border()
585 XCHG(top_border_m1 + (16 << pixel_shift), src_cb - (7 << pixel_shift), 1); in xchg_mb_border()
586 XCHG(top_border_m1 + (24 << pixel_shift), src_cr - (7 << pixel_shift), 1); in xchg_mb_border()
588 XCHG(top_border + (16 << pixel_shift), src_cb + 1 + pixel_shift, 1); in xchg_mb_border()
589 XCHG(top_border + (24 << pixel_shift), src_cr + 1 + pixel_shift, 1); in xchg_mb_border()
617 int pixel_shift, in hl_decode_mb_predict_luma() argument
641 … h->hpc.pred8x8l_add[dir](ptr, sl->mb + (i * 16 + p * 256 << pixel_shift), linesize); in hl_decode_mb_predict_luma()
643 … h->hpc.pred8x8l_filter_add[dir](ptr, sl->mb + (i * 16 + p * 256 << pixel_shift), in hl_decode_mb_predict_luma()
651 if (nnz == 1 && dctcoef_get(sl->mb, pixel_shift, i * 16 + p * 256)) in hl_decode_mb_predict_luma()
652 idct_dc_add(ptr, sl->mb + (i * 16 + p * 256 << pixel_shift), linesize); in hl_decode_mb_predict_luma()
654 idct_add(ptr, sl->mb + (i * 16 + p * 256 << pixel_shift), linesize); in hl_decode_mb_predict_luma()
671 … h->hpc.pred4x4_add[dir](ptr, sl->mb + (i * 16 + p * 256 << pixel_shift), linesize); in hl_decode_mb_predict_luma()
680 if (pixel_shift) { in hl_decode_mb_predict_luma()
688 topright = ptr + (4 << pixel_shift) - linesize; in hl_decode_mb_predict_luma()
695 if (nnz == 1 && dctcoef_get(sl->mb, pixel_shift, i * 16 + p * 256)) in hl_decode_mb_predict_luma()
696 idct_dc_add(ptr, sl->mb + (i * 16 + p * 256 << pixel_shift), linesize); in hl_decode_mb_predict_luma()
698 idct_add(ptr, sl->mb + (i * 16 + p * 256 << pixel_shift), linesize); in hl_decode_mb_predict_luma()
707 h->h264dsp.h264_luma_dc_dequant_idct(sl->mb + (p * 256 << pixel_shift), in hl_decode_mb_predict_luma()
718 dctcoef_set(sl->mb + (p * 256 << pixel_shift), in hl_decode_mb_predict_luma()
719 pixel_shift, dc_mapping[i], in hl_decode_mb_predict_luma()
721 pixel_shift, i)); in hl_decode_mb_predict_luma()
730 int pixel_shift, in hl_decode_mb_idct_luma() argument
745 … sl->mb + (p * 256 << pixel_shift), in hl_decode_mb_idct_luma()
750 dctcoef_get(sl->mb, pixel_shift, i * 16 + p * 256)) in hl_decode_mb_idct_luma()
752 … sl->mb + (i * 16 + p * 256 << pixel_shift), in hl_decode_mb_idct_luma()
757 sl->mb + (p * 256 << pixel_shift), in hl_decode_mb_idct_luma()
769 sl->mb + (i * 16 + p * 256 << pixel_shift), in hl_decode_mb_idct_luma()
774 sl->mb + (p * 256 << pixel_shift), in hl_decode_mb_idct_luma()
779 sl->mb + (p * 256 << pixel_shift), in hl_decode_mb_idct_luma()
807 if (is_complex || h->pixel_shift) in ff_h264_hl_decode_mb()
813 } else if (h->pixel_shift) { in ff_h264_hl_decode_mb()