[FFmpeg-devel] [PATCH 2/2] tablegen: implement and use tablegen_copy_array macros

Michael Niedermayer michaelni
Sun Jun 27 03:04:16 CEST 2010


On Sun, Jun 27, 2010 at 02:40:53AM +0200, Diego Elio 'Flameeyes' Petten? wrote:
> Two macros (tablegen_copy_array and tablegen_copy_2d_array) take the
> modifiers (not all tables are static, and they might not be constant
> either), the type, and the name of the array. It'll be copied with the same
> parameters and with the correct size of the currently-defined object.
> ---
>  libavcodec/aac_tablegen.c       |    4 +---
>  libavcodec/cbrt_tablegen.c      |    4 +---
>  libavcodec/mpegaudio_tablegen.c |   29 ++++++-----------------------
>  libavcodec/pcm_tablegen.c       |    9 ++-------
>  libavcodec/qdm2_tablegen.c      |   23 +++++------------------
>  libavcodec/tableprint.h         |   16 ++++++++++++++++
>  6 files changed, 31 insertions(+), 54 deletions(-)

iam not maintainer of this but i like the simplification
speaking of it, reimar should add himself into MAINTAINERS for the table
generator core 

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The educated differ from the uneducated as much as the living from the
dead. -- Aristotle 
-------------- 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/20100627/257ce1ad/attachment.pgp>



More information about the ffmpeg-devel mailing list