Home
last modified time | relevance | path

Searched refs:decoder_ (Results 1 – 13 of 13) sorted by relevance

/third_party/protobuf/js/binary/
Dreader.js72 this.decoder_ = jspb.BinaryDecoder.alloc(opt_bytes, opt_start, opt_length);
78 this.fieldCursor_ = this.decoder_.getCursor();
128 newReader.decoder_.setBlock(opt_bytes, opt_start, opt_length);
152 this.decoder_.clear();
178 return this.decoder_.getCursor();
187 return this.decoder_.getBuffer();
223 return this.error_ || this.decoder_.getError();
234 this.decoder_.setBlock(bytes, start, length);
245 this.decoder_.reset();
256 this.decoder_.advance(count);
[all …]
/third_party/openh264/test/api/
Ddecoder_ec_test.cpp26 if (decoder_ != NULL) { in TEST_P()
27 decoder_->Uninitialize(); in TEST_P()
34 rv = decoder_->Initialize (&decParam); in TEST_P()
41 decoder_->SetOption (DECODER_OPTION_TRACE_LEVEL, &iTraceLevel); in TEST_P()
68 rv = decoder_->DecodeFrame2 (info.sLayerInfo[0].pBsBuf, len, pData, &dstBufInfo_); in TEST_P()
70 LTRRecoveryRequest (decoder_, encoder_, &m_LTR_Recover_Request, rv, true); in TEST_P()
71 rv = decoder_->DecodeFrame2 (NULL, 0, pData, &dstBufInfo_); //reconstruction in TEST_P()
72 LTRRecoveryRequest (decoder_, encoder_, &m_LTR_Recover_Request, rv, true); in TEST_P()
73 LTRMarkFeedback (decoder_, encoder_, &m_LTR_Marking_Feedback, rv); in TEST_P()
97 decoder_->SetOption (DECODER_OPTION_TRACE_LEVEL, &iTraceLevel); in TEST_P()
[all …]
Ddecode_api_test.cpp28 decoder_->SetOption (DECODER_OPTION_TRACE_LEVEL, &iTraceLevel); in TEST_P()
42 rv = decoder_->DecodeFrame2 (info.sLayerInfo[0].pBsBuf, len, pData, &dstBufInfo_); in TEST_P()
44 rv = decoder_->GetOption (DECODER_OPTION_VCL_NAL, &vclNal); in TEST_P()
46 rv = decoder_->DecodeFrame2 (NULL, 0, pData, &dstBufInfo_); //reconstruction in TEST_P()
48 rv = decoder_->GetOption (DECODER_OPTION_VCL_NAL, &vclNal); in TEST_P()
64 decoder_->SetOption (DECODER_OPTION_TRACE_LEVEL, &iTraceLevel); in TEST_P()
78 rv = decoder_->DecodeFrame2 (info.sLayerInfo[0].pBsBuf, len, pData, &dstBufInfo_); in TEST_P()
80 decoder_->GetOption (DECODER_OPTION_FRAME_NUM, &iDecFrameNum); in TEST_P()
83 rv = decoder_->DecodeFrame2 (NULL, 0, pData, &dstBufInfo_); //reconstruction in TEST_P()
85 decoder_->GetOption (DECODER_OPTION_FRAME_NUM, &iDecFrameNum); in TEST_P()
[all …]
DBaseDecoderTest.cpp50 : decoder_ (NULL), decodeStatus_ (OpenFile) {} in BaseDecoderTest()
53 long rv = WelsCreateDecoder (&decoder_); in SetUp()
55 EXPECT_TRUE (decoder_ != NULL); in SetUp()
56 if (decoder_ == NULL) { in SetUp()
66 rv = decoder_->Initialize (&decParam); in SetUp()
72 if (decoder_ != NULL) { in TearDown()
73 decoder_->Uninitialize(); in TearDown()
74 WelsDestroyDecoder (decoder_); in TearDown()
85 DECODING_STATE rv = decoder_->DecodeFrame2 (src, (int) sliceSize, data, &bufInfo); in DecodeFrame()
121 DECODING_STATE rv = decoder_->FlushFrame (data, &bufInfo); in FlushFrame()
[all …]
DBaseThreadDecoderTest.cpp142 …: decoder_ (NULL), uiTimeStamp (0), pYuvFile (NULL), bEnableYuvDumpTest (false), decodeStatus_ (Op… in BaseThreadDecoderTest()
146 long rv = WelsCreateDecoder (&decoder_); in SetUp()
148 EXPECT_TRUE (decoder_ != NULL); in SetUp()
149 if (decoder_ == NULL) { in SetUp()
159 decoder_->SetOption (DECODER_OPTION_NUM_OF_THREADS, &iThreadCount); in SetUp()
161 rv = decoder_->Initialize (&decParam); in SetUp()
167 if (decoder_ != NULL) { in TearDown()
168 decoder_->Uninitialize(); in TearDown()
169 WelsDestroyDecoder (decoder_); in TearDown()
180 DECODING_STATE rv = decoder_->DecodeFrameNoDelay (src, (int) sliceSize, pData, &bufInfo); in DecodeFrame()
[all …]
Dltr_test.cpp25 decoder_->SetOption (DECODER_OPTION_TRACE_LEVEL, &iTraceLevel); in TEST_P()
74 decoder_->SetOption (DECODER_OPTION_TRACE_LEVEL, &iTraceLevel); in TEST_P()
123 decoder_->SetOption (DECODER_OPTION_TRACE_LEVEL, &iTraceLevel); in TEST_P()
148 rv = decoder_->DecodeFrame2 (info.sLayerInfo[0].pBsBuf, len, pData, &dstBufInfo_); in TEST_P()
150 LTRRecoveryRequest (decoder_, encoder_, &m_LTR_Recover_Request, rv, true); in TEST_P()
151 rv = decoder_->DecodeFrame2 (NULL, 0, pData, &dstBufInfo_); //reconstruction in TEST_P()
152 LTRRecoveryRequest (decoder_, encoder_, &m_LTR_Recover_Request, rv, true); in TEST_P()
153 LTRMarkFeedback (decoder_, encoder_, &m_LTR_Marking_Feedback, rv); in TEST_P()
Dencode_decode_api_test.h79 decoder_->SetOption (DECODER_OPTION_TRACE_CALLBACK, &pFunc); in SetUp()
80 decoder_->SetOption (DECODER_OPTION_TRACE_CALLBACK_CONTEXT, &pTraceInfo); in SetUp()
Dencode_options_test.cpp336 iResult = decoder_->DecodeFrame2 (info.sLayerInfo[0].pBsBuf, len, pData, &dstBufInfo_); in TEST_F()
338 iResult = decoder_->DecodeFrame2 (NULL, 0, pData, &dstBufInfo_); in TEST_F()
381 iResult = decoder_->DecodeFrame2 (info.sLayerInfo[0].pBsBuf, len, pData, &dstBufInfo_); in TEST_F()
383 iResult = decoder_->DecodeFrame2 (NULL, 0, pData, &dstBufInfo_); in TEST_F()
1378 decoder_->SetOption (DECODER_OPTION_TRACE_LEVEL, &iTraceLevel); in TEST_P()
1407 rv = decoder_->DecodeFrameNoDelay (info.sLayerInfo[0].pBsBuf, iLen, pData, &dstBufInfo_); in TEST_P()
1979 decoder_->GetOption (DECODER_OPTION_PROFILE, &iDecProfileIdc); in TEST_F()
2004 decoder_->GetOption (DECODER_OPTION_LEVEL, &iDecLevelIdc); in TEST_F()
2043 decoder_->GetOption (DECODER_OPTION_PROFILE, &iDecProfileIdc); in TEST_F()
2067 decoder_->GetOption (DECODER_OPTION_LEVEL, &iDecLevelIdc); in TEST_F()
Dencode_decode_api_test.cpp115 rv = decoder_->DecodeFrameNoDelay (info.sLayerInfo[0].pBsBuf, iLen, pData, &dstBufInfo_); in EncDecOneFrame()
/third_party/openh264/module/
Dgmp-openh264.cpp626 decoder_ (nullptr), in OpenH264VideoDecoder()
648 if (WelsCreateDecoder (&decoder_)) { in InitDecode()
654 if (!decoder_) { in InitDecode()
667 if (decoder_->Initialize (&param)) { in InitDecode()
700 DECODING_STATE dState = decoder_->DecodeFrame2 (&*annexb.begin(), in InitDecode()
798 if (decoder_) { in TearDownDecoder()
799 WelsDestroyDecoder(decoder_); in TearDownDecoder()
800 decoder_ = nullptr; in TearDownDecoder()
828 dState = decoder_->DecodeFrameNoDelay (inputFrame->Buffer(), in Decode_w()
925 ISVCDecoder* decoder_; member in OpenH264VideoDecoder
/third_party/openh264/test/
DBaseDecoderTest.h37 ISVCDecoder* decoder_; variable
DBaseThreadDecoderTest.h43 ISVCDecoder* decoder_; variable
/third_party/gstreamer/gstplugins_base/
DChangeLog48636 decodebin3: fix output->decoder_{sink,src} leak