vp8/decoder: add extern "C" to headers

Change-Id: I7865db2d15ffa8cfa4de88714e48734c5ff9bb86
This commit is contained in:
James Zern
2014-01-18 12:16:11 -08:00
parent aceba82c41
commit 14ae5fd8f3
8 changed files with 64 additions and 0 deletions

View File

@@ -11,6 +11,10 @@
#ifndef VP8_DECODER_DECODERTHREADING_H_
#define VP8_DECODER_DECODERTHREADING_H_
#ifdef __cplusplus
extern "C" {
#endif
#if CONFIG_MULTITHREAD
void vp8mt_decode_mb_rows(VP8D_COMP *pbi, MACROBLOCKD *xd);
void vp8_decoder_remove_threads(VP8D_COMP *pbi);
@@ -19,4 +23,8 @@ void vp8mt_alloc_temp_buffers(VP8D_COMP *pbi, int width, int prev_mb_rows);
void vp8mt_de_alloc_temp_buffers(VP8D_COMP *pbi, int mb_rows);
#endif
#ifdef __cplusplus
} // extern "C"
#endif
#endif // VP8_DECODER_DECODERTHREADING_H_