postproc.c: remove unused macro & prototypes Use of `RGB_TO_YUV`, `vp8_blit_text`, and `vp8_blit_line` was removed in: 3f7250958 vp8: remove VP8_SET_DBG* control support Change-Id: I88cdfb87510ece96daf028f624bbf28953b4ae1b
diff --git a/vp8/common/postproc.c b/vp8/common/postproc.c index af268d2..fb3cfdb 100644 --- a/vp8/common/postproc.c +++ b/vp8/common/postproc.c
@@ -25,23 +25,6 @@ #include <stdlib.h> #include <stdio.h> -/* clang-format off */ -#define RGB_TO_YUV(t) \ - (unsigned char)((0.257 * (float)(t >> 16)) + \ - (0.504 * (float)(t >> 8 & 0xff)) + \ - (0.098 * (float)(t & 0xff)) + 16), \ - (unsigned char)(-(0.148 * (float)(t >> 16)) - \ - (0.291 * (float)(t >> 8 & 0xff)) + \ - (0.439 * (float)(t & 0xff)) + 128), \ - (unsigned char)((0.439 * (float)(t >> 16)) - \ - (0.368 * (float)(t >> 8 & 0xff)) - \ - (0.071 * (float)(t & 0xff)) + 128) -/* clang-format on */ - -extern void vp8_blit_text(const char *msg, unsigned char *address, - const int pitch); -extern void vp8_blit_line(int x0, int x1, int y0, int y1, unsigned char *image, - const int pitch); /*********************************************************************************************************** */ #if CONFIG_POSTPROC