changeset 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 b9354f343d2d
children a0f514fb84d6
files tableprint.c tableprint.h
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tableprint.c	Wed May 12 22:38:05 2010 +0000
+++ b/tableprint.c	Thu May 13 10:02:04 2010 +0000
@@ -33,6 +33,7 @@
 WRITE_2D_FUNC(int8,   int8_t)
 WRITE_2D_FUNC(uint8,  uint8_t)
 WRITE_2D_FUNC(uint32, uint32_t)
+WRITE_2D_FUNC(float,  float)
 
 void write_fileheader(void) {
     printf("/* This file was generated by libavcodec/tableprint */\n");
--- a/tableprint.h	Wed May 12 22:38:05 2010 +0000
+++ b/tableprint.h	Thu May 13 10:02:04 2010 +0000
@@ -66,6 +66,7 @@
 void write_int8_2d_array  (const void *, int, int);
 void write_uint8_2d_array (const void *, int, int);
 void write_uint32_2d_array(const void *, int, int);
+void write_float_2d_array (const void *, int, int);
 /** \} */ // end of printfuncs group
 
 /** Write a standard file header */