[FFmpeg-devel] [PATCH] Set horizontal scaler's src offsets in context in sws_init_swScale().

Ramiro Polla ramiro.polla
Sun Dec 20 05:59:53 CET 2009


On Sun, Dec 20, 2009 at 2:04 AM, Michael Niedermayer <michaelni at gmx.at> wrote:
> On Sun, Dec 20, 2009 at 01:43:11AM -0200, Ramiro Polla wrote:
>> Hi,
>>
>> This and the following patches try to move the use of checks for flags
>> and src/dstFormat to sws_init_swScale() instead of checking every time
>> the functions are run.
>>
>> Ramiro Polla
>
>> ?swscale_internal.h | ? ?4 ++++
>> ?swscale_template.c | ? 39 ++++++++++++++++++++-------------------
>> ?2 files changed, 24 insertions(+), 19 deletions(-)
>> 796e0c1adf3cb5c85df43a8c501002e44c611dd5 ?0001-Set-horizontal-scaler-s-src-offsets-in-context-in-sw.patch
>> From ad7a2e30312e60877b48b33dbc16cf75e8e52f07 Mon Sep 17 00:00:00 2001
>> From: Ramiro Polla <ramiro.polla at gmail.com>
>> Date: Sun, 20 Dec 2009 01:29:44 -0200
>> Subject: [PATCH] Set horizontal scaler's src offsets in context in sws_init_swScale().
>>
>> ---
>> ?swscale_internal.h | ? ?4 ++++
>> ?swscale_template.c | ? 39 ++++++++++++++++++++-------------------
>> ?2 files changed, 24 insertions(+), 19 deletions(-)
>>
>> diff --git a/swscale_internal.h b/swscale_internal.h
>> index ec696e9..c4098d1 100644
>> --- a/swscale_internal.h
>> +++ b/swscale_internal.h
>> @@ -273,6 +273,10 @@ typedef struct SwsContext {
>> ? ? ? ? ? ? ? ? ? ? int xInc, const int16_t *filter, const int16_t *filterPos,
>> ? ? ? ? ? ? ? ? ? ? long filterSize);
>>
>> + ? ?int lumSrcOffset;
>> + ? ?int chrSrcOffset;
>> + ? ?int alpSrcOffset;
>
> these need some doxy explaining what they are

Updated.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: src_offset.diff
Type: text/x-diff
Size: 2725 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20091220/cdb10a6e/attachment.diff>



More information about the ffmpeg-devel mailing list