[FFmpeg-devel] [Fwd: Summer of code small task patch]

Alexander Strange astrange
Wed Mar 25 01:54:29 CET 2009


On Mar 24, 2009, at 5:21 PM, Alexander Strange wrote:

>
> On Mar 24, 2009, at 4:51 PM, Dylan Yudaken wrote:
>> void init_fdct(void){
>> unsigned int i, j;
>> double c0;
>>
>> c0 = sqrt(0.125);
>> for (i = 0; i < 8; ++i){
>>     for (j = 0; j < 8; ++j){
>>         A[i*8 + j] = c0 * cos(i*PI_BY_8*(j + 0.5) );
>>     }
>>     /* c0 = sqrt(0.125) only for i =0 else c0 = 0.5*/
>
> Code doesn't match the comment.

Ignore that one, I misread it...




More information about the ffmpeg-devel mailing list