diff options
author | James Darnley <james.darnley@gmail.com> | 2015-12-30 20:20:59 +0300 |
---|---|---|
committer | James Darnley <james.darnley@gmail.com> | 2016-01-17 18:03:43 +0300 |
commit | 3836f404a8c0ffd7c565260434768ef4ebba85a7 (patch) | |
tree | ab80a28b382bb5dec0629671a85cb07804836f31 /libavcodec/v210enc.h | |
parent | 61625dcc395f98ad77e9378ec4eb48cf7c981bce (diff) |
avcodec/v210: add avx2 version of the 8-bit line encoder
Around 35% faster than the avx version.
Signed-off-by: Henrik Gramner <henrik@gramner.com>
Diffstat (limited to 'libavcodec/v210enc.h')
-rw-r--r-- | libavcodec/v210enc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/v210enc.h b/libavcodec/v210enc.h index a2054270d3..85f84f17b7 100644 --- a/libavcodec/v210enc.h +++ b/libavcodec/v210enc.h @@ -28,6 +28,7 @@ typedef struct V210EncContext { const uint8_t *v, uint8_t *dst, ptrdiff_t width); void (*pack_line_10)(const uint16_t *y, const uint16_t *u, const uint16_t *v, uint8_t *dst, ptrdiff_t width); + int sample_factor; } V210EncContext; void ff_v210enc_init(V210EncContext *s); |