Changed FakeVp8Encoder to write dimensions in payload.

Add FakeVp8Decoder that parse width and height from the payload.
Add unit test for testing that width and height is set when decoding frames.


Bug: none
Change-Id: Ifbfff4f62f99625309ce0ef21cf89c76448769d8
Reviewed-on: https://webrtc-review.googlesource.com/c/103140
Commit-Queue: Per Kjellander <perkj@webrtc.org>
Reviewed-by: Sebastian Jansson <srte@webrtc.org>
Reviewed-by: Erik Språng <sprang@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#25038}
This commit is contained in:
Per Kjellander
2018-10-04 18:40:28 +02:00
committed by Commit Bot
parent a4de9c8b04
commit 841c912ddd
10 changed files with 235 additions and 3 deletions

View File

@ -33,6 +33,7 @@ class SimulcastTestFixture {
virtual void TestSpatioTemporalLayers333PatternEncoder() = 0;
virtual void TestSpatioTemporalLayers321PatternEncoder() = 0;
virtual void TestStrideEncodeDecode() = 0;
virtual void TestDecodeWidthHeightSet() = 0;
};
} // namespace test