[FFmpeg-devel] [PATCH 1/2] Transpose IDCT 8x8 while reading.

Ronald S. Bultje rsbultje
Wed Feb 16 19:24:21 CET 2011


Hi,

On Wed, Feb 16, 2011 at 1:20 PM, Kostya <kostya.shishkov at gmail.com> wrote:
> On Wed, Feb 16, 2011 at 05:55:28PM +0000, M?ns Rullg?rd wrote:
>> Kostya <kostya.shishkov at gmail.com> writes:
>>
>> > On Wed, Feb 16, 2011 at 12:39:20PM -0500, Ronald S. Bultje wrote:
>> > [...]
>> >
>> > Why can't you use DSPContext as H.263-based decoders do?
>> > Seriously, there you can define permutation type, permute scantable according
>> > to it without this fixed permutation (which is likely to break Altivec stuff).
>>
>> Can we please not bloat DSPContext with more single-codec things?
>
> It's not bloating with, it's using existing functionality.
>
> I meant using this:
> ff_init_scantable(c->dsp.idct_permutation, &c->scantable, orig_scan);
>
> which relies on permutation type set in DSPContext (obviously).
>
> Otherwise it's easy to forget something using different scan order - Altivec
> in this case.

I noticed this function, but it looked weird. I can try using it.

Ronald



More information about the ffmpeg-devel mailing list