29#ifndef AVCODEC_SPEEDHQENC_H
30#define AVCODEC_SPEEDHQENC_H
38 return mb_height / 4 + (slice_num < (mb_height % 4));
48 *first_in_slice = (mb_y_order == 0);
49 return mb_y_order * 4 + slice_num;
static int ff_speedhq_mb_rows_in_slice(int slice_num, int mb_height)
void ff_speedhq_end_slice(MPVEncContext *s)
static int ff_speedhq_mb_y_order_to_mb(int mb_y_order, int mb_height, int *first_in_slice)