Lines Matching defs:start_y
114 static inline void decode_subband_slice_buffered(SnowContext *s, SubBand *b, slice_buffer * sb, int start_y, int h, int save_state[1]){
128 if (start_y != 0)
132 for(y=start_y; y<h; y++){
222 static void dequantize_slice_buffered(SnowContext *s, slice_buffer * sb, SubBand *b, IDWTELEM *src, int stride, int start_y, int end_y){
231 for(y=start_y; y<end_y; y++){
245 static void correlate_slice_buffered(SnowContext *s, slice_buffer * sb, SubBand *b, IDWTELEM *src, int stride, int inverse, int use_median, int start_y, int end_y){
252 if (start_y != 0)
253 line = slice_buffer_get_line(sb, ((start_y - 1) * b->stride_line) + b->buf_y_offset) + b->buf_x_offset;
255 for(y=start_y; y<end_y; y++){
559 int start_y;
564 start_y = (mb_y ? ((block_h * our_mb_start) >> (s->spatial_decomposition_count - level)) + s->spatial_decomposition_count - level + extra: 0);
567 start_y = FFMAX(0, start_y - (block_h >> (1+s->spatial_decomposition_count - level)));
570 start_y = FFMIN(b->height, start_y);
573 if (start_y != end_y){
577 int correlate_start_y = FFMIN(b->height, (start_y ? start_y + 1 : 0));
580 dequantize_slice_buffered(s, &s->sb, correlate_band, correlate_band->ibuf, correlate_band->stride, start_y, end_y);
583 decode_subband_slice_buffered(s, b, &s->sb, start_y, end_y, decode_state[level][orientation]);