shithub: libvpx

Download patch

ref: 06b7b575c1d2c3861cb74bde74f4ed9411dea7ca
parent: 6207a38b7dee83329396dcc539cb2d43d171a749
author: Dmitry Kovalev <dkovalev@google.com>
date: Wed Mar 12 13:29:37 EDT 2014

Moving declaration of vp9_encode_frame() to vp9_encodeframe.h.

Change-Id: I14adfd32622152abdc22c16429db38f6724628a4

--- a/vp9/encoder/vp9_encodeframe.h
+++ b/vp9/encoder/vp9_encodeframe.h
@@ -18,10 +18,13 @@
 
 struct macroblock;
 struct yv12_buffer_config;
+struct VP9_COMP;
 
 void vp9_setup_src_planes(struct macroblock *x,
                           const struct yv12_buffer_config *src,
                           int mi_row, int mi_col);
+
+void vp9_encode_frame(struct VP9_COMP *cpi);
 
 #ifdef __cplusplus
 }  // extern "C"
--- a/vp9/encoder/vp9_onyx_if.c
+++ b/vp9/encoder/vp9_onyx_if.c
@@ -28,6 +28,7 @@
 #include "vp9/common/vp9_tile_common.h"
 
 #include "vp9/encoder/vp9_bitstream.h"
+#include "vp9/encoder/vp9_encodeframe.h"
 #include "vp9/encoder/vp9_encodemv.h"
 #include "vp9/encoder/vp9_firstpass.h"
 #include "vp9/encoder/vp9_mbgraph.h"
--- a/vp9/encoder/vp9_onyx_int.h
+++ b/vp9/encoder/vp9_onyx_int.h
@@ -930,8 +930,6 @@
                                                              ref_frame)]].buf;
 }
 
-void vp9_encode_frame(VP9_COMP *cpi);
-
 void vp9_set_speed_features(VP9_COMP *cpi);
 
 int vp9_calc_ss_err(const YV12_BUFFER_CONFIG *source,
--