/frameworks/opt/net/voip/src/jni/rtp/ |
D | AmrCodec.cpp | 36 if (AMREncodeInit(&mEncoder, &mSidSync, false)) { in AmrCodec() 37 mEncoder = NULL; in AmrCodec() 45 if (mEncoder) { in ~AmrCodec() 46 AMREncodeExit(&mEncoder, &mSidSync); in ~AmrCodec() 58 void *mEncoder; member in __anon432921180111::AmrCodec 97 return (sampleRate == 8000 && mEncoder && mDecoder) ? 160 : -1; in set() 105 int length = AMREncode(mEncoder, mSidSync, (Mode)mMode, in encode() 194 if (AMREncodeInit(&mEncoder, &mSidSync, false)) { in GsmEfrCodec() 195 mEncoder = NULL; in GsmEfrCodec() 203 if (mEncoder) { in ~GsmEfrCodec() [all …]
|
/frameworks/av/media/libstagefright/ |
D | MediaCodecSource.cpp | 504 mEncoder = MediaCodec::CreateByComponentName(mCodecLooper, name); in initEncoder() 507 mEncoder->setCallback(mEncoderActivityNotify); in initEncoder() 509 err = mEncoder->configure( in initEncoder() 522 mEncoder = MediaCodec::CreateByComponentName( in initEncoder() 525 if (mEncoder == NULL) { in initEncoder() 532 mEncoder->setCallback(mEncoderActivityNotify); in initEncoder() 534 err = mEncoder->configure( in initEncoder() 543 mEncoder->release(); in initEncoder() 544 mEncoder = NULL; in initEncoder() 552 mEncoder->getOutputFormat(&mOutputFormat); in initEncoder() [all …]
|
/frameworks/av/media/codec2/components/opus/ |
D | C2SoftOpusEnc.cpp | 119 mEncoder(nullptr), in C2SoftOpusEnc() 154 if (mEncoder != nullptr) { in configureEncoder() 155 opus_multistream_encoder_destroy(mEncoder); in configureEncoder() 158 mEncoder = opus_multistream_encoder_create(mSampleRate, mChannelCount, in configureEncoder() 167 mEncoder, OPUS_SET_COMPLEXITY(complexity)) != OPUS_OK) { in configureEncoder() 173 if (opus_multistream_encoder_ctl(mEncoder, OPUS_SET_DTX(0) != OPUS_OK)) { in configureEncoder() 179 if (opus_multistream_encoder_ctl(mEncoder, in configureEncoder() 186 if (opus_multistream_encoder_ctl(mEncoder, OPUS_SET_SIGNAL(OPUS_AUTO)) != in configureEncoder() 193 if (opus_multistream_encoder_ctl(mEncoder, OPUS_SET_VBR(1) != OPUS_OK)) { in configureEncoder() 197 if (opus_multistream_encoder_ctl(mEncoder, OPUS_SET_VBR_CONSTRAINT(1) != in configureEncoder() [all …]
|
D | C2SoftOpusEnc.h | 58 OpusMSEncoder* mEncoder; member
|
/frameworks/base/core/java/android/privacy/internal/rappor/ |
D | RapporEncoder.java | 59 private final Encoder mEncoder; field in RapporEncoder 76 mEncoder = new Encoder(random, null, null, in RapporEncoder() 117 return mEncoder.encodeString(original); in encodeString() 122 return mEncoder.encodeBoolean(original); in encodeBoolean() 127 return mEncoder.encodeBits(bits); in encodeBits()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/encryption/chunking/ |
D | LengthlessEncryptedChunkEncoderTest.java | 50 private EncryptedChunkEncoder mEncoder; field in LengthlessEncryptedChunkEncoderTest 57 mEncoder = new LengthlessEncryptedChunkEncoder(); in setUp() 62 mEncoder.writeChunkToWriter(mMockBackupWriter, mTestChunk); in writeChunkToWriter_writesNonceThenData() 71 int encodedLength = mEncoder.getEncodedLengthOfChunk(mTestChunk); in getEncodedLengthOfChunk_returnsSumOfNonceAndDataLengths() 78 assertThat(mEncoder.getChunkOrderingType()).isEqualTo(ChunksMetadataProto.EXPLICIT_STARTS); in getChunkOrderingType_returnsExplicitStartsType()
|
D | InlineLengthsEncryptedChunkEncoderTest.java | 51 private EncryptedChunkEncoder mEncoder; field in InlineLengthsEncryptedChunkEncoderTest 58 mEncoder = new InlineLengthsEncryptedChunkEncoder(); in setUp() 63 mEncoder.writeChunkToWriter(mMockBackupWriter, mTestChunk); in writeChunkToWriter_writesLengthThenNonceThenData() 76 int encodedLength = mEncoder.getEncodedLengthOfChunk(mTestChunk); in getEncodedLengthOfChunk_returnsSumOfNonceAndDataLengths() 83 assertThat(mEncoder.getChunkOrderingType()).isEqualTo(ChunksMetadataProto.INLINE_LENGTHS); in getChunkOrderingType_returnsExplicitStartsType()
|
/frameworks/av/media/libstagefright/rtsp/ |
D | MyTransmitter.h | 125 mEncoder = MediaCodecSource::Create(encLooper, encMeta, source); in MyTransmitter() 127 mEncoder->start(); in MyTransmitter() 130 CHECK_EQ(mEncoder->read(&buffer), (status_t)OK); in MyTransmitter() 182 sp<MetaData> meta = mEncoder->getFormat(); in issueAnnounce() 633 CHECK_EQ(mEncoder->read(&mediaBuf), (status_t)OK); in onMessageReceived() 812 mEncoder->stop(); in onMessageReceived() 813 mEncoder.clear(); in onMessageReceived() 860 sp<MediaSource> mEncoder; in onMessageReceived() member
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | MediaCodecSource.h | 126 sp<MediaCodec> mEncoder; member
|