diff options
author | Paul B Mahol <onemda@gmail.com> | 2019-10-21 16:43:26 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2019-10-21 20:37:51 +0200 |
commit | ccd9bca15a46a1de4fb536dd097153a270ae3b9c (patch) | |
tree | 81822ec78a06c60da60974811dab834fb65adc62 /libavfilter/transpose.h | |
parent | f7f4691f9f745f6a087879ab855dd65f9f16879d (diff) |
avfilter/vf_transpose: add x86 SIMD
Diffstat (limited to 'libavfilter/transpose.h')
-rw-r--r-- | libavfilter/transpose.h | 10 |
1 files changed, 10 insertions, 0 deletions
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 |