[FFmpeg-devel] [PATCH 01/14] libavcodec: Implementation of AAC_fixed_decoder (LC-module) [1/5]
Michael Niedermayer
michaelni at gmx.at
Tue Sep 16 00:37:04 CEST 2014
On Mon, Sep 01, 2014 at 07:55:39PM +0200, Nedeljko Babic wrote:
> From: Jovan Zelincevic <jovan.zelincevic at imgtec.com>
>
> Move existing code to the new template files
>
> Signed-off-by: Nedeljko Babic <nedeljko.babic at imgtec.com>
[...]
> diff --git a/libavcodec/sinewin_tablegen.c b/libavcodec/sinewin_tablegen.c
> index 561ae3e..2013b95 100644
> --- a/libavcodec/sinewin_tablegen.c
> +++ b/libavcodec/sinewin_tablegen.c
> @@ -19,28 +19,3 @@
> * License along with FFmpeg; if not, write to the Free Software
> * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
> */
> -
> -#include <stdlib.h>
> -#define CONFIG_HARDCODED_TABLES 0
> -#define SINETABLE_CONST
> -#define SINETABLE(size) \
> - float ff_sine_##size[size]
> -#define FF_ARRAY_ELEMS(a) (sizeof(a) / sizeof((a)[0]))
> -#include "sinewin_tablegen.h"
> -#include "tableprint.h"
> -
> -int main(void)
> -{
> - int i;
> -
> - write_fileheader();
> -
> - for (i = 5; i <= 13; i++) {
> - ff_init_ff_sine_windows(i);
> - printf("SINETABLE(%4i) = {\n", 1 << i);
> - write_float_array(ff_sine_windows[i], 1 << i);
> - printf("};\n");
> - }
> -
> - return 0;
> -}
this file is empty after the change, and i think its not the only one
> diff --git a/libavcodec/sinewin_tablegen_template.c b/libavcodec/sinewin_tablegen_template.c
> new file mode 100644
> index 0000000..50eb1a0
> --- /dev/null
> +++ b/libavcodec/sinewin_tablegen_template.c
why do you rename the table gen stuff?
it breaks --enable-hardcoded-tables
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Those who are too smart to engage in politics are punished by being
governed by those who are dumber. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140916/a85603ab/attachment.asc>
More information about the ffmpeg-devel
mailing list