[FFmpeg-devel] Slice direction in swscale.

Ramiro Polla ramiro.polla
Sat Sep 12 22:31:11 CEST 2009


On Thu, Sep 10, 2009 at 6:37 AM, Michael Niedermayer <michaelni at gmx.at> wrote:
> On Wed, Sep 09, 2009 at 06:51:06PM -0300, Ramiro Polla wrote:
>> On Tue, Sep 8, 2009 at 8:57 PM, Michael Niedermayer <michaelni at gmx.at> wrote:
>> > On Tue, Sep 08, 2009 at 05:49:19PM -0300, Ramiro Polla wrote:
[...]
>> >> ?The direction will be
>> >> + * detected in the first call and must be maintained throughout all
>> >> + * subsequent uses.
>> >> ? *
>> >
>> > i think this should be easy to fix, do we need more than reseting SliceDir?
>>
>> How far do we want to support changing slice direction? In a per-frame
>> basis, or in a per-slice basis? (as in we track continuity and check
>> for the corner cases Y==0 or Y+H==height). Per slice would scale
>> incorrectly because we would use old buffers.
>
> per frame of course

Patch attached.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: reset_slice_direction.diff
Type: text/x-diff
Size: 889 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090912/e65fa725/attachment.diff>



More information about the ffmpeg-devel mailing list