diff options
author | Christophe Gisquet <christophe.gisquet@gmail.com> | 2014-06-13 00:21:44 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-08-19 13:47:18 +0200 |
commit | 1467780772d6f6fd72e882b5b2677ae9acbc1297 (patch) | |
tree | f64da167bc912befa830360cb6a058e4ac64cd62 /libavcodec/huffyuv.h | |
parent | 6380f2e3670a8cfc29b9b02da0f2be0c537315f8 (diff) | |
download | ffmpeg-1467780772d6f6fd72e882b5b2677ae9acbc1297.tar.gz |
huffyuvenc: add a non-deterministic option
Not actually used in huffyuvenc, but rather in setting the frame
threading.
Example for some files:
context=0: 851974 27226 1137281
context=1,ND=0: 471819 22604 972351
context=1,ND=1: 472875 22673 972582
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/huffyuv.h')
-rw-r--r-- | libavcodec/huffyuv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/huffyuv.h b/libavcodec/huffyuv.h index 2b3a1b33eb..c18247ed0f 100644 --- a/libavcodec/huffyuv.h +++ b/libavcodec/huffyuv.h @@ -52,6 +52,7 @@ typedef enum Predictor { } Predictor; typedef struct HYuvContext { + AVClass *class; AVCodecContext *avctx; Predictor predictor; GetBitContext gb; @@ -88,6 +89,7 @@ typedef struct HYuvContext { HuffYUVDSPContext hdsp; HuffYUVEncDSPContext hencdsp; LLVidDSPContext llviddsp; + int non_determ; // non-deterministic, multi-threaded encoder allowed } HYuvContext; void ff_huffyuv_common_init(AVCodecContext *s); |