summaryrefslogtreecommitdiffstats
path: root/libavcodec/v210enc.h
diff options
context:
space:
mode:
authorJames Darnley <james.darnley@gmail.com>2015-12-30 17:20:59 +0000
committerJames Darnley <james.darnley@gmail.com>2016-01-17 16:03:43 +0100
commit3836f404a8c0ffd7c565260434768ef4ebba85a7 (patch)
treeab80a28b382bb5dec0629671a85cb07804836f31 /libavcodec/v210enc.h
parent61625dcc395f98ad77e9378ec4eb48cf7c981bce (diff)
downloadffmpeg-streaming-3836f404a8c0ffd7c565260434768ef4ebba85a7.zip
ffmpeg-streaming-3836f404a8c0ffd7c565260434768ef4ebba85a7.tar.gz
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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/v210enc.h b/libavcodec/v210enc.h
index a205427..85f84f1 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);
OpenPOWER on IntegriCloud