• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavcodec/

Lines Matching defs:my

749  * @param my the y component of the predicted motion vector
751 static inline void pred_motion(H264Context * const h, int n, int part_width, int list, int ref, int * const mx, int * const my){
775 *my= mid_pred(A[1], B[1], C[1]);
779 *my= A[1];
782 *my= B[1];
785 *my= C[1];
790 *my= A[1];
793 *my= mid_pred(A[1], B[1], C[1]);
797 tprintf(h->s.avctx, "pred_motion (%2d %2d %2d) (%2d %2d %2d) (%2d %2d %2d) -> (%2d %2d %2d) at %2d %2d %d list %d\n", top_ref, B[0], B[1], diagonal_ref, C[0], C[1], left_ref, A[0], A[1], ref, *mx, *my, h->s.mb_x, h->s.mb_y, n, list);
804 * @param my the y component of the predicted motion vector
806 static inline void pred_16x8_motion(H264Context * const h, int n, int list, int ref, int * const mx, int * const my){
815 *my= B[1];
826 *my= A[1];
832 pred_motion(h, n, 4, list, ref, mx, my);
839 * @param my the y component of the predicted motion vector
841 static inline void pred_8x16_motion(H264Context * const h, int n, int list, int ref, int * const mx, int * const my){
850 *my= A[1];
863 *my= C[1];
869 pred_motion(h, n, 2, list, ref, mx, my);
872 static inline void pred_pskip_motion(H264Context * const h, int * const mx, int * const my){
882 *mx = *my = 0;
886 pred_motion(h, 0, 4, 0, 0, mx, my);
1237 int my = (scale * my_col + 128) >> 8;
1238 fill_rectangle(&h->mv_cache[0][scan8[i8*4]], 2, 2, 8, pack16to32(mx,my), 4);
1239 fill_rectangle(&h->mv_cache[1][scan8[i8*4]], 2, 2, 8, pack16to32(mx-mv_col[0],my-my_col), 4);
1299 int my = (scale * mv_col[1] + 128) >> 8;
1300 fill_rectangle(&h->mv_cache[0][scan8[i8*4]], 2, 2, 8, pack16to32(mx,my), 4);
1301 fill_rectangle(&h->mv_cache[1][scan8[i8*4]], 2, 2, 8, pack16to32(mx-mv_col[0],my-mv_col[1]), 4);
1606 int my= h->mv_cache[list][ scan8[n] ][1] + src_y_offset*8;
1607 const int luma_xy= (mx&3) + ((my&3)<<2);
1608 uint8_t * src_y = pic->data[0] + (mx>>2) + (my>>2)*h->mb_linesize;
1614 const int full_my= my>>2;
1619 if(my&7) extra_height -= 3;
1639 my += 2 * ((s->mb_y & 1) - (pic->reference - 1));
1640 emu |= (my>>3) < 0 || (my>>3) + 8 >= (pic_height>>1);
1642 src_cb= pic->data[1] + (mx>>3) + (my>>3)*h->mb_uvlinesize;
1643 src_cr= pic->data[2] + (mx>>3) + (my>>3)*h->mb_uvlinesize;
1646 ff_emulated_edge_mc(s->edge_emu_buffer, src_cb, h->mb_uvlinesize, 9, 9/*FIXME*/, (mx>>3), (my>>3), pic_width>>1, pic_height>>1);
1649 chroma_op(dest_cb, src_cb, h->mb_uvlinesize, chroma_height, mx&7, my&7);
1652 ff_emulated_edge_mc(s->edge_emu_buffer, src_cr, h->mb_uvlinesize, 9, 9/*FIXME*/, (mx>>3), (my>>3), pic_width>>1, pic_height>>1);
1655 chroma_op(dest_cr, src_cr, h->mb_uvlinesize, chroma_height, mx&7, my&7);
1784 const int my= (h->mv_cache[list][scan8[0]][1]>>2) + 16*s->mb_y;
1786 int off= mx + (my + (s->mb_x&3)*4)*h->mb_linesize + 64;
1788 off= (mx>>1) + ((my>>1) + (s->mb_x&7))*s->uvlinesize + 64;
4337 int mx, my;
4341 pred_pskip_motion(h, &mx, &my);
4343 fill_rectangle( h->mv_cache[0][scan8[0]], 4, 4, 8, pack16to32(mx,my), 4);
4570 int mx, my;
4573 pred_motion(h, index, block_width, list, h->ref_cache[list][ scan8[index] ], &mx, &my);
4575 my += get_se_golomb(&s->gb);
4576 tprintf(s->avctx, "final mv:%d %d\n", mx, my);
4582 mv_cache[ 8 ][1]= mv_cache[ 9 ][1]= my;
4585 mv_cache[ 1 ][1]= my;
4588 mv_cache[ 8 ][1]= my;
4591 mv_cache[ 0 ][1]= my;
4604 int list, mx, my, i;
4628 pred_motion(h, 0, 4, list, h->ref_cache[list][ scan8[0] ], &mx, &my);
4630 my += get_se_golomb(&s->gb);
4631 tprintf(s->avctx, "final mv:%d %d\n", mx, my);
4633 val= pack16to32(mx,my);
4664 pred_16x8_motion(h, 8*i, list, h->ref_cache[list][scan8[0] + 16*i], &mx, &my);
4666 my += get_se_golomb(&s->gb);
4667 tprintf(s->avctx, "final mv:%d %d\n", mx, my);
4669 val= pack16to32(mx,my);
4701 pred_8x16_motion(h, i*4, list, h->ref_cache[list][ scan8[0] + 2*i ], &mx, &my);
4703 my += get_se_golomb(&s->gb);
4704 tprintf(s->avctx, "final mv:%d %d\n", mx, my);
4706 val= pack16to32(mx,my);
5662 int mx, my;
5669 my = mpy + decode_cabac_mb_mvd( h, list, index, 1 );
5670 tprintf(s->avctx, "final mv:%d %d\n", mx, my);
5676 mv_cache[ 8 ][1]= mv_cache[ 9 ][1]= my;
5681 mvd_cache[ 8 ][1]= mvd_cache[ 9 ][1]= my - mpy;
5684 mv_cache[ 1 ][1]= my;
5687 mvd_cache[ 1 ][1]= my - mpy;
5690 mv_cache[ 8 ][1]= my;
5693 mvd_cache[ 8 ][1]= my - mpy;
5696 mv_cache[ 0 ][1]= my;
5699 mvd_cache[ 0 ][1]= my - mpy;
5715 int list, mx, my, i, mpx, mpy;
5737 my = mpy + decode_cabac_mb_mvd( h, list, 0, 1 );
5738 tprintf(s->avctx, "final mv:%d %d\n", mx, my);
5740 fill_rectangle(h->mvd_cache[list][ scan8[0] ], 4, 4, 8, pack16to32(mx-mpx,my-mpy), 4);
5741 fill_rectangle(h->mv_cache[list][ scan8[0] ], 4, 4, 8, pack16to32(mx,my), 4);
5769 my = mpy + decode_cabac_mb_mvd( h, list, 8*i, 1 );
5770 tprintf(s->avctx, "final mv:%d %d\n", mx, my);
5772 fill_rectangle(h->mvd_cache[list][ scan8[0] + 16*i ], 4, 2, 8, pack16to32(mx-mpx,my-mpy), 4);
5773 fill_rectangle(h->mv_cache[list][ scan8[0] + 16*i ], 4, 2, 8, pack16to32(mx,my), 4);
5804 my = mpy + decode_cabac_mb_mvd( h, list, 4*i, 1 );
5806 tprintf(s->avctx, "final mv:%d %d\n", mx, my);
5807 fill_rectangle(h->mvd_cache[list][ scan8[0] + 2*i ], 2, 4, 8, pack16to32(mx-mpx,my-mpy), 4);
5808 fill_rectangle(h->mv_cache[list][ scan8[0] + 2*i ], 2, 4, 8, pack16to32(mx,my), 4);