From ccd9bca15a46a1de4fb536dd097153a270ae3b9c Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Mon, 21 Oct 2019 16:43:26 +0200 Subject: avfilter/vf_transpose: add x86 SIMD --- libavfilter/transpose.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'libavfilter/transpose.h') diff --git a/libavfilter/transpose.h b/libavfilter/transpose.h index aa262b9487..f73a42864f 100644 --- a/libavfilter/transpose.h +++ b/libavfilter/transpose.h @@ -34,4 +34,14 @@ enum TransposeDir { TRANSPOSE_VFLIP, }; +typedef struct TransVtable { + void (*transpose_8x8)(uint8_t *src, ptrdiff_t src_linesize, + uint8_t *dst, ptrdiff_t dst_linesize); + void (*transpose_block)(uint8_t *src, ptrdiff_t src_linesize, + uint8_t *dst, ptrdiff_t dst_linesize, + int w, int h); +} TransVtable; + +void ff_transpose_init_x86(TransVtable *v, int pixstep); + #endif -- cgit v1.2.3