diff options
Diffstat (limited to 'chromium/third_party/libvpx/source/libvpx/vp8/common/swapyv12buffer.h')
-rw-r--r-- | chromium/third_party/libvpx/source/libvpx/vp8/common/swapyv12buffer.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/chromium/third_party/libvpx/source/libvpx/vp8/common/swapyv12buffer.h b/chromium/third_party/libvpx/source/libvpx/vp8/common/swapyv12buffer.h index a6473ed92be..1d66cd3d62e 100644 --- a/chromium/third_party/libvpx/source/libvpx/vp8/common/swapyv12buffer.h +++ b/chromium/third_party/libvpx/source/libvpx/vp8/common/swapyv12buffer.h @@ -9,11 +9,19 @@ */ -#ifndef SWAPYV12_BUFFER_H -#define SWAPYV12_BUFFER_H +#ifndef VP8_COMMON_SWAPYV12BUFFER_H_ +#define VP8_COMMON_SWAPYV12BUFFER_H_ #include "vpx_scale/yv12config.h" +#ifdef __cplusplus +extern "C" { +#endif + void vp8_swap_yv12_buffer(YV12_BUFFER_CONFIG *new_frame, YV12_BUFFER_CONFIG *last_frame); +#ifdef __cplusplus +} // extern "C" #endif + +#endif // VP8_COMMON_SWAPYV12BUFFER_H_ |