Commit c3203803 authored by reimar's avatar reimar

Add some more table-printing functions needed for future patches.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22524 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 0868be97
...@@ -38,6 +38,8 @@ void write_##name##_array(const void *arg, int len, int dummy)\ ...@@ -38,6 +38,8 @@ void write_##name##_array(const void *arg, int len, int dummy)\
} }
WRITE_1D_FUNC(int8, int8_t, "%3"PRIi8, 15) WRITE_1D_FUNC(int8, int8_t, "%3"PRIi8, 15)
WRITE_1D_FUNC(uint8, uint8_t, "0x%02"PRIx8, 15)
WRITE_1D_FUNC(uint16, uint16_t, "0x%08"PRIx16, 7)
WRITE_1D_FUNC(uint32, uint32_t, "0x%08"PRIx32, 7) WRITE_1D_FUNC(uint32, uint32_t, "0x%08"PRIx32, 7)
WRITE_1D_FUNC(float, float, "%.18e", 3) WRITE_1D_FUNC(float, float, "%.18e", 3)
...@@ -54,6 +56,7 @@ void write_##name##_2d_array(const void *arg, int len, int len2)\ ...@@ -54,6 +56,7 @@ void write_##name##_2d_array(const void *arg, int len, int len2)\
} }
WRITE_2D_FUNC(int8, int8_t) WRITE_2D_FUNC(int8, int8_t)
WRITE_2D_FUNC(uint8, uint8_t)
WRITE_2D_FUNC(uint32, uint32_t) WRITE_2D_FUNC(uint32, uint32_t)
int main(int argc, char *argv[]) int main(int argc, char *argv[])
......
...@@ -31,9 +31,12 @@ ...@@ -31,9 +31,12 @@
* \{ * \{
*/ */
void write_int8_array (const void *, int, int); void write_int8_array (const void *, int, int);
void write_uint8_array (const void *, int, int);
void write_uint16_array (const void *, int, int);
void write_uint32_array (const void *, int, int); void write_uint32_array (const void *, int, int);
void write_float_array (const void *, int, int); void write_float_array (const void *, int, int);
void write_int8_2d_array (const void *, int, int); 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_uint32_2d_array(const void *, int, int);
/** \} */ // end of printfuncs group /** \} */ // end of printfuncs group
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment