[FFmpeg-devel] [Patch] QT RLE encoder, bis

Måns Rullgård mans
Sat Jun 30 13:18:58 CEST 2007


"Alexis Ballier" <alexis.ballier at gmail.com> writes:

>> > +    /* We will use it to compute the best bulk copy sequence */
>> > +    uint8_t bulkcount;
>> > +    /* This will be the number of pixels equal to the preivous frame one's
>> > +     * starting from the ith pixel */
>> > +    uint8_t skipcount;
>> > +    /* This will be the number of consecutive equal pixels in the current
>> > +     * frame, starting from the ith one also */
>> > +    uint8_t repeatcount;
>>
>> these should be int or unsigend int not uint8_t, which might be very slow on
>> RISC architectures which lack 8bit registers/operations besides load/store
>
> Didnt know that, updated

This is true in general, not just for RISC.  An x86 surely must
activate more silicon to work on a non-native size too.

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list