|
|
@@ -450,7 +450,8 @@ static int frame_size_alloc(MpegEncContext *s, int linesize) |
|
|
// VC1 computes luma and chroma simultaneously and needs 19X19 + 9x9 |
|
|
// VC1 computes luma and chroma simultaneously and needs 19X19 + 9x9 |
|
|
// at uvlinesize. It supports only YUV420 so 24x24 is enough |
|
|
// at uvlinesize. It supports only YUV420 so 24x24 is enough |
|
|
// linesize * interlaced * MBsize |
|
|
// linesize * interlaced * MBsize |
|
|
FF_ALLOCZ_OR_GOTO(s->avctx, s->edge_emu_buffer, alloc_size * 4 * 24, |
|
|
|
|
|
|
|
|
// we also use this buffer for encoding in encode_mb_internal() needig an additional 32 lines |
|
|
|
|
|
FF_ALLOCZ_OR_GOTO(s->avctx, s->edge_emu_buffer, alloc_size * 4 * 68, |
|
|
fail); |
|
|
fail); |
|
|
|
|
|
|
|
|
FF_ALLOCZ_OR_GOTO(s->avctx, s->me.scratchpad, alloc_size * 4 * 16 * 2, |
|
|
FF_ALLOCZ_OR_GOTO(s->avctx, s->me.scratchpad, alloc_size * 4 * 16 * 2, |
|
|
|