Re: [libav-devel] [PATCH 09/10] AAC SBR: avoid a memcpy.

2012-12-02 Thread Luca Barbato
On 12/02/2012 02:04 PM, Christophe Gisquet wrote: > Updated patch to remove an uncalled for whitespace change. > Still queued up, I'll push it soon. Thanks for the update. lu ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/m

Re: [libav-devel] [PATCH 09/10] AAC SBR: avoid a memcpy.

2012-12-02 Thread Christophe Gisquet
Updated patch to remove an uncalled for whitespace change. 0009-AAC-SBR-avoid-a-memcpy.patch Description: Binary data ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel

Re: [libav-devel] [PATCH 09/10] AAC SBR: avoid a memcpy.

2012-11-30 Thread Luca Barbato
On 11/30/12 6:28 PM, Christophe Gisquet wrote: > 2012/11/30 Luca Barbato : >> The idea is nice, is Ypos always 0 or 1? > > Yes, and actually, Ypos is here because we already dealt with a > similar situation (see commit > cc412b71047ebf77c7e810c90b044f018a1c0c2d). > > So I am just reapplying the s

Re: [libav-devel] [PATCH 09/10] AAC SBR: avoid a memcpy.

2012-11-30 Thread Christophe Gisquet
2012/11/30 Luca Barbato : > The idea is nice, is Ypos always 0 or 1? Yes, and actually, Ypos is here because we already dealt with a similar situation (see commit cc412b71047ebf77c7e810c90b044f018a1c0c2d). So I am just reapplying the same solution. -- Christophe

Re: [libav-devel] [PATCH 09/10] AAC SBR: avoid a memcpy.

2012-11-30 Thread Luca Barbato
On 11/30/12 3:58 PM, Christophe Gisquet wrote: > Swapping buffer indices allows saving one memcpy that accounts for 1% of the > runtime, according to oprofile. > --- > libavcodec/aacsbr.c | 22 +++--- > 1 files changed, 11 insertions(+), 11 deletions(-) The idea is nice, is Ypos

[libav-devel] [PATCH 09/10] AAC SBR: avoid a memcpy.

2012-11-30 Thread Christophe Gisquet
Swapping buffer indices allows saving one memcpy that accounts for 1% of the runtime, according to oprofile. --- libavcodec/aacsbr.c | 22 +++--- 1 files changed, 11 insertions(+), 11 deletions(-) diff --git a/libavcodec/aacsbr.c b/libavcodec/aacsbr.c index df5d927..40b08f9 1006