Lines Matching refs:plane_index
36 static av_always_inline void predict_slice_buffered(SnowContext *s, slice_buffer * sb, IDWTELEM * old_buffer, int plane_index, int add, int mb_y){
37 Plane *p= &s->plane[plane_index];
42 int block_w = plane_index ? block_size>>s->chroma_h_shift : block_size;
43 int block_h = plane_index ? block_size>>s->chroma_v_shift : block_size;
44 const uint8_t *obmc = plane_index ? ff_obmc_tab[s->block_max_depth+s->chroma_h_shift] : ff_obmc_tab[s->block_max_depth];
45 int obmc_stride= plane_index ? (2*block_size)>>s->chroma_h_shift : 2*block_size;
46 int ref_stride= s->current_picture->linesize[plane_index];
47 uint8_t *dst8= s->current_picture->data[plane_index];
89 add, 0, plane_index);
246 int plane_index, level, orientation;
248 for(plane_index=0; plane_index < s->nb_planes; plane_index++){
252 if (plane_index==2) q= s->plane[1].band[level][orientation].qlog;
253 else if(orientation==2) q= s->plane[plane_index].band[level][1].qlog;
255 s->plane[plane_index].band[level][orientation].qlog= q;
270 int plane_index, tmp;
329 for(plane_index=0; plane_index<FFMIN(s->nb_planes, 2); plane_index++){
331 Plane *p= &s->plane[plane_index];
414 int level, orientation, plane_index;
435 for(plane_index=0; plane_index < s->nb_planes; plane_index++){
436 Plane *p= &s->plane[plane_index];
459 for(plane_index=0; plane_index < s->nb_planes; plane_index++){
460 Plane *p= &s->plane[plane_index];
468 predict_plane(s, s->spatial_idwt_buffer, plane_index, 1);
472 int v= s->current_picture->data[plane_index][y*s->current_picture->linesize[plane_index] + x];
473 s->mconly_picture->data[plane_index][y*s->mconly_picture->linesize[plane_index] + x]= v;
490 const int block_h = plane_index ? block_size>>s->chroma_v_shift : block_size;
553 predict_slice_buffered(s, &s->sb, s->spatial_idwt_buffer, plane_index, 1, mb_y);