Lines Matching refs:b_y
141 int b_x, b_y; in guess_dc() local
150 for(b_y=0; b_y<h; b_y++){ in guess_dc()
154 int mb_index_j= (b_x>>is_luma) + (b_y>>is_luma)*s->mb_stride; in guess_dc()
158 color= dc[b_x + b_y*stride]; in guess_dc()
161 col [b_x + b_y*stride][1]= color; in guess_dc()
162 dist[b_x + b_y*stride][1]= distance >= 0 ? b_x-distance : 9999; in guess_dc()
167 int mb_index_j= (b_x>>is_luma) + (b_y>>is_luma)*s->mb_stride; in guess_dc()
171 color= dc[b_x + b_y*stride]; in guess_dc()
174 col [b_x + b_y*stride][0]= color; in guess_dc()
175 dist[b_x + b_y*stride][0]= distance >= 0 ? distance-b_x : 9999; in guess_dc()
181 for(b_y=0; b_y<h; b_y++){ in guess_dc()
182 int mb_index_j= (b_x>>is_luma) + (b_y>>is_luma)*s->mb_stride; in guess_dc()
186 color= dc[b_x + b_y*stride]; in guess_dc()
187 distance= b_y; in guess_dc()
189 col [b_x + b_y*stride][3]= color; in guess_dc()
190 dist[b_x + b_y*stride][3]= distance >= 0 ? b_y-distance : 9999; in guess_dc()
194 for(b_y=h-1; b_y>=0; b_y--){ in guess_dc()
195 int mb_index_j= (b_x>>is_luma) + (b_y>>is_luma)*s->mb_stride; in guess_dc()
199 color= dc[b_x + b_y*stride]; in guess_dc()
200 distance= b_y; in guess_dc()
202 col [b_x + b_y*stride][2]= color; in guess_dc()
203 dist[b_x + b_y*stride][2]= distance >= 0 ? distance-b_y : 9999; in guess_dc()
207 for (b_y = 0; b_y < h; b_y++) { in guess_dc()
211 mb_index = (b_x >> is_luma) + (b_y >> is_luma) * s->mb_stride; in guess_dc()
222 int64_t weight = 256 * 256 * 256 * 16 / FFMAX(dist[b_x + b_y*stride][j], 1); in guess_dc()
223 guess += weight*(int64_t)col[b_x + b_y*stride][j]; in guess_dc()
227 dc[b_x + b_y * stride] = guess; in guess_dc()
244 int b_x, b_y; in h_block_filter() local
251 for (b_y = 0; b_y < h; b_y++) { in h_block_filter()
254 …int left_status = s->error_status_table[( b_x >> is_luma) + (b_y >> is_luma) * s->mb_stride]; in h_block_filter()
255 …int right_status = s->error_status_table[((b_x + 1) >> is_luma) + (b_y >> is_luma) * s->mb_stride]; in h_block_filter()
256 …int left_intra = IS_INTRA(s->cur_pic.mb_type[( b_x >> is_luma) + (b_y >> is_luma) * s->mb_s… in h_block_filter()
257 …int right_intra = IS_INTRA(s->cur_pic.mb_type[((b_x + 1) >> is_luma) + (b_y >> is_luma) * s->mb_s… in h_block_filter()
260 int offset = b_x * 8 + b_y * stride * 8; in h_block_filter()
261 int16_t *left_mv = s->cur_pic.motion_val[0][mvy_stride * b_y + mvx_stride * b_x]; in h_block_filter()
262 int16_t *right_mv = s->cur_pic.motion_val[0][mvy_stride * b_y + mvx_stride * (b_x + 1)]; in h_block_filter()
313 int b_x, b_y; in v_block_filter() local
320 for (b_y = 0; b_y < h - 1; b_y++) { in v_block_filter()
323 …int top_status = s->error_status_table[(b_x >> is_luma) + (b_y >> is_luma) * s->mb_stride… in v_block_filter()
324 …int bottom_status = s->error_status_table[(b_x >> is_luma) + ((b_y + 1) >> is_luma) * s->mb_stride… in v_block_filter()
325 …int top_intra = IS_INTRA(s->cur_pic.mb_type[(b_x >> is_luma) + ( b_y >> is_luma) * s->mb_… in v_block_filter()
326 …int bottom_intra = IS_INTRA(s->cur_pic.mb_type[(b_x >> is_luma) + ((b_y + 1) >> is_luma) * s->mb_… in v_block_filter()
329 int offset = b_x * 8 + b_y * stride * 8; in v_block_filter()
331 … int16_t *top_mv = s->cur_pic.motion_val[0][mvy_stride * b_y + mvx_stride * b_x]; in v_block_filter()
332 … int16_t *bottom_mv = s->cur_pic.motion_val[0][mvy_stride * (b_y + 1) + mvx_stride * b_x]; in v_block_filter()