周晓勇 <zhouxiaoyong <at> loongson.cn> writes:

> > why are the optimized functions and the code that 
> > sets them in the context in 2 seperate files ?
> > this seems unneccesarily complicated
> > 
> 
> i case mipstec optimize the same functions of 
> mpegvideodec using msa they could use filename
> mpegviedo_mips.c and write init functions into 
> mpegvideo_init.c

Separating init code and asm code is necessary if 
one is compiled with a C compiler, the other with 
yasm / nasm. In your case, putting asm and init 
code in one file makes everything easier.

Carl Eugen
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to