Hi,
> > ZK> expecting comments....
> >
> > What routines are you going to optimize? Only those that are used by
> > libaviplay? Or including avirecompress and ffmpeg? Or something more
> > global? Let's start with defining a scope of the library ...
>
My needs/ideas:
global:
- CPU detection
video:
- iDCT routine (maybe DCT too for compression)
- YUV<->RGB conversion stuff (YV12-> any bpp, YV12->YUY2, YUY2->YV12,
any bpp -> any bpp, especially 15->16, 24->32, and 24/32 bpp -> YUY2,YV12)
- Motion comp stuff (it's a lot, but can grabbed from ffmpeg)
- software scaling routines (YV12,YUY2,RGB)
- image blitting (like Nick's fastmemcpy)
- stride copy (copy same bpp image but stride is different)
audio:
- up/downsampling
- copy with format conversion (8<->16bpp, LE<->BE)
- maybe the DCT/FFT stuff used by ac3/mp3 codecs
I think it's enough for first step.
And you don't have to code all, most of these are already done in
different projects, like sdl, ffmpeg, libmpeg2, libvo, mp3lib...
> Well - linux doesn't have something like mediaLib on Sun and Sun will
> surely not help us :) to port their library to i386 platform - I'd like
They done. Solaris x86 also have mlib, using MMX stuff!
But they didn't ported to linux yet... and it isn't opensource.
But maybe it's worth to ask them first, SUN seems to be linux-friendly.
> Library will have its own separate configure script
> and should be usable elsewhere just by copying the subtree.
> But that's just the plan...
I still prefer statically linkable version!
(for speed and 100% compatibility)
A'rpi / Astral & ESP-team
--
mailto:[EMAIL PROTECTED]
http://esp-team.scene.hu
_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile