ExternalVideoDecoder for new VideoEngine API.

Implements the ExternalVideoDecoder interface for VideoReceiveStream.
Also adds a FakeDecoder used in tests, removing the overhead of running
the EngineTest tests with VP8 under Memcheck/TSan, allowing us to enable
them under Memcheck/TSan as well.

BUG=2346,2312
R=stefan@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/2172004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4702 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
pbos@webrtc.org
2013-09-09 08:26:30 +00:00
parent 30e055c4dd
commit 0181b5f8dd
13 changed files with 203 additions and 41 deletions

View File

@ -43,8 +43,13 @@ struct CodecSpecificInfoVP8
int8_t keyIdx; // negative value to skip keyIdx
};
struct CodecSpecificInfoGeneric {
uint8_t simulcast_idx;
};
union CodecSpecificInfoUnion
{
CodecSpecificInfoGeneric generic;
CodecSpecificInfoVP8 VP8;
};