From 5322a7f16a374a15fe69b3bb2621678aede48bca Mon Sep 17 00:00:00 2001 From: "erg@google.com" Date: Fri, 11 Feb 2011 20:44:42 +0000 Subject: Continuing with the out-of-lining of test code. BUG=none TEST=compiles Review URL: http://codereview.chromium.org/6485015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74660 0039d316-1c4b-4281-b951-d872f2087c98 --- media/tools/omx_test/file_sink.cc | 13 +++++++++++++ media/tools/omx_test/file_sink.h | 14 +++----------- 2 files changed, 16 insertions(+), 11 deletions(-) (limited to 'media/tools/omx_test') diff --git a/media/tools/omx_test/file_sink.cc b/media/tools/omx_test/file_sink.cc index 98766ab..5e92b02 100644 --- a/media/tools/omx_test/file_sink.cc +++ b/media/tools/omx_test/file_sink.cc @@ -10,6 +10,19 @@ namespace media { +FileSink::FileSink(const FilePath& output_path, + bool simulate_copy, + bool enable_csc) + : output_path_(output_path), + simulate_copy_(simulate_copy), + enable_csc_(enable_csc), + width_(0), + height_(0), + copy_buf_size_(0), + csc_buf_size_(0) { +} + +FileSink::~FileSink() {} void FileSink::BufferReady(int size, uint8* buffer) { if (size > copy_buf_size_) { diff --git a/media/tools/omx_test/file_sink.h b/media/tools/omx_test/file_sink.h index 69907031..5703600 100644 --- a/media/tools/omx_test/file_sink.h +++ b/media/tools/omx_test/file_sink.h @@ -21,17 +21,9 @@ class FileSink { public: FileSink(const FilePath& output_path, bool simulate_copy, - bool enable_csc) - : output_path_(output_path), - simulate_copy_(simulate_copy), - enable_csc_(enable_csc), - width_(0), - height_(0), - copy_buf_size_(0), - csc_buf_size_(0) { - } - - virtual ~FileSink() {} + bool enable_csc); + + virtual ~FileSink(); virtual void BufferReady(int size, uint8* buffer); -- cgit v1.1