Change-Id: I29d05557becbfc5d55d1cd1bb709e519d27c928b
#include "third_party/googletest/src/include/gtest/gtest.h"
#include "vp9/simple_encode.h"
-namespace {
+namespace vp9 {
+
const int w = 352;
const int h = 288;
const int frame_rate_num = 30;
simple_encode.EndEncode();
}
-} // namespace
+} // namespace vp9
#include "vp9/simple_encode.h"
#include "vp9/vp9_cx_iface.h"
+namespace vp9 {
+
// TODO(angiebird): Merge this function with vpx_img_plane_width()
static int img_plane_width(const vpx_image_t *img, int plane) {
if (plane > 0 && img->x_chroma_shift > 0)
fclose(this->file);
}
}
+
+} // namespace vp9
#include <memory>
#include <vector>
+namespace vp9 {
+
enum FrameType {
kKeyFrame = 0,
kInterFrame,
SimpleEncode(SimpleEncode &&) = delete;
SimpleEncode &operator=(SimpleEncode &&) = delete;
- // Make encoder compute the first pass stats and store it internally for
+ // Makes encoder compute the first pass stats and store it internally for
// future encode
void ComputeFirstPassStats();
FILE *file;
std::unique_ptr<impl> pimpl;
};
+
+} // namespace vp9
#endif // VPX_VP9_SIMPLE_ENCODE