From b62297805b5fd7c67ada8d913b3b10ee86dcb569 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 9 May 2015 23:43:43 +0200 Subject: avcodec/snowenc: add intra_penalty AVOption This allows favoring intra or inter blocks by a user specified amount. Signed-off-by: Michael Niedermayer --- libavcodec/snow.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libavcodec/snow.h') diff --git a/libavcodec/snow.h b/libavcodec/snow.h index f5cbae37f2..95e07cd0ae 100644 --- a/libavcodec/snow.h +++ b/libavcodec/snow.h @@ -175,6 +175,7 @@ typedef struct SnowContext{ slice_buffer sb; int memc_only; int no_bitstream; + int intra_penalty; MpegEncContext m; // needed for motion estimation, should not be used for anything else, the idea is to eventually make the motion estimation independent of MpegEncContext, so this will be removed then (FIXME/XXX) -- cgit v1.2.3