[FFmpeg-devel] Slice direction in swscale.

Ramiro Polla ramiro.polla
Sun Sep 13 03:49:57 CEST 2009


On Sat, Sep 12, 2009 at 6:48 PM, Michael Niedermayer <michaelni at gmx.at> wrote:
> On Sat, Sep 12, 2009 at 05:31:11PM -0300, Ramiro Polla wrote:
>> 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.
>
>> ?swscale.c | ? ?8 ++++++++
>> ?1 file changed, 8 insertions(+)
>> c4932ba18502f8dcfd19b006829eb196307f8d13 ?reset_slice_direction.diff
>
> ok

Applied.



More information about the ffmpeg-devel mailing list