Lines Matching refs:plane_index
38 static av_always_inline void predict_slice_buffered(SnowContext *s, slice_buffer * sb, IDWTELEM * old_buffer, int plane_index, int add, int mb_y){
39 Plane *p= &s->plane[plane_index];
44 int block_w = plane_index ? block_size/2 : block_size;
45 const uint8_t *obmc = plane_index ? obmc_tab[s->block_max_depth+1] : obmc_tab[s->block_max_depth];
46 int obmc_stride= plane_index ? block_size : 2*block_size;
47 int ref_stride= s->current_picture.linesize[plane_index];
48 uint8_t *dst8= s->current_picture.data[plane_index];
90 add, 0, plane_index);
245 int plane_index, level, orientation;
247 for(plane_index=0; plane_index<3; plane_index++){
251 if (plane_index==2) q= s->plane[1].band[level][orientation].qlog;
252 else if(orientation==2) q= s->plane[plane_index].band[level][1].qlog;
254 s->plane[plane_index].band[level][orientation].qlog= q;
269 int plane_index, tmp;
302 for(plane_index=0; plane_index<2; plane_index++){
304 Plane *p= &s->plane[plane_index];
391 int level, orientation, plane_index;
406 for(plane_index=0; plane_index<3; plane_index++){
407 Plane *p= &s->plane[plane_index];
424 for(plane_index=0; plane_index<3; plane_index++){
425 Plane *p= &s->plane[plane_index];
433 predict_plane(s, s->spatial_idwt_buffer, plane_index, 1);
437 int v= s->current_picture.data[plane_index][y*s->current_picture.linesize[plane_index] + x];
438 s->mconly_picture.data[plane_index][y*s->mconly_picture.linesize[plane_index] + x]= v;
455 const int block_w = plane_index ? block_size/2 : block_size;
517 predict_slice_buffered(s, &s->sb, s->spatial_idwt_buffer, plane_index, 1, mb_y);