[FFmpeg-devel] [PATCH 2/4] Silicon Graphics Motion Video Compressor 1 & 2 decoder

Paul B Mahol onemda at gmail.com
Fri Dec 14 14:49:55 CET 2012


On 12/12/12, Peter Ross <pross at xvid.org> wrote:
> On Tue, Dec 11, 2012 at 11:14:09AM +0000, Paul B Mahol wrote:
>> On 12/11/12, Peter Ross <pross at xvid.org> wrote:
> [snip]
>> > +static void set_4x4_block(uint8_t *dst, int linesize, uint32_t pixel)
>> > +{
>> > +    int i, j;
>> > +    for (j = 0; j < 4; j++)
>> > +        for (i = 0; i < 4; i++)
>> > +            AV_WN32A(dst + j * linesize + i * 4, pixel);
>> > +}
>>
>> Something similar is in dsputil, please use that.
>
> There are fill functions for 8x8 and 16x16 blocks (where each element
> is 16bits), but no equivalent fill function 4x4 blocks with 32bit
> elements. Give me a hint!

If there is nothing you can use than ignore comment.
>
> -- Peter
> (A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
>


More information about the ffmpeg-devel mailing list