Lines Matching refs:decoder
49 void DecoderTest::HandlePeekResult(Decoder *const decoder, in HandlePeekResult() argument
52 const bool is_vp8 = decoder->IsVP8(); in HandlePeekResult()
70 Decoder* const decoder = codec_->CreateDecoder(dec_cfg, flags_, 0); in RunLoop() local
71 ASSERT_TRUE(decoder != NULL); in RunLoop()
77 PreDecodeFrameHook(*video, decoder); in RunLoop()
83 const vpx_codec_err_t res_peek = decoder->PeekStream(video->cxdata(), in RunLoop()
86 HandlePeekResult(decoder, video, res_peek); in RunLoop()
89 vpx_codec_err_t res_dec = decoder->DecodeFrame(video->cxdata(), in RunLoop()
91 if (!HandleDecodeResult(res_dec, *video, decoder)) in RunLoop()
95 const vpx_codec_err_t res_dec = decoder->DecodeFrame(NULL, 0); in RunLoop()
96 ASSERT_EQ(VPX_CODEC_OK, res_dec) << decoder->DecodeError(); in RunLoop()
100 DxDataIterator dec_iter = decoder->GetDxData(); in RunLoop()
107 delete decoder; in RunLoop()