Home
last modified time | relevance | path

Searched refs:decoder_context_ (Results 1 – 2 of 2) sorted by relevance

/external/openscreen/cast/standalone_sender/
Dsimulated_capturer.cc56 decoder_context_ = MakeUniqueAVCodecContext(codec); in SimulatedCapturer()
57 if (!decoder_context_) { in SimulatedCapturer()
65 decoder_context_->thread_count = in SimulatedCapturer()
68 decoder_context_.get(), in SimulatedCapturer()
74 SetAdditionalDecoderParameters(decoder_context_.get()); in SimulatedCapturer()
76 const int open_result = avcodec_open2(decoder_context_.get(), codec, nullptr); in SimulatedCapturer()
139 avcodec_send_packet(decoder_context_.get(), nullptr); in StartDecodingNextFrame()
158 avcodec_send_packet(decoder_context_.get(), packet_.get()); in StartDecodingNextFrame()
174 avcodec_receive_frame(decoder_context_.get(), decoded_frame_.get()); in ConsumeNextDecodedFrame()
Dsimulated_capturer.h99 AVCodecContextUniquePtr decoder_context_; variable