X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavfilter%2Ftranspose.h;h=4e850ef067ad88f3432333fe441893ef83dd37e8;hb=573f05a7533cd9aed3ed895b4fa4ad8fcba4e56a;hp=aa262b9487fb053d24c371dad6f0451f5d45a226;hpb=e427ba5c68a522b26a45bf7c61016d9349fab43d;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