comparison tableprint.c @ 11714:8ad2b8f20e6a libavcodec

Support writing 2d float arrays. Patch by Michael Kostylev, michael D kostylev A gmail
author michael
date Thu, 13 May 2010 10:02:04 +0000
parents e03e3df6fb7d
children 59f399926c12
comparison
equal deleted inserted replaced
11713:b9354f343d2d 11714:8ad2b8f20e6a
31 WRITE_1D_FUNC(float, float, "%.18e", 3) 31 WRITE_1D_FUNC(float, float, "%.18e", 3)
32 32
33 WRITE_2D_FUNC(int8, int8_t) 33 WRITE_2D_FUNC(int8, int8_t)
34 WRITE_2D_FUNC(uint8, uint8_t) 34 WRITE_2D_FUNC(uint8, uint8_t)
35 WRITE_2D_FUNC(uint32, uint32_t) 35 WRITE_2D_FUNC(uint32, uint32_t)
36 WRITE_2D_FUNC(float, float)
36 37
37 void write_fileheader(void) { 38 void write_fileheader(void) {
38 printf("/* This file was generated by libavcodec/tableprint */\n"); 39 printf("/* This file was generated by libavcodec/tableprint */\n");
39 printf("#include <stdint.h>\n"); 40 printf("#include <stdint.h>\n");
40 } 41 }