summaryrefslogtreecommitdiff
path: root/libavcodec/v210enc.h
diff options
context:
space:
mode:
authorJames Darnley <james.darnley@gmail.com>2016-01-15 20:35:05 +0100
committerLuca Barbato <lu_zero@gentoo.org>2016-02-01 13:40:07 +0100
commitd29237e5578a187c5a8d91338cd70ce0fd6f6003 (patch)
treef87423a97c7e7e680c5cda7255c000c889971105 /libavcodec/v210enc.h
parent1ba1fede9dfe03dc48862e5e0530cca7192f5038 (diff)
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> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavcodec/v210enc.h')
-rw-r--r--libavcodec/v210enc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/v210enc.h b/libavcodec/v210enc.h
index 81a3531228..74b0514f2e 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);