41
44
static int encode_frame(AVCodecContext *avctx, AVPacket *pkt,
42
45
const AVFrame *frame, int *got_packet)
45
48
uint8_t *offsettab, *lengthtab, *in_buf, *encode_buf, *buf;
46
49
int x, y, z, length, tablesize, ret;
47
50
unsigned int width, height, depth, dimension, bytes_per_channel, pixmax, put_be;