/external/flac/libFLAC/ |
D | stream_encoder.c | 134 static void set_defaults_(FLAC__StreamEncoder *encoder); 135 static void free_(FLAC__StreamEncoder *encoder); 136 static FLAC__bool resize_buffers_(FLAC__StreamEncoder *encoder, unsigned new_blocksize); 137 static FLAC__bool write_bitbuffer_(FLAC__StreamEncoder *encoder, unsigned samples, FLAC__bool is_la… 138 static FLAC__StreamEncoderWriteStatus write_frame_(FLAC__StreamEncoder *encoder, const FLAC__byte b… 139 static void update_metadata_(const FLAC__StreamEncoder *encoder); 141 static void update_ogg_metadata_(FLAC__StreamEncoder *encoder); 143 static FLAC__bool process_frame_(FLAC__StreamEncoder *encoder, FLAC__bool is_fractional_block, FLAC… 144 static FLAC__bool process_subframes_(FLAC__StreamEncoder *encoder, FLAC__bool is_fractional_block); 147 FLAC__StreamEncoder *encoder, [all …]
|
D | ogg_helper.c | 45 static FLAC__bool full_read_(FLAC__StreamEncoder *encoder, FLAC__byte *buffer, size_t bytes, FLAC__… in full_read_() argument 49 switch(read_callback(encoder, buffer, &bytes_read, client_data)) { in full_read_() 56 encoder->protected_->state = FLAC__STREAM_ENCODER_OGG_ERROR; in full_read_() 63 encoder->protected_->state = FLAC__STREAM_ENCODER_CLIENT_ERROR; in full_read_() 70 encoder->protected_->state = FLAC__STREAM_ENCODER_CLIENT_ERROR; in full_read_() 95 FLAC__bool simple_ogg_page__get_at(FLAC__StreamEncoder *encoder, FLAC__uint64 position, ogg_page *p… in simple_ogg_page__get_at() argument 110 …if((seek_status = seek_callback((FLAC__StreamEncoder*)encoder, position, client_data)) != FLAC__ST… in simple_ogg_page__get_at() 112 encoder->protected_->state = FLAC__STREAM_ENCODER_CLIENT_ERROR; in simple_ogg_page__get_at() 118 encoder->protected_->state = FLAC__STREAM_ENCODER_MEMORY_ALLOCATION_ERROR; in simple_ogg_page__get_at() 124 if(!full_read_(encoder, page->header, OGG_HEADER_FIXED_PORTION_LEN, read_callback, client_data)) in simple_ogg_page__get_at() [all …]
|
/external/libvpx/libvpx/vp9/ |
D | vp9cx.mk | 20 VP9_CX_SRCS-yes += encoder/vp9_bitstream.c 21 VP9_CX_SRCS-yes += encoder/vp9_context_tree.c 22 VP9_CX_SRCS-yes += encoder/vp9_context_tree.h 23 VP9_CX_SRCS-yes += encoder/vp9_cost.h 24 VP9_CX_SRCS-yes += encoder/vp9_cost.c 25 VP9_CX_SRCS-yes += encoder/vp9_dct.c 26 VP9_CX_SRCS-$(CONFIG_VP9_TEMPORAL_DENOISING) += encoder/vp9_denoiser.c 27 VP9_CX_SRCS-$(CONFIG_VP9_TEMPORAL_DENOISING) += encoder/vp9_denoiser.h 28 VP9_CX_SRCS-yes += encoder/vp9_encodeframe.c 29 VP9_CX_SRCS-yes += encoder/vp9_encodeframe.h [all …]
|
/external/libvpx/libvpx/vp8/ |
D | vp8cx.mk | 23 VP8_CX_SRCS-yes += encoder/defaultcoefcounts.h 24 VP8_CX_SRCS-yes += encoder/bitstream.c 25 VP8_CX_SRCS-yes += encoder/boolhuff.c 26 VP8_CX_SRCS-yes += encoder/dct.c 27 VP8_CX_SRCS-yes += encoder/encodeframe.c 28 VP8_CX_SRCS-yes += encoder/encodeframe.h 29 VP8_CX_SRCS-yes += encoder/encodeintra.c 30 VP8_CX_SRCS-yes += encoder/encodemb.c 31 VP8_CX_SRCS-yes += encoder/encodemv.c 32 VP8_CX_SRCS-$(CONFIG_MULTITHREAD) += encoder/ethreading.c [all …]
|
/external/flac/include/FLAC/ |
D | stream_encoder.h | 519 …ReadStatus (*FLAC__StreamEncoderReadCallback)(const FLAC__StreamEncoder *encoder, FLAC__byte buffe… 557 …iteStatus (*FLAC__StreamEncoderWriteCallback)(const FLAC__StreamEncoder *encoder, const FLAC__byte… 591 …SeekStatus (*FLAC__StreamEncoderSeekCallback)(const FLAC__StreamEncoder *encoder, FLAC__uint64 abs… 636 …TellStatus (*FLAC__StreamEncoderTellCallback)(const FLAC__StreamEncoder *encoder, FLAC__uint64 *ab… 655 typedef void (*FLAC__StreamEncoderMetadataCallback)(const FLAC__StreamEncoder *encoder, const FLAC_… 678 typedef void (*FLAC__StreamEncoderProgressCallback)(const FLAC__StreamEncoder *encoder, FLAC__uint6… 702 FLAC_API void FLAC__stream_encoder_delete(FLAC__StreamEncoder *encoder); 728 FLAC_API FLAC__bool FLAC__stream_encoder_set_ogg_serial_number(FLAC__StreamEncoder *encoder, long s… 744 FLAC_API FLAC__bool FLAC__stream_encoder_set_verify(FLAC__StreamEncoder *encoder, FLAC__bool value); 762 FLAC_API FLAC__bool FLAC__stream_encoder_set_streamable_subset(FLAC__StreamEncoder *encoder, FLAC__… [all …]
|
/external/python/pyasn1/tests/codec/ber/ |
D | test_encoder.py | 22 from pyasn1.codec.ber import encoder 36 assert encoder.encode(self.o) == ints2octs((127, 141, 245, 182, 253, 47, 3, 2, 1, 1)) 41 assert encoder.encode(univ.Integer(12)) == ints2octs((2, 1, 12)) 44 assert encoder.encode(univ.Integer(-12)) == ints2octs((2, 1, 244)) 47 assert encoder.encode(univ.Integer(0)) == ints2octs((2, 1, 0)) 50 encoder.IntegerEncoder.supportCompactZero = True 51 substrate = encoder.encode(univ.Integer(0)) 52 encoder.IntegerEncoder.supportCompactZero = False 56 assert encoder.encode(univ.Integer(-1)) == ints2octs((2, 1, 255)) 59 assert encoder.encode( [all …]
|
/external/libaom/libaom/av1/ |
D | av1.cmake | 109 "${AOM_ROOT}/av1/encoder/aq_complexity.c" 110 "${AOM_ROOT}/av1/encoder/aq_complexity.h" 111 "${AOM_ROOT}/av1/encoder/aq_cyclicrefresh.c" 112 "${AOM_ROOT}/av1/encoder/aq_cyclicrefresh.h" 113 "${AOM_ROOT}/av1/encoder/aq_variance.c" 114 "${AOM_ROOT}/av1/encoder/aq_variance.h" 115 "${AOM_ROOT}/av1/encoder/av1_fwd_txfm1d.c" 116 "${AOM_ROOT}/av1/encoder/av1_fwd_txfm1d.h" 117 "${AOM_ROOT}/av1/encoder/av1_fwd_txfm1d_cfg.h" 118 "${AOM_ROOT}/av1/encoder/av1_fwd_txfm2d.c" [all …]
|
/external/libvpx/ |
D | Android.bp | 51 "libvpx/vp8/encoder/arm/neon/denoising_neon.c", 52 "libvpx/vp8/encoder/arm/neon/fastquantizeb_neon.c", 53 "libvpx/vp8/encoder/arm/neon/shortfdct_neon.c", 54 "libvpx/vp8/encoder/arm/neon/vp8_shortwalsh4x4_neon.c", 55 "libvpx/vp8/encoder/bitstream.c", 56 "libvpx/vp8/encoder/boolhuff.c", 57 "libvpx/vp8/encoder/dct.c", 58 "libvpx/vp8/encoder/denoising.c", 59 "libvpx/vp8/encoder/encodeframe.c", 60 "libvpx/vp8/encoder/encodeintra.c", [all …]
|
/external/libhevc/ |
D | Android.bp | 430 "encoder", 459 "encoder/bit_allocation.c", 460 "encoder/cbr_buffer_control.c", 461 "encoder/common_rom.c", 462 "encoder/convert_float_to_fix.c", 463 "encoder/est_sad.c", 464 "encoder/fixed_point_error_bits.c", 465 "encoder/frame_info_collector.c", 466 "encoder/hme_coarse.c", 467 "encoder/hme_common_utils.c", [all …]
|
/external/libavc/ |
D | Android.bp | 263 "encoder", 286 "encoder/ih264e_globals.c", 287 "encoder/ih264e_intra_modes_eval.c", 288 "encoder/ih264e_half_pel.c", 289 "encoder/ih264e_mc.c", 290 "encoder/ih264e_me.c", 291 "encoder/ih264e_rc_mem_interface.c", 292 "encoder/ih264e_time_stamp.c", 293 "encoder/ih264e_modify_frm_rate.c", 294 "encoder/ih264e_rate_control.c", [all …]
|
/external/libaom/ |
D | Android.bp | 123 "libaom/av1/encoder/x86/dct_sse2.asm", 124 "libaom/av1/encoder/x86/error_sse2.asm", 128 "libaom/av1/encoder/x86/av1_quantize_ssse3_x86_64.asm", 132 "libaom/av1/encoder/x86/av1_quantize_avx2.c", 133 "libaom/av1/encoder/x86/av1_highbd_quantize_avx2.c", 134 "libaom/av1/encoder/x86/corner_match_avx2.c", 135 "libaom/av1/encoder/x86/error_intrin_avx2.c", 136 "libaom/av1/encoder/x86/highbd_block_error_intrin_avx2.c", 137 "libaom/av1/encoder/x86/av1_fwd_txfm2d_avx2.c", 138 "libaom/av1/encoder/x86/highbd_fwd_txfm_avx2.c", [all …]
|
/external/python/pyasn1/tests/codec/cer/ |
D | test_encoder.py | 20 from pyasn1.codec.cer import encoder 27 assert encoder.encode(univ.Boolean(1)) == ints2octs((1, 1, 255)) 30 assert encoder.encode(univ.Boolean(0)) == ints2octs((1, 1, 0)) 35 assert encoder.encode( 40 …assert encoder.encode(univ.BitString((1, 0) * 501)) == ints2octs((3, 127, 6) + (170,) * 125 + (128… 45 assert encoder.encode( 50 assert encoder.encode( 68 assert encoder.encode( 78 assert encoder.encode( 89 assert encoder.encode( [all …]
|
/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/ |
D | MediaCodecVideoEncoderTest.java | 52 MediaCodecVideoEncoder encoder = new MediaCodecVideoEncoder(); in testInitializeUsingByteBuffer() local 53 assertTrue(encoder.initEncode( in testInitializeUsingByteBuffer() 55 encoder.release(); in testInitializeUsingByteBuffer() 65 MediaCodecVideoEncoder encoder = new MediaCodecVideoEncoder(); in testInitilizeUsingTextures() local 66 assertTrue(encoder.initEncode( in testInitilizeUsingTextures() 69 encoder.release(); in testInitilizeUsingTextures() 79 MediaCodecVideoEncoder encoder = new MediaCodecVideoEncoder(); in testInitializeUsingByteBufferReInitilizeUsingTextures() local 80 assertTrue(encoder.initEncode( in testInitializeUsingByteBufferReInitilizeUsingTextures() 83 encoder.release(); in testInitializeUsingByteBufferReInitilizeUsingTextures() 85 assertTrue(encoder.initEncode( in testInitializeUsingByteBufferReInitilizeUsingTextures() [all …]
|
/external/protobuf/python/google/protobuf/internal/ |
D | type_checkers.py | 55 from google.protobuf.internal import encoder 263 _FieldDescriptor.TYPE_DOUBLE: encoder.DoubleEncoder, 264 _FieldDescriptor.TYPE_FLOAT: encoder.FloatEncoder, 265 _FieldDescriptor.TYPE_INT64: encoder.Int64Encoder, 266 _FieldDescriptor.TYPE_UINT64: encoder.UInt64Encoder, 267 _FieldDescriptor.TYPE_INT32: encoder.Int32Encoder, 268 _FieldDescriptor.TYPE_FIXED64: encoder.Fixed64Encoder, 269 _FieldDescriptor.TYPE_FIXED32: encoder.Fixed32Encoder, 270 _FieldDescriptor.TYPE_BOOL: encoder.BoolEncoder, 271 _FieldDescriptor.TYPE_STRING: encoder.StringEncoder, [all …]
|
/external/libchrome/mojo/public/js/lib/ |
D | codec.js | 376 var encoder = this.createAndEncodeEncoder(cls.encodedSize); 377 cls.encode(encoder, val); 393 var encoder = this.createAndEncodeEncoder(encodedSize); 394 encoder.encodeArray(cls, val, numberOfElements, encodedSize); 408 var encoder = this.createAndEncodeEncoder(encodedSize); 409 encoder.encodeString(val); 436 var encoder = this.createAndEncodeEncoder(encodedSize); 437 encoder.encodeMap(keyClass, valueClass, val); 520 var encoder = new Encoder(this.buffer, this.handles, 523 encoder.encodeArray(Uint32, payloadInterfaceIds); [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_multibytecodec.py | 78 encoder = codecs.getincrementalencoder('cp949')() 79 self.assertEqual(encoder.encode('\ud30c\uc774\uc36c \ub9c8\uc744'), 81 self.assertEqual(encoder.reset(), None) 82 self.assertEqual(encoder.encode('\u2606\u223c\u2606', True), 84 self.assertEqual(encoder.reset(), None) 85 self.assertEqual(encoder.encode('', True), b'') 86 self.assertEqual(encoder.encode('', False), b'') 87 self.assertEqual(encoder.reset(), None) 95 encoder = codecs.getincrementalencoder('jisx0213')() 96 self.assertEqual(encoder.encode('\u00e6\u0300'), b'\xab\xc4') [all …]
|
/external/protobuf/js/binary/ |
D | decoder_test.js | 61 var encoder = new jspb.BinaryEncoder(); 64 writeValue.call(encoder, filter(0)); 65 writeValue.call(encoder, filter(epsilon)); 66 writeValue.call(encoder, filter(upperLimit)); 70 writeValue.call(encoder, filter(cursor)); 73 var decoder = jspb.BinaryDecoder.alloc(encoder.end()); 86 assertThrows(function() {writeValue.call(encoder, -1);}); 87 assertThrows(function() {writeValue.call(encoder, upperLimit * 1.1);}); 103 var encoder = new jspb.BinaryEncoder(); 106 writeValue.call(encoder, filter(lowerLimit)); [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_multibytecodec.py | 70 encoder = codecs.getincrementalencoder('cp949')() 71 self.assertEqual(encoder.encode(u'\ud30c\uc774\uc36c \ub9c8\uc744'), 73 self.assertEqual(encoder.reset(), None) 74 self.assertEqual(encoder.encode(u'\u2606\u223c\u2606', True), 76 self.assertEqual(encoder.reset(), None) 77 self.assertEqual(encoder.encode(u'', True), '') 78 self.assertEqual(encoder.encode(u'', False), '') 79 self.assertEqual(encoder.reset(), None) 87 encoder = codecs.getincrementalencoder('jisx0213')() 88 self.assertEqual(encoder.encode(u'\u00e6\u0300'), '\xab\xc4') [all …]
|
/external/brotli/java/org/brotli/wrapper/enc/ |
D | Encoder.java | 20 private final EncoderJNI.Wrapper encoder; field in Encoder 78 this.encoder = new EncoderJNI.Wrapper(inputBufferSize, params.quality, params.lgwin); in Encoder() 79 this.inputBuffer = this.encoder.getInputBuffer(); in Encoder() 121 if (!encoder.isSuccess()) { in encode() 125 } else if (encoder.hasMoreOutput()) { in encode() 126 buffer = encoder.pull(); in encode() 127 } else if (encoder.hasRemainingInput()) { in encode() 128 encoder.push(op, 0); in encode() 130 encoder.push(op, inputBuffer.limit()); in encode() 151 encoder.destroy(); in close() [all …]
|
D | BrotliOutputStream.java | 20 private final Encoder encoder; field in BrotliOutputStream 31 this.encoder = new Encoder(Channels.newChannel(destination), params, bufferSize); in BrotliOutputStream() 45 encoder.close(); in close() 50 if (encoder.closed) { in flush() 53 encoder.flush(); in flush() 58 if (encoder.closed) { in write() 61 while (!encoder.encode(EncoderJNI.Operation.PROCESS)) { in write() 64 encoder.inputBuffer.put((byte) b); in write() 74 if (encoder.closed) { in write() 78 if (!encoder.encode(EncoderJNI.Operation.PROCESS)) { in write() [all …]
|
/external/python/pyasn1/tests/codec/native/ |
D | test_encoder.py | 19 from pyasn1.codec.native import encoder 27 encoder.encode('not an Asn1Item') 38 assert encoder.encode(univ.Integer(12)) == 12 41 assert encoder.encode(univ.Integer(-12)) == -12 46 assert encoder.encode(univ.Boolean(1)) is True 49 assert encoder.encode(univ.Boolean(0)) is False 58 assert encoder.encode(self.b) == '101010011000101' 67 assert encoder.encode(self.o) == str2octs('Quick brown fox') 72 assert encoder.encode(univ.Null('')) is None 77 assert encoder.encode(univ.ObjectIdentifier((1, 3, 6, 0, 12345))) == '1.3.6.0.12345' [all …]
|
/external/libaom/libaom/test/ |
D | horz_superres_test.cc | 116 ::libaom_test::Encoder *encoder) { in PreEncodeFrameHook() argument 118 encoder->Control(AV1E_SET_FRAME_PARALLEL_DECODING, 1); in PreEncodeFrameHook() 119 encoder->Control(AV1E_SET_TILE_COLUMNS, 4); in PreEncodeFrameHook() 122 encoder->Control(AOME_SET_CPUUSED, 8); in PreEncodeFrameHook() 126 encoder->Control(AV1E_SET_TUNE_CONTENT, AOM_CONTENT_SCREEN); in PreEncodeFrameHook() 128 encoder->Control(AV1E_SET_TUNE_CONTENT, AOM_CONTENT_DEFAULT); in PreEncodeFrameHook() 130 encoder->Control(AOME_SET_ENABLEAUTOALTREF, 1); in PreEncodeFrameHook() 131 encoder->Control(AOME_SET_ARNR_MAXFRAMES, 7); in PreEncodeFrameHook() 132 encoder->Control(AOME_SET_ARNR_STRENGTH, 5); in PreEncodeFrameHook() 221 ::libaom_test::Encoder *encoder) { in PreEncodeFrameHook() argument [all …]
|
/external/python/pyasn1/tests/codec/der/ |
D | test_encoder.py | 20 from pyasn1.codec.der import encoder 26 assert encoder.encode( 31 assert encoder.encode( 38 assert encoder.encode( 43 assert encoder.encode( 59 assert encoder.encode(self.s) == ints2octs((49, 7, 4, 1, 97, 4, 2, 97, 98)) 66 assert encoder.encode(self.s) == ints2octs((49, 7, 4, 1, 97, 4, 2, 97, 98)) 73 assert encoder.encode(self.s) == ints2octs((49, 6, 4, 1, 97, 4, 1, 98)) 80 assert encoder.encode(self.s) == ints2octs((49, 6, 4, 1, 97, 4, 1, 98)) 100 assert encoder.encode(self.s) == ints2octs((49, 6, 2, 1, 5, 4, 1, 65)) [all …]
|
/external/python/cpython2/Lib/encodings/ |
D | utf_16.py | 21 self.encoder = None 24 if self.encoder is None: 27 self.encoder = codecs.utf_16_le_encode 29 self.encoder = codecs.utf_16_be_encode 31 return self.encoder(input, self.errors)[0] 35 self.encoder = None 42 return (2 if self.encoder is None else 0) 46 self.encoder = None 49 self.encoder = codecs.utf_16_le_encode 51 self.encoder = codecs.utf_16_be_encode [all …]
|
/external/libtextclassifier/utils/sentencepiece/ |
D | encoder_test.cc | 38 const Encoder encoder(matcher.get(), in TEST() local 43 EXPECT_TRUE(encoder.Encode("hellothere", &encoded_text)); in TEST() 52 EXPECT_TRUE(encoder.Encode("hellothere", &encoded_text)); in TEST() 63 const Encoder encoder(matcher.get(), in TEST() local 67 EXPECT_TRUE(encoder.Encode("hellhello", &encoded_text)); in TEST() 72 EXPECT_TRUE(encoder.Encode("hellohell", &encoded_text)); in TEST() 77 EXPECT_TRUE(encoder.Encode("", &encoded_text)); in TEST() 82 EXPECT_TRUE(encoder.Encode("hellathere", &encoded_text)); in TEST() 93 const Encoder encoder(matcher.get(), in TEST() local 100 EXPECT_TRUE(encoder.Encode("hellhello", &encoded_text)); in TEST() [all …]
|