[FFmpeg-devel] [PATCH] Chinese AVS encoder preparation

Stefan Gehrer stefan.gehrer
Sat Jun 30 09:25:28 CEST 2007

Hash: SHA1

Hi comrades,

as somebody is already working on integrating an encoder for
an unbeloved format and of disputable necessity (yes I am
thinking of wmv3), I thought I might just add another one :)

I have talked about it with some of you at Linuxtag that
I had been working on an encoder for Chinese AVS which at
that time lacked rate control and motion estimation. By now
I found the time to add some primitive motion estimation to
it. Its quality per bitrate is not amazing, but on OTOH
considering that the encoder is fairly small and simple
(under 700 LOC) it is doing alright. The encoder currently
only knows the three macroblock types P_SKIP, P_16x16 and

What I would like to do before discussing the encoder would
be some cosmetic steps to make the encoding patch as simple
as possible, in particular:

- - move structure definitions from cavs.c to cavs.h
- - move commonly used inline-functions from cavs.c to cavs.h
- - some variable renamings to better seperate decoder specifics
- - split off cavsdec.c from cavs.c

A first step towards this is attached. If noone objects to
more of these changes I would commit them without further ado,
as they only touch what I maintain and are of cosmetic nature.
Then I will come back to you with a proposed encoder patch.
How does that sound?

Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cavsmov1.diff
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070630/4920efde/attachment.asc>

More information about the ffmpeg-devel mailing list