Home
last modified time | relevance | path

Searched refs:decoder (Results 1 – 25 of 822) sorted by relevance

12345678910>>...33

/external/libxaac/
DAndroid.bp14 "decoder",
15 "decoder/drc_src"
19 "decoder/ixheaacd_aacdecoder.c",
20 "decoder/ixheaacd_aacpluscheck.c",
21 "decoder/ixheaacd_aac_imdct.c",
22 "decoder/ixheaacd_aac_rom.c",
23 "decoder/ixheaacd_aac_tns.c",
24 "decoder/ixheaacd_acelp_bitparse.c",
25 "decoder/ixheaacd_acelp_decode.c",
26 "decoder/ixheaacd_acelp_mdct.c",
[all …]
/external/flac/libFLAC/
Dstream_decoder.c76 static void set_defaults_(FLAC__StreamDecoder *decoder);
78 static FLAC__bool allocate_output_(FLAC__StreamDecoder *decoder, unsigned size, unsigned channels);
79 static FLAC__bool has_id_filtered_(FLAC__StreamDecoder *decoder, FLAC__byte *id);
80 static FLAC__bool find_metadata_(FLAC__StreamDecoder *decoder);
81 static FLAC__bool read_metadata_(FLAC__StreamDecoder *decoder);
82 static FLAC__bool read_metadata_streaminfo_(FLAC__StreamDecoder *decoder, FLAC__bool is_last, unsig…
83 static FLAC__bool read_metadata_seektable_(FLAC__StreamDecoder *decoder, FLAC__bool is_last, unsign…
84 static FLAC__bool read_metadata_vorbiscomment_(FLAC__StreamDecoder *decoder, FLAC__StreamMetadata_V…
85 static FLAC__bool read_metadata_cuesheet_(FLAC__StreamDecoder *decoder, FLAC__StreamMetadata_CueShe…
86 static FLAC__bool read_metadata_picture_(FLAC__StreamDecoder *decoder, FLAC__StreamMetadata_Picture…
[all …]
/external/freetype/src/psaux/
Dpsft.c95 PS_Decoder* decoder = outline->decoder; in cf2_setGlyphWidth() local
98 FT_ASSERT( decoder ); in cf2_setGlyphWidth()
100 if ( !decoder->builder.is_t1 ) in cf2_setGlyphWidth()
101 *decoder->glyph_width = cf2_fixedToInt( width ); in cf2_setGlyphWidth()
141 FT_ASSERT( outline && outline->decoder ); in cf2_builder_moveTo()
144 builder = &outline->decoder->builder; in cf2_builder_moveTo()
163 FT_ASSERT( outline && outline->decoder ); in cf2_builder_lineTo()
166 builder = &outline->decoder->builder; in cf2_builder_lineTo()
207 FT_ASSERT( outline && outline->decoder ); in cf2_builder_cubeTo()
210 builder = &outline->decoder->builder; in cf2_builder_cubeTo()
[all …]
Dt1decode.c133 t1_lookup_glyph_by_stdcharcode_ps( PS_Decoder* decoder, in t1_lookup_glyph_by_stdcharcode_ps() argument
138 FT_Service_PsCMaps psnames = decoder->psnames; in t1_lookup_glyph_by_stdcharcode_ps()
148 for ( n = 0; n < decoder->num_glyphs; n++ ) in t1_lookup_glyph_by_stdcharcode_ps()
150 FT_String* name = (FT_String*)decoder->glyph_names[n]; in t1_lookup_glyph_by_stdcharcode_ps()
186 t1_lookup_glyph_by_stdcharcode( T1_Decoder decoder, in t1_lookup_glyph_by_stdcharcode() argument
191 FT_Service_PsCMaps psnames = decoder->psnames; in t1_lookup_glyph_by_stdcharcode()
201 for ( n = 0; n < decoder->num_glyphs; n++ ) in t1_lookup_glyph_by_stdcharcode()
203 FT_String* name = (FT_String*)decoder->glyph_names[n]; in t1_lookup_glyph_by_stdcharcode()
218 t1_decoder_parse_glyph( T1_Decoder decoder, in t1_decoder_parse_glyph() argument
221 return decoder->parse_callback( decoder, glyph ); in t1_decoder_parse_glyph()
[all …]
Dpsft.h60 cf2_decoder_parse_charstrings( PS_Decoder* decoder,
65 cf2_getSubfont( PS_Decoder* decoder );
68 cf2_getVStore( PS_Decoder* decoder );
71 cf2_getMaxstack( PS_Decoder* decoder );
75 cf2_getNormalizedVector( PS_Decoder* decoder,
81 cf2_getPpemY( PS_Decoder* decoder );
83 cf2_getStdVW( PS_Decoder* decoder );
85 cf2_getStdHW( PS_Decoder* decoder );
88 cf2_getBlueMetrics( PS_Decoder* decoder,
93 cf2_getBlueValues( PS_Decoder* decoder,
[all …]
Dcffdecode.c215 cff_operator_seac( CFF_Decoder* decoder, in cff_operator_seac() argument
223 CFF_Builder* builder = &decoder->builder; in cff_operator_seac()
225 TT_Face face = decoder->builder.face; in cff_operator_seac()
232 if ( decoder->seac ) in cff_operator_seac()
238 adx += decoder->builder.left_bearing.x; in cff_operator_seac()
239 ady += decoder->builder.left_bearing.y; in cff_operator_seac()
307 error = decoder->get_glyph_callback( face, (FT_UInt)bchar_index, in cff_operator_seac()
312 decoder->seac = TRUE; in cff_operator_seac()
313 error = cff_decoder_parse_charstrings( decoder, charstring, in cff_operator_seac()
315 decoder->seac = FALSE; in cff_operator_seac()
[all …]
/external/python/pyasn1/tests/codec/ber/
Dtest_decoder.py22 from pyasn1.codec.ber import decoder
30 assert decoder.decode(ints2octs((127, 141, 245, 182, 253, 47, 3, 2, 1, 1))) == (1, null)
33 assert decoder.decode(ints2octs((0x1f, 2, 1, 0)))[0].tagSet == univ.Integer.tagSet
37 …assert decoder.decode(ints2octs((0x9f, 0x80, 0x00, 0x02, 0x01, 0x02)), asn1Spec=integer) == decode…
43 … assert decoder.decode(ints2octs((0x1f, 2, 1, 0))) == decoder.decode(ints2octs((0x1f, 2, 1, 0)))
48 assert decoder.decode(ints2octs((2, 1, 12))) == (12, null)
51 assert decoder.decode(ints2octs((2, 1, 244))) == (-12, null)
54 assert decoder.decode(ints2octs((2, 0))) == (0, null)
57 assert decoder.decode(ints2octs((2, 1, 0))) == (0, null)
60 assert decoder.decode(ints2octs((2, 1, 255))) == (-1, null)
[all …]
/external/flac/include/FLAC/
Dstream_decoder.h517 …ReadStatus (*FLAC__StreamDecoderReadCallback)(const FLAC__StreamDecoder *decoder, FLAC__byte buffe…
552 …SeekStatus (*FLAC__StreamDecoderSeekCallback)(const FLAC__StreamDecoder *decoder, FLAC__uint64 abs…
590 …TellStatus (*FLAC__StreamDecoderTellCallback)(const FLAC__StreamDecoder *decoder, FLAC__uint64 *ab…
628 …thStatus (*FLAC__StreamDecoderLengthCallback)(const FLAC__StreamDecoder *decoder, FLAC__uint64 *st…
655 typedef FLAC__bool (*FLAC__StreamDecoderEofCallback)(const FLAC__StreamDecoder *decoder, void *clie…
683 …iteStatus (*FLAC__StreamDecoderWriteCallback)(const FLAC__StreamDecoder *decoder, const FLAC__Fram…
710 typedef void (*FLAC__StreamDecoderMetadataCallback)(const FLAC__StreamDecoder *decoder, const FLAC_…
727 typedef void (*FLAC__StreamDecoderErrorCallback)(const FLAC__StreamDecoder *decoder, FLAC__StreamDe…
751 FLAC_API void FLAC__stream_decoder_delete(FLAC__StreamDecoder *decoder);
776 FLAC_API FLAC__bool FLAC__stream_decoder_set_ogg_serial_number(FLAC__StreamDecoder *decoder, long s…
[all …]
/external/freetype/src/type1/
Dt1gload.c43 T1_Parse_Glyph_And_Get_Char_String( T1_Decoder decoder, in T1_Parse_Glyph_And_Get_Char_String() argument
48 T1_Face face = (T1_Face)decoder->builder.face; in T1_Parse_Glyph_And_Get_Char_String()
66 decoder->font_matrix = type1->font_matrix; in T1_Parse_Glyph_And_Get_Char_String()
67 decoder->font_offset = type1->font_offset; in T1_Parse_Glyph_And_Get_Char_String()
91 decoder->builder.metrics_only ) in T1_Parse_Glyph_And_Get_Char_String()
93 decoder, in T1_Parse_Glyph_And_Get_Char_String()
97 if ( decoder->builder.metrics_only ) in T1_Parse_Glyph_And_Get_Char_String()
99 decoder, in T1_Parse_Glyph_And_Get_Char_String()
108 psaux->ps_decoder_init( &psdecoder, decoder, TRUE ); in T1_Parse_Glyph_And_Get_Char_String()
126 ((T1_GlyphSlot)decoder->builder.glyph)->hint = FALSE; in T1_Parse_Glyph_And_Get_Char_String()
[all …]
/external/v8/src/wasm/
Dfunction-body-decoder.cc56 DCHECK(decoder->ok()); \
57 return CheckForException(decoder, builder_->func(__VA_ARGS__)); \
87 void StartFunction(FullDecoder* decoder) { in StartFunction() argument
89 reinterpret_cast<SsaEnv*>(decoder->zone()->New(sizeof(SsaEnv))); in StartFunction()
90 uint32_t num_locals = decoder->NumLocals(); in StartFunction()
95 size > 0 ? reinterpret_cast<TFNode**>(decoder->zone()->New(size)) in StartFunction()
101 static_cast<int>(decoder->sig_->parameter_count() + 1 + 1)); in StartFunction()
107 for (; index < decoder->sig_->parameter_count(); ++index) { in StartFunction()
111 ValueType type = decoder->GetLocalType(index); in StartFunction()
113 while (index < num_locals && decoder->GetLocalType(index) == type) { in StartFunction()
[all …]
Dmodule-decoder.cc94 bool validate_utf8(Decoder* decoder, WireBytesRef string) { in validate_utf8() argument
96 decoder->start() + decoder->GetBufferRelativeOffset(string.offset()), in validate_utf8()
125 WireBytesRef consume_string(Decoder& decoder, bool validate_utf8, in consume_string() argument
127 uint32_t length = decoder.consume_u32v("string length"); in consume_string()
128 uint32_t offset = decoder.pc_offset(); in consume_string()
129 const byte* string_start = decoder.pc(); in consume_string()
132 decoder.consume_bytes(length, name); in consume_string()
133 if (decoder.ok() && validate_utf8 && in consume_string()
135 decoder.errorf(string_start, "%s: no valid UTF-8 string", name); in consume_string()
138 return {offset, decoder.failed() ? 0 : length}; in consume_string()
[all …]
/external/protobuf/js/binary/
Ddecoder_test.js73 var decoder = jspb.BinaryDecoder.alloc(encoder.end());
76 assertEquals(filter(0), readValue.call(decoder));
77 assertEquals(filter(epsilon), readValue.call(decoder));
78 assertEquals(filter(upperLimit), readValue.call(decoder));
82 if (filter(cursor) != readValue.call(decoder)) throw 'fail!';
128 var decoder = jspb.BinaryDecoder.alloc(encoder.end());
131 assertEquals(filter(lowerLimit), readValue.call(decoder));
132 assertEquals(filter(-epsilon), readValue.call(decoder));
133 assertEquals(filter(0), readValue.call(decoder));
134 assertEquals(filter(epsilon), readValue.call(decoder));
[all …]
/external/libmpeg2/
DAndroid.bp17 "decoder",
31 "decoder/impeg2d_api_main.c",
32 "decoder/impeg2d_bitstream.c",
33 "decoder/impeg2d_debug.c",
34 "decoder/impeg2d_dec_hdr.c",
35 "decoder/impeg2d_decoder.c",
36 "decoder/impeg2d_d_pic.c",
37 "decoder/impeg2d_function_selector_generic.c",
38 "decoder/impeg2d_globals.c",
39 "decoder/impeg2d_i_pic.c",
[all …]
/external/brotli/java/org/brotli/wrapper/dec/
DBrotliInputStream.java20 private final Decoder decoder; field in BrotliInputStream
30 this.decoder = new Decoder(Channels.newChannel(source), bufferSize); in BrotliInputStream()
38 decoder.setEager(eager); in setEager()
43 decoder.close(); in close()
48 return (decoder.buffer != null) ? decoder.buffer.remaining() : 0; in available()
53 if (decoder.closed) { in read()
59 decoded = decoder.decode(); in read()
68 return decoder.buffer.get() & 0xFF; in read()
78 if (decoder.closed) { in read()
81 if (decoder.decode() == -1) { in read()
[all …]
DDecoder.java21 private final DecoderJNI.Wrapper decoder; field in Decoder
41 this.decoder = new DecoderJNI.Wrapper(inputBufferSize); in Decoder()
72 switch (decoder.getStatus()) { in decode()
77 decoder.push(0); in decode()
82 if (eager && decoder.hasOutput()) { in decode()
83 buffer = decoder.pull(); in decode()
86 ByteBuffer inputBuffer = decoder.getInputBuffer(); in decode()
97 decoder.push(bytesRead); in decode()
101 buffer = decoder.pull(); in decode()
131 decoder.destroy(); in close()
[all …]
/external/freetype/src/cid/
Dcidgload.c45 cid_load_glyph( T1_Decoder decoder, in cid_load_glyph() argument
48 CID_Face face = (CID_Face)decoder->builder.face; in cid_load_glyph()
151 decoder->num_subrs = cid_subrs->num_subrs; in cid_load_glyph()
152 decoder->subrs = cid_subrs->code; in cid_load_glyph()
153 decoder->subrs_len = 0; in cid_load_glyph()
154 decoder->subrs_hash = NULL; in cid_load_glyph()
159 decoder->font_matrix = dict->font_matrix; in cid_load_glyph()
160 decoder->font_offset = dict->font_offset; in cid_load_glyph()
161 decoder->lenIV = dict->private_dict.lenIV; in cid_load_glyph()
166 cs_offset = decoder->lenIV >= 0 ? (FT_UInt)decoder->lenIV : 0; in cid_load_glyph()
[all …]
/external/libvpx/libvpx/vp8/
Dvp8dx.mk23 VP8_DX_SRCS-yes += decoder/dboolhuff.c
24 VP8_DX_SRCS-yes += decoder/decodemv.c
25 VP8_DX_SRCS-yes += decoder/decodeframe.c
26 VP8_DX_SRCS-yes += decoder/detokenize.c
27 VP8_DX_SRCS-$(CONFIG_ERROR_CONCEALMENT) += decoder/ec_types.h
28 VP8_DX_SRCS-$(CONFIG_ERROR_CONCEALMENT) += decoder/error_concealment.h
29 VP8_DX_SRCS-$(CONFIG_ERROR_CONCEALMENT) += decoder/error_concealment.c
30 VP8_DX_SRCS-yes += decoder/dboolhuff.h
31 VP8_DX_SRCS-yes += decoder/decodemv.h
32 VP8_DX_SRCS-yes += decoder/decoderthreading.h
[all …]
/external/freetype/src/sfnt/
Dttsbit.c491 tt_sbit_decoder_init( TT_SBitDecoder decoder, in tt_sbit_decoder_init() argument
507 decoder->face = face; in tt_sbit_decoder_init()
508 decoder->stream = stream; in tt_sbit_decoder_init()
509 decoder->bitmap = &face->root.glyph->bitmap; in tt_sbit_decoder_init()
510 decoder->metrics = metrics; in tt_sbit_decoder_init()
512 decoder->metrics_loaded = 0; in tt_sbit_decoder_init()
513 decoder->bitmap_allocated = 0; in tt_sbit_decoder_init()
515 decoder->ebdt_start = face->ebdt_start; in tt_sbit_decoder_init()
516 decoder->ebdt_size = face->ebdt_size; in tt_sbit_decoder_init()
518 decoder->eblc_base = face->sbit_table; in tt_sbit_decoder_init()
[all …]
/external/libavc/
DAndroid.bp16 "decoder",
33 "decoder/ih264d_cabac.c",
34 "decoder/ih264d_parse_mb_header.c",
35 "decoder/ih264d_parse_cabac.c",
36 "decoder/ih264d_process_intra_mb.c",
37 "decoder/ih264d_inter_pred.c",
38 "decoder/ih264d_parse_bslice.c",
39 "decoder/ih264d_parse_pslice.c",
40 "decoder/ih264d_parse_islice.c",
41 "decoder/ih264d_cabac_init_tables.c",
[all …]
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/compressors/deflate64/
DHuffmanDecoderTest.java37 HuffmanDecoder decoder = new HuffmanDecoder(new ByteArrayInputStream(data)); in decodeUncompressedBlock() local
39 int len = decoder.decode(result); in decodeUncompressedBlock()
53 HuffmanDecoder decoder = new HuffmanDecoder(new ByteArrayInputStream(data)); in decodeUncompressedBlockWithInvalidLenNLenValue() local
56 int len = decoder.decode(result); in decodeUncompressedBlockWithInvalidLenNLenValue()
82 HuffmanDecoder decoder = new HuffmanDecoder(new ByteArrayInputStream(data)); in decodeSimpleFixedHuffmanBlock() local
84 int len = decoder.decode(result); in decodeSimpleFixedHuffmanBlock()
109 HuffmanDecoder decoder = new HuffmanDecoder(new ByteArrayInputStream(data)); in decodeSimpleFixedHuffmanBlockToSmallBuffer() local
112 len = decoder.decode(result); in decodeSimpleFixedHuffmanBlockToSmallBuffer()
115 len = decoder.decode(result); in decodeSimpleFixedHuffmanBlockToSmallBuffer()
143 HuffmanDecoder decoder = new HuffmanDecoder(new ByteArrayInputStream(data)); in decodeFixedHuffmanBlockWithMemoryLookup() local
[all …]
/external/libchrome/mojo/public/js/lib/
Dcodec.js212 var decoder = this.decodeAndCreateDecoder(pointer);
213 return decoder.decodeMap(keyClass, valueClass);
486 var decoder = new Decoder(this.buffer, this.handles,
489 var payloadInterfaceIds = decoder.decodeArrayPointer(Uint32);
516 var decoder = new Decoder(this.buffer, this.handles,
519 var payloadInterfaceIdsOffset = decoder.decodePointer();
690 this.decoder = new Decoder(message.buffer, message.handles,
692 var messageHeaderSize = this.decoder.readUint32();
694 var version = this.decoder.readUint32();
695 var interface_id = this.decoder.readUint32();
[all …]
/external/perfetto/src/trace_processor/
Dproto_trace_tokenizer.cc59 protozero::ProtoDecoder decoder(message_start, message_size); in InternMessage() local
61 auto field = decoder.FindField(kIidFieldNumber); in InternMessage()
89 protos::pbzero::Trace::Decoder decoder(data, std::min(size, kMaxScanSize)); in GuessProtoTraceType() local
90 if (!decoder.has_packet()) in GuessProtoTraceType()
92 for (auto it = decoder.packet(); it; ++it) { in GuessProtoTraceType()
178 protos::pbzero::Trace::Decoder decoder(data, size); in ParseInternal() local
179 for (auto it = decoder.packet(); it; ++it) { in ParseInternal()
184 const size_t bytes_left = decoder.bytes_left(); in ParseInternal()
187 partial_buf_.insert(partial_buf_.end(), &data[decoder.read_offset()], in ParseInternal()
188 &data[decoder.read_offset() + bytes_left]); in ParseInternal()
[all …]
/external/libhevc/
DAndroid.bp20 "decoder",
56 "decoder/ihevcd_version.c",
57 "decoder/ihevcd_api.c",
58 "decoder/ihevcd_decode.c",
59 "decoder/ihevcd_nal.c",
60 "decoder/ihevcd_bitstream.c",
61 "decoder/ihevcd_parse_headers.c",
62 "decoder/ihevcd_parse_slice_header.c",
63 "decoder/ihevcd_parse_slice.c",
64 "decoder/ihevcd_parse_residual.c",
[all …]
/external/v8/src/wasm/baseline/
Dliftoff-compiler.cc167 void unsupported(FullDecoder* decoder, const char* reason) { in unsupported() argument
170 decoder->errorf(decoder->pc(), "unsupported liftoff operation: %s", reason); in unsupported()
171 BindUnboundLabels(decoder); in unsupported()
174 bool DidAssemblerBailout(FullDecoder* decoder) { in DidAssemblerBailout() argument
175 if (decoder->failed() || !__ did_bailout()) return false; in DidAssemblerBailout()
176 unsupported(decoder, __ bailout_reason()); in DidAssemblerBailout()
180 bool CheckSupportedType(FullDecoder* decoder, in CheckSupportedType() argument
189 unsupported(decoder, buffer); in CheckSupportedType()
197 void BindUnboundLabels(FullDecoder* decoder) { in BindUnboundLabels() argument
201 uint32_t control_depth = decoder ? decoder->control_depth() : 0; in BindUnboundLabels()
[all …]
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/deflate64/
DDeflate64CompressorInputStream.java36 private HuffmanDecoder decoder; field in Deflate64CompressorInputStream
50 Deflate64CompressorInputStream(HuffmanDecoder decoder) { in Deflate64CompressorInputStream() argument
51 this.decoder = decoder; in Deflate64CompressorInputStream()
80 if (decoder != null) { in read()
81 read = decoder.decode(b, off, len); in read()
82 compressedBytesRead = decoder.getBytesRead(); in read()
93 return decoder != null ? decoder.available() : 0; in available()
117 closeQuietly(decoder); in closeDecoder()
118 decoder = null; in closeDecoder()

12345678910>>...33