Lines Matching defs:ref

82 static inline void init_ref(MotionEstContext *c, uint8_t *src[3], uint8_t *ref[3], uint8_t *ref2[3], int x, int y, int ref_index){
91 c->ref[0][i]= ref [i] + offset[i];
95 c->ref[ref_index][i]= ref2[i] + offset[i];
113 uint8_t * const * const ref= c->ref[ref_index];
134 c->qpel_put[1][fxy](dst, ref[0] + (fx>>2) + (fy>>2)*stride, stride);
135 c->qpel_avg[1][bxy](dst, ref[8] + (bx>>2) + (by>>2)*stride, stride);
137 c->hpel_put[1][fxy](dst, ref[0] + (fx>>1) + (fy>>1)*stride, stride, 8);
138 c->hpel_avg[1][bxy](dst, ref[8] + (bx>>1) + (by>>1)*stride, stride, 8);
150 c->qpel_put[1][fxy](c->temp , ref[0] + (fx>>2) + (fy>>2)*stride , stride);
151 c->qpel_put[1][fxy](c->temp + 8 , ref[0] + (fx>>2) + (fy>>2)*stride + 8 , stride);
152 c->qpel_put[1][fxy](c->temp + 8*stride, ref[0] + (fx>>2) + (fy>>2)*stride + 8*stride, stride);
153 c->qpel_put[1][fxy](c->temp + 8 + 8*stride, ref[0] + (fx>>2) + (fy>>2)*stride + 8 + 8*stride, stride);
154 c->qpel_avg[1][bxy](c->temp , ref[8] + (bx>>2) + (by>>2)*stride , stride);
155 c->qpel_avg[1][bxy](c->temp + 8 , ref[8] + (bx>>2) + (by>>2)*stride + 8 , stride);
156 c->qpel_avg[1][bxy](c->temp + 8*stride, ref[8] + (bx>>2) + (by>>2)*stride + 8*stride, stride);
157 c->qpel_avg[1][bxy](c->temp + 8 + 8*stride, ref[8] + (bx>>2) + (by>>2)*stride + 8 + 8*stride, stride);
168 c->hpel_put[0][fxy](c->temp, ref[0] + (fx>>1) + (fy>>1)*stride, stride, 16);
169 c->hpel_avg[0][bxy](c->temp, ref[8] + (bx>>1) + (by>>1)*stride, stride, 16);
187 uint8_t * const * const ref= c->ref[ref_index];
195 c->qpel_put[size][dxy](c->temp, ref[0] + x + y*stride, stride); //FIXME prototype (add h)
197 c->qpel_put[1][dxy](c->temp , ref[0] + x + y*stride , stride);
198 c->qpel_put[1][dxy](c->temp + 8, ref[0] + x + y*stride + 8, stride);
210 c->hpel_put[size][dxy](c->temp, ref[0] + x + y*stride, stride, h);
216 d = cmp_func(s, src[0], ref[0] + x + y*stride, stride, h);
222 c->hpel_put[size+1][uvdxy](uvtemp , ref[1] + (x>>1) + (y>>1)*uvstride, uvstride, h>>1);
223 c->hpel_put[size+1][uvdxy](uvtemp+8, ref[2] + (x>>1) + (y>>1)*uvstride, uvstride, h>>1);
418 ptr = c->ref[ref_index][0] + (my * stride) + mx;
565 c->ref[1][0] = c->ref[0][0] + 8;
566 c->ref[2][0] = c->ref[0][0] + 8*stride;
567 c->ref[3][0] = c->ref[2][0] + 8;
647 uint8_t *ref= c->ref[block][0] + (mx4>>2) + (my4>>2)*stride;
651 s->qdsp.put_no_rnd_qpel_pixels_tab[1][dxy](dest_y, ref, stride);
653 s->qdsp.put_qpel_pixels_tab[1][dxy](dest_y, ref, stride);
655 uint8_t *ref= c->ref[block][0] + (mx4>>1) + (my4>>1)*stride;
659 s->hdsp.put_no_rnd_pixels_tab[1][dxy](dest_y , ref , stride, h);
661 s->hdsp.put_pixels_tab [1][dxy](dest_y , ref , stride, h);
730 c->ref[1+ref_index][0] = c->ref[0+ref_index][0] + s->linesize;
733 c->ref[1+ref_index][1] = c->ref[0+ref_index][1] + s->uvlinesize;
734 c->ref[1+ref_index][2] = c->ref[0+ref_index][2] + s->uvlinesize;
811 uint8_t *ref= c->ref[field_select+ref_index][0] + (mx_i>>1) + (my_i>>1)*stride;
815 s->hdsp.put_no_rnd_pixels_tab[size][dxy](c->scratchpad, ref , stride, h);
817 s->hdsp.put_pixels_tab [size][dxy](c->scratchpad, ref , stride, h);
964 ppix = c->ref[0][0] + (my * s->linesize) + mx;
1198 uint8_t **ref_data= c->ref[0];
1199 uint8_t **ref2_data= c->ref[2];