[FFmpeg-devel] [PATCH 1/2] avfilter/transpose: refactor for asm

Clément Bœsch u at pkh.me
Thu Sep 12 19:10:44 CEST 2013


On Thu, Sep 12, 2013 at 04:52:54PM +0000, Paul B Mahol wrote:
> Signed-off-by: Paul B Mahol <onemda at gmail.com>
> ---
>  libavfilter/vf_transpose.c | 124 ++++++++++++++++++++++++++++++---------------
>  1 file changed, 82 insertions(+), 42 deletions(-)
> 
> diff --git a/libavfilter/vf_transpose.c b/libavfilter/vf_transpose.c
> index 8daeeaf..d19198c 100644
> --- a/libavfilter/vf_transpose.c
> +++ b/libavfilter/vf_transpose.c
> @@ -58,6 +58,9 @@ typedef struct {
>  
>      PassthroughType passthrough; ///< landscape passthrough mode enabled
>      enum TransposeDir dir;
> +
> +    void (*transpose_block)(uint8_t *src, int src_linesize,
> +                            uint8_t *dst, int dst_linesize);

Don't you need ptrdiff_t for the linesizes in the ASM?

[...]

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130912/d1464d56/attachment.asc>


More information about the ffmpeg-devel mailing list