Use VideoDecoder::Configure interface when setting up decoder
Bug: webrtc:13045 Change-Id: I322ff91d96bab8bb7c40f4dea1c9c2b5c7631635 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/228420 Reviewed-by: Erik Språng <sprang@webrtc.org> Commit-Queue: Danil Chapovalov <danilchap@webrtc.org> Cr-Commit-Position: refs/heads/master@{#34756}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
b6bbdeb24d
commit
355b8d237c
@ -15,6 +15,7 @@
|
||||
|
||||
#include "api/sequence_checker.h"
|
||||
#include "api/units/time_delta.h"
|
||||
#include "api/video_codecs/video_decoder.h"
|
||||
#include "modules/video_coding/encoded_frame.h"
|
||||
#include "modules/video_coding/include/video_codec_interface.h"
|
||||
#include "modules/video_coding/timestamp_map.h"
|
||||
@ -80,9 +81,9 @@ class VCMGenericDecoder {
|
||||
~VCMGenericDecoder();
|
||||
|
||||
/**
|
||||
* Initialize the decoder with the information from the VideoCodec
|
||||
* Initialize the decoder with the information from the `settings`
|
||||
*/
|
||||
int32_t InitDecode(const VideoCodec* settings, int32_t numberOfCores);
|
||||
bool Configure(const VideoDecoder::Settings& settings);
|
||||
|
||||
/**
|
||||
* Decode to a raw I420 frame,
|
||||
|
||||
Reference in New Issue
Block a user