Lines Matching refs:plane_index
235 int plane_index, int w, int h);
290 static av_always_inline void add_yblock(SnowContext *s, int sliced, slice_buffer *sb, IDWTELEM *dst, uint8_t *dst8, const uint8_t *obmc, int src_x, int src_y, int b_w, int b_h, int w, int h, int dst_stride, int src_stride, int obmc_stride, int b_x, int b_y, int add, int offset_dst, int plane_index){
352 ff_snow_pred_block(s, block[0], tmp, src_stride, src_x, src_y, b_w, b_h, lt, plane_index, w, h);
359 ff_snow_pred_block(s, block[1], tmp, src_stride, src_x, src_y, b_w, b_h, rt, plane_index, w, h);
369 ff_snow_pred_block(s, block[2], tmp, src_stride, src_x, src_y, b_w, b_h, lb, plane_index, w, h);
380 ff_snow_pred_block(s, block[3], tmp, src_stride, src_x, src_y, b_w, b_h, rb, plane_index, w, h);
414 static av_always_inline void predict_slice(SnowContext *s, IDWTELEM *buf, int plane_index, int add, int mb_y){
415 Plane *p= &s->plane[plane_index];
420 int block_w = plane_index ? block_size>>s->chroma_h_shift : block_size;
421 int block_h = plane_index ? block_size>>s->chroma_v_shift : block_size;
422 const uint8_t *obmc = plane_index ? ff_obmc_tab[s->block_max_depth+s->chroma_h_shift] : ff_obmc_tab[s->block_max_depth];
423 const int obmc_stride= plane_index ? (2*block_size)>>s->chroma_h_shift : 2*block_size;
424 int ref_stride= s->current_picture->linesize[plane_index];
425 uint8_t *dst8= s->current_picture->data[plane_index];
461 add, 1, plane_index);
465 static av_always_inline void predict_plane(SnowContext *s, IDWTELEM *buf, int plane_index, int add){
469 predict_slice(s, buf, plane_index, add, mb_y);