History

refactor and add decode_encode_test to pipeline decoder outoput to encoder test

jwwang committed 12 years ago

Commit 8247eef1 parent db6ce9c10 files · +443 −247Browse files

Showing the changes to test/BaseEncoderTest.h (1 of 10 files). Show all

Unified · Split

test/BaseEncoderTest.h+22−0
@@ -0,0 +1,22 @@
1+#ifndef __BASEENCODERTEST_H__
2+#define __BASEENCODERTEST_H__
3+
4+#include "codec_api.h"
5+#include "codec_app_def.h"
6+
7+class BaseEncoderTest {
8+ public:
9+ struct Callback {
10+ virtual void onEncodeFrame(const SFrameBSInfo& frameInfo) = 0;
11+ };
12+
13+ BaseEncoderTest();
14+ void SetUp();
15+ void TearDown();
16+ void EncodeFile(const char* fileName, int width, int height, float frameRate, Callback* cbk);
17+
18+ private:
19+ ISVCEncoder* encoder_;
20+};
21+
22+#endif //__BASEENCODERTEST_H__

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t