Home
last modified time | relevance | path

Searched refs:decoder_ (Results 1 – 24 of 24) 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()
1379 decoder_->SetOption (DECODER_OPTION_TRACE_LEVEL, &iTraceLevel); in TEST_P()
1408 rv = decoder_->DecodeFrameNoDelay (info.sLayerInfo[0].pBsBuf, iLen, pData, &dstBufInfo_); in TEST_P()
1980 decoder_->GetOption (DECODER_OPTION_PROFILE, &iDecProfileIdc); in TEST_F()
2005 decoder_->GetOption (DECODER_OPTION_LEVEL, &iDecLevelIdc); in TEST_F()
2044 decoder_->GetOption (DECODER_OPTION_PROFILE, &iDecProfileIdc); in TEST_F()
2068 decoder_->GetOption (DECODER_OPTION_LEVEL, &iDecLevelIdc); in TEST_F()
Dencode_decode_api_test.cpp116 rv = decoder_->DecodeFrameNoDelay (info.sLayerInfo[0].pBsBuf, iLen, pData, &dstBufInfo_); in EncDecOneFrame()
/third_party/vixl/src/aarch64/
Dcpu-features-auditor-aarch64.h65 : available_(available), decoder_(decoder) { in available_()
66 if (decoder_ != NULL) decoder_->AppendVisitor(this); in available_()
71 : available_(available), decoder_(NULL) {} in available_()
74 if (decoder_ != NULL) decoder_->RemoveVisitor(this); in ~CPUFeaturesAuditor()
123 Decoder* decoder_; variable
Ddecoder-aarch64.h3136 decoder_(NULL) { in CompiledDecodeNode()
3152 decoder_(decoder) {} in CompiledDecodeNode()
3206 Decoder* decoder_; variable
3222 decoder_(decoder), in DecodeNode()
3235 decoder_(decoder), in DecodeNode()
3286 auto allocator{decoder_->GetAllocator()}; in CreateCompiledNode()
3295 compiled_node_ = new CompiledDecodeNode(visitor_fn_, decoder_); in CreateVisitorNode()
3297 auto allocator{decoder_->GetAllocator()}; in CreateVisitorNode()
3298 compiled_node_ = allocator.New<CompiledDecodeNode>(visitor_fn_, decoder_); in CreateVisitorNode()
3380 Decoder* decoder_; variable
Ddecoder-aarch64.cc549 VIXL_ASSERT(decoder_ != NULL); in Decode()
550 (decoder_->*visitor_fn_)(instr); in Decode()
Dsimulator-aarch64.h1177 decoder_->Decode(pc_);
4743 Decoder* decoder_;
Dsimulator-aarch64.cc434 decoder_ = decoder; in Simulator()
435 decoder_->AppendVisitor(this); in Simulator()
573 decoder_->RemoveVisitor(print_disasm_); in Simulator()
794 decoder_->InsertVisitorBefore(print_disasm_, this); in Simulator()
796 decoder_->RemoveVisitor(print_disasm_); in Simulator()
/third_party/openh264/module/
Dgmp-openh264.cpp798 decoder_ (nullptr), in OpenH264VideoDecoder()
822 if (WelsCreateDecoder (&decoder_)) { in InitDecode()
828 if (!decoder_) { in InitDecode()
836 long rv = decoder_->SetOption(DECODER_OPTION_NUM_OF_THREADS, &coreCount); in InitDecode()
843 long rv = decoder_->SetOption(DECODER_OPTION_TRACE_LEVEL, &logLevel); in InitDecode()
856 if (decoder_->Initialize (&param)) { in InitDecode()
889 DECODING_STATE dState = decoder_->DecodeFrame2 (&*annexb.begin(), in InitDecode()
990 if (decoder_) { in TearDownDecoder()
991 WelsDestroyDecoder(decoder_); in TearDownDecoder()
992 decoder_ = nullptr; in TearDownDecoder()
[all …]
/third_party/node/deps/v8/src/wasm/
Dmodule-decoder.cc175 : decoder_(decoder), in WasmSectionIterator()
182 bool more() const { return decoder_->ok() && decoder_->more(); } in more()
207 if (move_to_section_end && decoder_->pc() < section_end_) { in advance()
208 decoder_->consume_bytes( in advance()
209 static_cast<uint32_t>(section_end_ - decoder_->pc())); in advance()
211 if (decoder_->pc() != section_end_) { in advance()
212 const char* msg = decoder_->pc() < section_end_ ? "shorter" : "longer"; in advance()
213 decoder_->errorf(decoder_->pc(), in advance()
217 static_cast<size_t>(decoder_->pc() - section_start_)); in advance()
223 Decoder* decoder_; member in v8::internal::wasm::__anond2c9f3f70211::WasmSectionIterator
[all …]
Dmodule-compiler.cc2085 ModuleDecoder decoder_; member in v8::internal::wasm::AsyncStreamingProcessor
2708 : decoder_(job->enabled_features_), in AsyncStreamingProcessor()
2760 decoder_.StartDecoding(job_->isolate()->counters(), in ProcessModuleHeader()
2763 decoder_.DecodeModuleHeader(bytes, offset); in ProcessModuleHeader()
2764 if (!decoder_.ok()) { in ProcessModuleHeader()
2765 FinishAsyncCompileJobWithError(decoder_.FinishDecoding(false).error()); in ProcessModuleHeader()
2790 &decoder_, bytes, offset, &section_code); in ProcessSection()
2791 if (!decoder_.ok()) { in ProcessSection()
2792 FinishAsyncCompileJobWithError(decoder_.FinishDecoding(false).error()); in ProcessSection()
2804 decoder_.DecodeSection(section_code, bytes, offset, verify_functions); in ProcessSection()
[all …]
Dfunction-body-decoder-impl.h619 bool has_next() { return VALIDATE(decoder_->ok()) && index_ <= table_count_; } in has_next()
625 decoder_->read_u32v<validate>(pc_, &length, "branch table entry"); in next()
639 : decoder_(decoder), in BranchTableIterator()
645 Decoder* const decoder_;
2453 explicit TraceLine(WasmFullDecoder* decoder) : decoder_(decoder) {
2460 Append(TRACE_INST_FORMAT, decoder_->startrel(decoder_->pc_),
2487 for (Control& c : decoder_->control_) {
2519 for (size_t i = 0; i < decoder_->stack_size(); ++i) {
2520 Value& val = decoder_->stack_[i];
2529 WasmFullDecoder* const decoder_;
/third_party/openh264/test/
DBaseDecoderTest.h37 ISVCDecoder* decoder_; variable
DBaseThreadDecoderTest.h43 ISVCDecoder* decoder_; variable
/third_party/node/deps/v8/src/execution/arm64/
Dsimulator-arm64.h778 virtual void Decode(Instruction* instr) { decoder_->Decode(instr); } in Decode()
1369 if (!decoder_) { in set_log_parameters()
1376 decoder_->InsertVisitorBefore(print_disasm_, this); in set_log_parameters()
1378 decoder_->RemoveVisitor(print_disasm_); in set_log_parameters()
2324 Decoder<DispatchingDecoderVisitor>* decoder_; variable
Dsimulator-arm64.cc328 : decoder_(decoder), in Simulator()
335 decoder_->AppendVisitor(this); in Simulator()
340 decoder_->InsertVisitorBefore(print_disasm_, this); in Simulator()
346 : decoder_(nullptr), in Simulator()
404 delete decoder_; in ~Simulator()
/third_party/node/deps/v8/src/compiler/
Dwasm-compiler.cc6174 : origins_(origins), decoder_(decoder) {} in WasmDecorator()
6179 NodeOrigin::kWasmBytecode, decoder_->position())); in Decorate()
6184 wasm::Decoder* decoder_; member in v8::internal::compiler::WasmDecorator
/third_party/vixl/test/aarch64/
Dtest-cpu-features-aarch64.cc49 auditor_(&decoder_, features) {} in CPUFeaturesTest()
103 Decoder decoder_; member in vixl::aarch64::CPUFeaturesTest
121 decoder_.Decode(masm.GetInstructionAt(0)); in RunWithFeatures()