[Ffmpeg-cvslog] CVS: ffmpeg build_avopt,NONE,1.1
Michael Niedermayer CVS
michael
Tue Sep 6 14:53:54 CEST 2005
- Previous message: [Ffmpeg-cvslog] CVS: ffmpeg/libavcodec opt.c, NONE, 1.1 utils.c, 1.150, 1.151 avcodec.h, 1.416, 1.417 Makefile, 1.198, 1.199
- Next message: [Ffmpeg-cvslog] CVS: ffmpeg/libavcodec raw.c,1.13,1.14
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/ffmpeg/ffmpeg
In directory mail:/var2/tmp/cvs-serv5877
Added Files:
build_avopt
Log Message:
a little script to turn the inside of a struct into a AVOption array
--- NEW FILE: build_avopt ---
#!/bin/sh
sed 's/unsigned//g' |\
sed 's/enum//g' |\
egrep '^ *(int|float|double|AVRational|char *\*) *[a-zA-Z_0-9]* *;' |\
sed 's/^ *\([^ ]*\)[ *]*\([^;]*\);.*$/{"\2", NULL, OFFSET(\2), FF_OPT_TYPE_\U\1, DEFAULT, \1_MIN, \1_MAX},/' |\
sed 's/AVRATIONAL_M/INT_M/g'|\
sed 's/TYPE_AVRATIONAL/TYPE_RATIONAL/g'|\
sed 's/FLOAT_M/FLT_M/g'|\
sed 's/FF_OPT_TYPE_CHAR/FF_OPT_TYPE_STRING/g'
- Previous message: [Ffmpeg-cvslog] CVS: ffmpeg/libavcodec opt.c, NONE, 1.1 utils.c, 1.150, 1.151 avcodec.h, 1.416, 1.417 Makefile, 1.198, 1.199
- Next message: [Ffmpeg-cvslog] CVS: ffmpeg/libavcodec raw.c,1.13,1.14
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the ffmpeg-cvslog
mailing list