On 06/30/2012 09:12 AM, Kostya Shishkov wrote:
> ---
> * This codec is known as M$ ATC Screen commercially but internally it's uses
> MSS3_ScreenCodec class, hence the file name (but codec ID is made after its
> FOURCC though).
> 
> * Model2 and Model256 are special cases of model. They are decoded the same
> except that Model256 uses an additional secondary lookup in order to speed
> decoding. These special cases are done for both speed and memory
> considerations (e.g. for 125 models in each of 3 BlockCoders this saves 
> >700kB)
> 
> * Dsputil is not used because interframes are decoded with offsets and they 
> may
> be (and are!) not multiple of 8. And dsputil functions assume aligned output.
> 
> * In DCT first two variables have multipliers -39409 and 39410. This is the 
> way
> it was in the reference decoder.
> 
> * By averaging this and MSS1 any j-b can obtain MSS2 decoder ;)
> 
> * It passed "make check" too.
> ---
>  Changelog              |    1 +
>  doc/general.texi       |    2 +
>  libavcodec/Makefile    |    1 +
>  libavcodec/allcodecs.c |    1 +
>  libavcodec/avcodec.h   |    1 +
>  libavcodec/mss3.c      |  969 
> ++++++++++++++++++++++++++++++++++++++++++++++++
>  libavformat/riff.c     |    1 +
>  7 files changed, 976 insertions(+), 0 deletions(-)
>  create mode 100644 libavcodec/mss3.c
> 

>From a cursory look seems nice



-- 

Luca Barbato
Gentoo/linux
http://dev.gentoo.org/~lu_zero

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to