Home
last modified time | relevance | path

Searched refs:Decode (Results 1 – 25 of 475) sorted by relevance

12345678910>>...19

/external/webrtc/api/video_codecs/test/
Dvideo_decoder_software_fallback_wrapper_unittest.cc49 int32_t Decode(const EncodedImage& input_image, in Decode() function in webrtc::VideoDecoderSoftwareFallbackWrapperTest::CountingFakeDecoder
90 fallback_wrapper_->Decode(encoded_image, false, -1); in TEST_F()
105 fallback_wrapper_->Decode(encoded_image, false, -1); in TEST_F()
121 fallback_wrapper_->Decode(encoded_image, false, -1); in TEST_F()
126 fallback_wrapper_->Decode(encoded_image, false, -1); in TEST_F()
140 fallback_wrapper_->Decode(encoded_image, false, -1)); in TEST_F()
143 fallback_wrapper_->Decode(encoded_image, false, -1); in TEST_F()
154 fallback_wrapper_->Decode(encoded_image, false, -1); in TEST_F()
161 fallback_wrapper_->Decode(encoded_image, false, -1); in TEST_F()
175 fallback_wrapper_->Decode(encoded_image, false, -1); in TEST_F()
[all …]
/external/pigweed/pw_base64/
Dbase64_test.cc320 size_t binary_size = Decode(data.encoded_data, output); in TEST()
329 size_t binary_size = Decode(data.encoded_data, output); in TEST()
339 EXPECT_EQ(0u, Decode(encoded_data, std::span(output, 2))); in TEST()
341 EXPECT_EQ(2u, Decode(encoded_data, std::span(output, 3))); in TEST()
348 EXPECT_EQ(sizeof(expected) - 1, Decode(buf, buf)); in TEST()
358 EXPECT_EQ(6u, Decode("-f__WW8h", output)); in TEST()
369 EXPECT_EQ(0u, Decode(std::string_view("nothing please", 0), buffer)); in TEST()
384 EXPECT_EQ(6u, Decode("FPucA9l+", output)); in TEST()
386 EXPECT_EQ(5u, Decode("FPucA9k=", output)); in TEST()
388 EXPECT_EQ(4u, Decode("FPucAw==", output)); in TEST()
[all …]
/external/lzma/CS/7zip/Compress/LZMA/
DLzmaDecoder.cs42 public uint Decode(RangeCoder.Decoder rangeDecoder, uint posState) in Decode() method in SevenZip.Compression.LZMA.Decoder.LenDecoder
44 if (m_Choice.Decode(rangeDecoder) == 0) in Decode()
45 return m_LowCoder[posState].Decode(rangeDecoder); in Decode()
49 if (m_Choice2.Decode(rangeDecoder) == 0) in Decode()
50 symbol += m_MidCoder[posState].Decode(rangeDecoder); in Decode()
54 symbol += m_HighCoder.Decode(rangeDecoder); in Decode()
73 symbol = (symbol << 1) | m_Decoders[symbol].Decode(rangeDecoder); in DecodeNormal()
85 uint bit = m_Decoders[((1 + matchBit) << 8) + symbol].Decode(rangeDecoder); in DecodeWithMatchByte()
90 symbol = (symbol << 1) | m_Decoders[symbol].Decode(rangeDecoder); in DecodeWithMatchByte()
243 if (m_IsMatchDecoders[state.Index << Base.kNumPosStatesBitsMax].Decode(m_RangeDecoder) != 0) in Code()
[all …]
/external/pdfium/core/fxcodec/jbig2/
DJBig2_GrdProc.cpp109 LTP = LTP ^ pArithDecoder->Decode(&gbContext[kOptConstant1[OPT]]); in DecodeArithOpt3()
129 int bVal = pArithDecoder->Decode(&gbContext[CONTEXT]); in DecodeArithOpt3()
145 int bVal = pArithDecoder->Decode(&gbContext[CONTEXT]); in DecodeArithOpt3()
166 int bVal = pArithDecoder->Decode(&gbContext[CONTEXT]); in DecodeArithOpt3()
180 int bVal = pArithDecoder->Decode(&gbContext[CONTEXT]); in DecodeArithOpt3()
212 LTP = LTP ^ pArithDecoder->Decode(&gbContext[kOptConstant1[UNOPT]]); in DecodeArithTemplateUnopt()
242 bVal = pArithDecoder->Decode(&gbContext[CONTEXT]); in DecodeArithTemplateUnopt()
274 LTP = LTP ^ pArithDecoder->Decode(&gbContext[0x0195]); in DecodeArithTemplate3Opt3()
291 int bVal = pArithDecoder->Decode(&gbContext[CONTEXT]); in DecodeArithTemplate3Opt3()
304 int bVal = pArithDecoder->Decode(&gbContext[CONTEXT]); in DecodeArithTemplate3Opt3()
[all …]
DJBig2_ArithIntDecoder.cpp35 int D = decoder->Decode(pCX); in RecursiveDecode()
50 bool CJBig2_ArithIntDecoder::Decode(CJBig2_ArithDecoder* pArithDecoder, in Decode() function in CJBig2_ArithIntDecoder
56 const int S = pArithDecoder->Decode(&m_IAx[PREV]); in Decode()
64 int D = pArithDecoder->Decode(&m_IAx[PREV]); in Decode()
95 void CJBig2_ArithIaidDecoder::Decode(CJBig2_ArithDecoder* pArithDecoder, in Decode() function in CJBig2_ArithIaidDecoder
100 int D = pArithDecoder->Decode(pCX); in Decode()
DJBig2_TrdProc.cpp190 IBI = pGRRD->Decode(pArithDecoder.get(), grContext); in DecodeHuffman()
239 if (!pIADT->Decode(pArithDecoder, &INITIAL_STRIPT)) in DecodeArith()
283 if (!pIADT->Decode(pArithDecoder, &INITIAL_DT)) in DecodeArith()
293 pIAFS->Decode(pArithDecoder, &DFS); in DecodeArith()
299 if (!pIADS->Decode(pArithDecoder, &IDS)) in DecodeArith()
310 pIAIT->Decode(pArithDecoder, &CURT); in DecodeArith()
318 pIAID->Decode(pArithDecoder, &IDI); in DecodeArith()
326 pIARI->Decode(pArithDecoder, &RI); in DecodeArith()
336 pIARDW->Decode(pArithDecoder, &RDWI); in DecodeArith()
337 pIARDH->Decode(pArithDecoder, &RDHI); in DecodeArith()
[all …]
DJBig2_GrrdProc.cpp20 std::unique_ptr<CJBig2_Image> CJBig2_GRRDProc::Decode( in Decode() function in CJBig2_GRRDProc
55 LTP = LTP ^ pArithDecoder->Decode(&grContext[0x0010]); in DecodeTemplate0Unopt()
80 int bVal = pArithDecoder->Decode(&grContext[CONTEXT]); in DecodeTemplate0Unopt()
99 bVal = pArithDecoder->Decode(&grContext[CONTEXT]); in DecodeTemplate0Unopt()
171 LTP = LTP ^ pArithDecoder->Decode(&grContext[0x0010]); in DecodeTemplate0Opt()
214 int bVal = pArithDecoder->Decode(&grContext[CONTEXT]); in DecodeTemplate0Opt()
263 bVal = pArithDecoder->Decode(&grContext[CONTEXT]); in DecodeTemplate0Opt()
296 LTP = LTP ^ pArithDecoder->Decode(&grContext[0x0008]); in DecodeTemplate1Unopt()
323 int bVal = pArithDecoder->Decode(&grContext[CONTEXT]); in DecodeTemplate1Unopt()
371 bVal = pArithDecoder->Decode(&grContext[CONTEXT]); in DecodeTemplate1Unopt()
[all …]
Djbig2module.cpp61 return Decode(pJbig2Context, succeeded); in StartDecode()
67 return Decode(pJbig2Context, succeeded); in ContinueDecode()
70 FXCODEC_STATUS Jbig2Module::Decode(Jbig2Context* pJbig2Context, in Decode() function in fxcodec::Jbig2Module
/external/pigweed/pw_varint/
Dvarint_test.cc439 size_t decoded = Decode(buffer_, &result); in TEST_F()
478 size_t decoded = Decode(buffer_, &result); in TEST_F()
523 EXPECT_EQ(Decode(MakeBuffer("\x00"), &value), 1u); in TEST()
526 EXPECT_EQ(Decode(MakeBuffer("\x01"), &value), 1u); in TEST()
529 EXPECT_EQ(Decode(MakeBuffer("\x02"), &value), 1u); in TEST()
532 EXPECT_EQ(Decode(MakeBuffer("\x03"), &value), 1u); in TEST()
535 EXPECT_EQ(Decode(MakeBuffer("\x04"), &value), 1u); in TEST()
538 EXPECT_EQ(Decode(MakeBuffer("\x04"), &value), 1u); in TEST()
579 EXPECT_EQ(Decode(MakeBuffer("\x80\x01"), &value), 2u); in TEST()
582 EXPECT_EQ(Decode(MakeBuffer("\x81\x01"), &value), 2u); in TEST()
[all …]
/external/brotli/java/org/brotli/dec/
DBrotliInputStream.java81 Decode.initState(state, source); in BrotliInputStream()
88 Decode.attachDictionaryChunk(state, data); in attachDictionaryChunk()
92 Decode.enableEagerOutput(state); in enableEagerOutput()
96 Decode.enableLargeWindow(state); in enableLargeWindow()
104 Decode.close(state); in close()
153 Decode.decompress(state); in read()
/external/pdfium/core/fxcodec/gif/
Dcfx_lzwdecompressor_unittest.cpp93 decompressor->Decode(nullptr, image_size, output_data, &output_size)); in TEST()
95 decompressor->Decode(image_data, 0, output_data, &output_size)); in TEST()
98 decompressor->Decode(image_data, image_size, nullptr, &output_size)); in TEST()
100 decompressor->Decode(image_data, image_size, output_data, nullptr)); in TEST()
105 decompressor->Decode(image_data, image_size, output_data, &output_size)); in TEST()
124 decompressor->Decode(image_data, image_size, output_data, &output_size)); in TEST()
156 decompressor->Decode(kImageData, image_size, output_data, &output_size)); in TEST()
190 decompressor->Decode(kImageData, image_size, output_data, &output_size)); in TEST()
215 decompressor->Decode(kImageData, image_size, output_data, &output_size)); in TEST()
/external/pigweed/pw_protobuf/
Ddecoder.cc52 varint::Decode(proto_, &key); in FieldNumber()
115 size_t key_size = varint::Decode(proto_, &key); in FieldSize()
127 expected_size = varint::Decode(remainder, &value); in FieldSize()
135 expected_size = varint::Decode(remainder, &value); in FieldSize()
160 size_t bytes_read = varint::Decode(proto_, &key); in ConsumeKey()
180 size_t bytes_read = varint::Decode(proto_, out); in ReadVarint()
217 size_t bytes_read = varint::Decode(proto_, &length); in ReadDelimited()
234 Status CallbackDecoder::Decode(std::span<const std::byte> proto) { in Decode() function in pw::protobuf::CallbackDecoder
Ddecoder_test.cc65 TEST(Decoder, Decode) { in TEST() argument
159 TEST(CallbackDecoder, Decode) { in TEST() argument
181 EXPECT_EQ(decoder.Decode(std::as_bytes(std::span(encoded_proto))), in TEST()
208 EXPECT_EQ(decoder.Decode(std::as_bytes(std::span(encoded_proto))), in TEST()
219 EXPECT_EQ(decoder.Decode(std::span<std::byte>()), OkStatus()); in TEST()
233 EXPECT_EQ(decoder.Decode(std::as_bytes(std::span(encoded_proto))), in TEST()
288 EXPECT_EQ(decoder.Decode(std::as_bytes(std::span(encoded_proto))), in TEST()
338 EXPECT_EQ(decoder.Decode(std::as_bytes(std::span(encoded_proto))), in TEST()
Dfind_test.cc48 decoder.Decode(std::as_bytes(std::span(encoded_proto))); in TEST()
59 decoder.Decode(std::as_bytes(std::span(encoded_proto))); in TEST()
71 decoder.Decode(std::as_bytes(std::span(encoded_proto))); in TEST()
84 decoder.Decode(std::as_bytes(std::span(encoded_proto))); in TEST()
/external/libgav1/libgav1/tests/fuzzer/
Ddecoder_fuzzer.cc39 void Decode(const uint8_t* const data, const size_t size, in Decode() function
64 Decode(data, size, &decoder); in LLVMFuzzerTestOneInput()
70 Decode(data + kIvfHeaderSize, size - kIvfHeaderSize, &decoder); in LLVMFuzzerTestOneInput()
82 Decode(buffer.data(), buffer.size(), &decoder); in LLVMFuzzerTestOneInput()
/external/llvm-project/lldb/source/Plugins/Trace/intel-pt/
DTraceIntelPT.cpp77 const DecodedThread *TraceIntelPT::Decode(const Thread &thread) { in Decode() function in TraceIntelPT
82 return &it->second.Decode(); in Decode()
86 const DecodedThread *decoded_thread = Decode(thread); in GetCursorPosition()
96 const DecodedThread *decoded_thread = Decode(thread); in TraverseInstructions()
110 if (const DecodedThread *decoded_thread = Decode(thread)) in GetInstructionCount()
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/
Dserialization.cc350 void Decode(const data::GPUObjectDescriptor* fb_obj, GPUObjectDescriptor* obj) { in Decode() function
381 void Decode(const data::BufferDescriptor* fb_desc, BufferDescriptor* desc) { in Decode() function
382 Decode(fb_desc->base_obj(), desc); in Decode()
413 void Decode(const data::Texture2DDescriptor* fb_desc, in Decode() function
415 Decode(fb_desc->base_obj(), desc); in Decode()
443 void Decode(const data::TensorLinearDescriptor* fb_desc, in Decode() function
445 Decode(fb_desc->base_obj(), desc); in Decode()
479 void Decode(const data::TensorDescriptor* fb_desc, TensorDescriptor* desc) { in Decode() function
480 Decode(fb_desc->base_obj(), desc); in Decode()
494 absl::Status Decode(const data::Arguments* fb_args, Arguments* args) { in Decode() function
[all …]
/external/lzma/CPP/7zip/Bundles/LzmaSpec/
DLzmaSpec.cpp249 unsigned Decode(CRangeDecoder *rc) in Decode() function in CBitTreeDecoder
295 unsigned Decode(CRangeDecoder *rc, unsigned posState) in Decode() function in CLenDecoder
298 return LowCoder[posState].Decode(rc); in Decode()
300 return 8 + MidCoder[posState].Decode(rc); in Decode()
301 return 16 + HighCoder.Decode(rc); in Decode()
354 int Decode(bool unpackSizeDefined, UInt64 unpackSize);
419 unsigned posSlot = PosSlotDecoder[lenState].Decode(&RangeDec); in DecodeDistance()
467 int CLzmaDecoder::Decode(bool unpackSizeDefined, UInt64 unpackSize) in Decode() function in CLzmaDecoder
532 len = RepLenDecoder.Decode(&RangeDec, posState); in Decode()
540 len = LenDecoder.Decode(&RangeDec, posState); in Decode()
[all …]
/external/pigweed/pw_rpc/nanopb/public/pw_rpc/internal/
Dnanopb_common.h42 return Decode(request_fields_, proto_struct, buffer); in DecodeRequest()
45 return Decode(response_fields_, proto_struct, buffer); in DecodeResponse()
55 bool Decode(NanopbMessageDescriptor fields,
/external/lzma/C/
DPpmd7Dec.c76 p->vt.Decode = Range_Decode; in Ppmd7z_RangeDec_CreateVTable()
94 rc->Decode(rc, 0, s->Freq); in Ppmd7_DecodeSymbol()
107 rc->Decode(rc, hiCnt - s->Freq, s->Freq); in Ppmd7_DecodeSymbol()
118 rc->Decode(rc, hiCnt, p->MinContext->SummFreq - hiCnt); in Ppmd7_DecodeSymbol()
178 rc->Decode(rc, hiCnt - s->Freq, s->Freq); in Ppmd7_DecodeSymbol()
187 rc->Decode(rc, hiCnt, freqSum - hiCnt); in Ppmd7_DecodeSymbol()
/external/lzma/Java/SevenZip/Compression/LZMA/
DDecoder.java38 …public int Decode(SevenZip.Compression.RangeCoder.Decoder rangeDecoder, int posState) throws IOExc… in Decode() method in Decoder.LenDecoder
41 return m_LowCoder[posState].Decode(rangeDecoder); in Decode()
44 symbol += m_MidCoder[posState].Decode(rangeDecoder); in Decode()
46 symbol += Base.kNumMidLenSymbols + m_HighCoder.Decode(rangeDecoder); in Decode()
262 len = m_RepLenDecoder.Decode(m_RangeDecoder, posState) + Base.kMatchMinLen; in Code()
271 len = Base.kMatchMinLen + m_LenDecoder.Decode(m_RangeDecoder, posState); in Code()
273 int posSlot = m_PosSlotDecoder[Base.GetLenToPosState(len)].Decode(m_RangeDecoder); in Code()
/external/tensorflow/tensorflow/core/util/ctc/
Dctc_beam_search_test.cc176 EXPECT_TRUE(decoder.Decode(seq_len, inputs, &outputs, &scores).ok()); in ctc_beam_search_decoding_with_and_without_dictionary()
188 dictionary_decoder.Decode(seq_len, inputs, &dict_outputs, &scores).ok()); in ctc_beam_search_decoding_with_and_without_dictionary()
234 EXPECT_TRUE(decoder.Decode(seq_len, inputs, &outputs, &scores).ok()); in ctc_beam_search_decoding_all_beam_elements_have_finite_scores()
339 EXPECT_TRUE(decoder.Decode(seq_len, inputs, &outputs, &scores).ok()); in ctc_beam_search_label_selection()
346 EXPECT_TRUE(decoder.Decode(seq_len, inputs, &outputs, &scores).ok()); in ctc_beam_search_label_selection()
353 EXPECT_TRUE(decoder.Decode(seq_len, inputs, &outputs, &scores).ok()); in ctc_beam_search_label_selection()
361 EXPECT_TRUE(decoder.Decode(seq_len, inputs, &outputs, &scores).ok()); in ctc_beam_search_label_selection()
368 EXPECT_TRUE(decoder.Decode(seq_len, inputs, &outputs, &scores).ok()); in ctc_beam_search_label_selection()
/external/lzma/CS/7zip/Compress/RangeCoder/
DRangeCoderBitTree.cs120 public uint Decode(RangeCoder.Decoder rangeDecoder) in Decode() method
124 m = (m << 1) + Models[m].Decode(rangeDecoder); in Decode()
134 uint bit = Models[m].Decode(rangeDecoder); in ReverseDecode()
149 uint bit = Models[startIndex + m].Decode(rangeDecoder); in ReverseDecode()
/external/tensorflow/tensorflow/core/framework/
Dvariant.cc26 bool Variant::Decode(VariantTensorData data) { in Decode() function in tensorflow::Variant
28 return GetValue()->Decode(std::move(data)); in Decode()
98 if (!variant_array[i].Decode(std::move(str))) return false; in DecodeVariantList()
/external/webrtc/video/
Dframe_dumping_decoder.cc29 int32_t Decode(const EncodedImage& input_image,
58 int32_t FrameDumpingDecoder::Decode(const EncodedImage& input_image, in Decode() function in webrtc::__anon2d7378340111::FrameDumpingDecoder
61 int32_t ret = decoder_->Decode(input_image, missing_frames, render_time_ms); in Decode()

12345678910>>...19