Go to the documentation of this file.
29 #ifndef AVCODEC_SPEEDHQENC_H
30 #define AVCODEC_SPEEDHQENC_H
45 return mb_height / 4 + (slice_num < (mb_height % 4));
55 *first_in_slice = (mb_y_order == 0);
56 return mb_y_order * 4 + slice_num;
void ff_speedhq_encode_close(MpegEncContext *s)
void ff_speedhq_end_slice(MpegEncContext *s)
int ff_speedhq_encode_init(MpegEncContext *s)
static int ff_speedhq_mb_y_order_to_mb(int mb_y_order, int mb_height, int *first_in_slice)
static int ff_speedhq_mb_rows_in_slice(int slice_num, int mb_height)
void ff_speedhq_encode_picture_header(MpegEncContext *s)
void ff_speedhq_encode_mb(MpegEncContext *s, int16_t block[12][64])
The exact code depends on how similar the blocks are and how related they are to the block