[FFmpeg-devel] [PATCH] move QUANT_SHIFT #define to a sensible place

Michael Niedermayer michaelni
Mon Nov 24 16:26:53 CET 2008


On Mon, Nov 24, 2008 at 02:08:14PM +0100, Diego Biurrun wrote:
> QUANT_SHIFT is only used in one function in h264.c, but it is hidden
> somewhere between long tables in h264data.h.  This patch moves it to
> h264.c.

both the table as well as the single function using it belong to our
unfinished h264 encoder

also the values of the table are scaled by QUANT_SHIFT, thus the define
does in some sense belong to the table

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Observe your enemies, for they first find out your faults. -- Antisthenes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081124/11f94af5/attachment.pgp>



More information about the ffmpeg-devel mailing list