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

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


On Thu, Sep 12, 2013 at 07:10:44PM +0200, Clément Bœsch wrote:
> 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?
> 

Also, const uint8_t *src maybe.

-- 
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/9bc85500/attachment.asc>


More information about the ffmpeg-devel mailing list