Lines Matching defs:qpel
108 me_cmp_func cmp_func, me_cmp_func chroma_cmp_func, int qpel){
111 const int hx = subx + x * (1 << (1 + qpel));
112 const int hy = suby + y * (1 << (1 + qpel));
117 av_assert2(x >= c->xmin && hx <= c->xmax<<(qpel+1) && y >= c->ymin && hy <= c->ymax<<(qpel+1));
118 if(x >= c->xmin && hx <= c->xmax<<(qpel+1) && y >= c->ymin && hy <= c->ymax<<(qpel+1)){
121 const int mask= 2*qpel+1;
127 int bx = hx ? fx - c->co_located_mv[i][0] : c->co_located_mv[i][0]*(time_pb - time_pp)/time_pp + ((i &1)<<(qpel+4));
128 int by = hy ? fy - c->co_located_mv[i][1] : c->co_located_mv[i][1]*(time_pb - time_pp)/time_pp + ((i>>1)<<(qpel+4));
129 int fxy= (fx&mask) + ((fy&mask)<<(qpel+1));
130 int bxy= (bx&mask) + ((by&mask)<<(qpel+1));
133 if(qpel){
146 int fxy= (fx&mask) + ((fy&mask)<<(qpel+1));
147 int bxy= (bx&mask) + ((by&mask)<<(qpel+1));
149 if(qpel){
180 me_cmp_func cmp_func, me_cmp_func chroma_cmp_func, int qpel, int chroma){
184 const int dxy= subx + (suby<<(1+qpel)); //FIXME log2_subpel?
185 const int hx= subx + x*(1<<(1+qpel));
186 const int hy= suby + y*(1<<(1+qpel));
193 if(qpel){
207 // FIXME x/y wrong, but MPEG-4 qpel is sick anyway, we should drop as much of it as possible in favor for H.264
1258 const int qpel= flags&FLAG_QPEL;
1259 const int shift= 1+qpel;