diff options
author | Emeric Grange <emeric.grange@gmail.com> | 2011-11-13 18:31:39 +0100 |
---|---|---|
committer | Emeric Grange <emeric.grange@gmail.com> | 2012-06-24 16:57:31 +0200 |
commit | caf67398a985be7356861b709eea1b3f8d5d2da4 (patch) | |
tree | ee83896dbc9e4cd7dc8a3c23aa2b8a2f1e220283 | |
parent | 29a4ffa5fb154b0c8dd402843197694a7fd94e7a (diff) |
g3dvl: Delete unused debugging stuff
Signed-off-by: Emeric Grange <emeric.grange@gmail.com>
-rw-r--r-- | src/gallium/auxiliary/vl/vp8/vp8_debug.c | 19 | ||||
-rw-r--r-- | src/gallium/auxiliary/vl/vp8/vp8_debug.h | 23 |
2 files changed, 1 insertions, 41 deletions
diff --git a/src/gallium/auxiliary/vl/vp8/vp8_debug.c b/src/gallium/auxiliary/vl/vp8/vp8_debug.c index 93621bce59..08469c1ace 100644 --- a/src/gallium/auxiliary/vl/vp8/vp8_debug.c +++ b/src/gallium/auxiliary/vl/vp8/vp8_debug.c @@ -13,25 +13,6 @@ #include "vp8_debug.h" -const char *vpx_codec_err_to_string(vpx_codec_err_t err) -{ - switch (err) - { - case VPX_CODEC_OK: - return "Success"; - case VPX_CODEC_ERROR: - return "Unspecified internal error"; - case VPX_CODEC_MEM_ERROR: - return "Memory allocation error"; - case VPX_CODEC_UNSUP_BITSTREAM: - return "Bitstream not supported by this decoder"; - case VPX_CODEC_CORRUPT_FRAME: - return "Corrupt frame detected"; - } - - return "Unrecognized error code"; -} - void vpx_internal_error(struct vpx_internal_error_info *info, vpx_codec_err_t error, const char *fmt, diff --git a/src/gallium/auxiliary/vl/vp8/vp8_debug.h b/src/gallium/auxiliary/vl/vp8/vp8_debug.h index 37c64e2d3d..5d5d99c649 100644 --- a/src/gallium/auxiliary/vl/vp8/vp8_debug.h +++ b/src/gallium/auxiliary/vl/vp8/vp8_debug.h @@ -31,15 +31,6 @@ typedef enum { VPX_CODEC_MEM_ERROR, /** - * \brief The given bitstream is not supported. - * - * The bitstream was unable to be parsed at the highest level. The decoder - * is unable to proceed. This error \ref SHOULD be treated as fatal to the - * stream. - */ - VPX_CODEC_UNSUP_BITSTREAM, - - /** * \brief The coded data for this stream is corrupt or incomplete. * * There was a problem decoding the current frame. This return code @@ -61,19 +52,7 @@ struct vpx_internal_error_info jmp_buf jmp; }; -/** - * \brief Convert error number to printable string. - * \param[in] err Error number. - * - * Returns a human readable string for the last error returned by the - * algorithm. The returned error will be one line and will not contain - * any newline characters. - */ -const char *vpx_codec_err_to_string(vpx_codec_err_t err); - -/** - * \brief Internal error. - */ +/** \brief Internal error */ void vpx_internal_error(struct vpx_internal_error_info *info, vpx_codec_err_t error, const char *fmt, |