X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavfilter%2Ftranspose.h;h=4e850ef067ad88f3432333fe441893ef83dd37e8;hb=e5d6af7b35d97f5c1252ecf8bd61f3295909fb6c;hp=aa262b9487fb053d24c371dad6f0451f5d45a226;hpb=a024c3ce9a502849013a4aa2c0a6de0c9270261c;p=ffmpeg diff --git a/libavfilter/transpose.h b/libavfilter/transpose.h index aa262b9487f..4e850ef067a 100644 --- a/libavfilter/transpose.h +++ b/libavfilter/transpose.h @@ -18,6 +18,9 @@ #ifndef AVFILTER_TRANSPOSE_H #define AVFILTER_TRANSPOSE_H +#include +#include + enum PassthroughType { TRANSPOSE_PT_TYPE_NONE, TRANSPOSE_PT_TYPE_LANDSCAPE, @@ -34,4 +37,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