HomeSort by relevance Sort by last modified time
    Searched defs:mEncoder (Results 1 - 9 of 9) sorted by null

  /pdk/apps/TestingCamera2/src/com/android/testingcamera2/v1/
CameraRecordingStream.java 58 private MediaCodec mEncoder;
305 if (mEncoder != null) {
306 mEncoder.stop();
307 mEncoder.release();
311 mEncoder = null;
400 * Initializes mEncoder, mMuxer, mRecordingSurface, mBufferInfo,
421 mEncoder = MediaCodec.createEncoderByType(getOutputMime());
426 mEncoder.configure(format, null, null, MediaCodec.CONFIGURE_FLAG_ENCODE);
427 mRecordingSurface = mEncoder.createInputSurface();
428 mEncoder.start()
    [all...]
  /frameworks/opt/net/voip/src/jni/rtp/
AmrCodec.cpp 36 if (AMREncodeInit(&mEncoder, &mSidSync, false)) {
37 mEncoder = NULL;
45 if (mEncoder) {
46 AMREncodeExit(&mEncoder, &mSidSync);
58 void *mEncoder;
97 return (sampleRate == 8000 && mEncoder && mDecoder) ? 160 : -1;
105 int length = AMREncode(mEncoder, mSidSync, (Mode)mMode,
194 if (AMREncodeInit(&mEncoder, &mSidSync, false)) {
195 mEncoder = NULL;
203 if (mEncoder) {
    [all...]
  /frameworks/av/media/libstagefright/include/media/stagefright/
MediaCodecSource.h 127 sp<MediaCodec> mEncoder;
  /frameworks/av/media/libstagefright/wifi-display/source/
Converter.h 105 sp<MediaCodec> mEncoder;
  /cts/tests/tests/media/src/android/media/cts/
EncodeVirtualDisplayWithCompositionTest.java 485 private MediaCodec mEncoder;
560 mEncoder = MediaCodec.createByCodecName(codecName);
561 mEncoder.configure(format, null, null, MediaCodec.CONFIGURE_FLAG_ENCODE);
562 mEncodingSurface = mEncoder.createInputSurface();
563 mEncoder.start();
568 ByteBuffer[] encoderOutputBuffers = mEncoder.getOutputBuffers();
571 int index = mEncoder.dequeueOutputBuffer(info, TIMEOUT_USEC_NORMAL);
582 mEncoder.releaseOutputBuffer(index, false);
591 mEncoder.releaseOutputBuffer(index, false);
595 encoderOutputBuffers = mEncoder.getOutputBuffers()
    [all...]
VideoEncoderTest.java 199 protected MediaCodec mDecoder, mEncoder;
252 mEncoder = MediaCodec.createByCodecName(videoEncName);
255 mEncoder.setCallback(this);
258 mEncoder.getCodecInfo().getCapabilitiesForType(outMime).getVideoCapabilities();
281 mEncoder.configure(outFmt, null, null, MediaCodec.CONFIGURE_FLAG_ENCODE);
282 Log.i(TAG, "encoder input format " + mEncoder.getInputFormat() + " from " + outFmt);
309 if (mEncoder != null) {
310 mEncoder.release();
311 mEncoder = null;
364 ByteBuffer outputBuffer = mEncoder.getOutputBuffer(ix)
    [all...]
MediaCodecTest.java 661 final MediaCodec mEncoder;
667 mEncoder = encoder;
680 mEncoder.flush();
687 final MediaCodec mEncoder;
701 mEncoder = encoder;
739 inputSurface = initCodecAndSurface(mMime, mEncoder);
752 feedEncoder(mEncoder, inputSurface, inputIndex);
756 Log.w(TAG, "mEncoder input frames interrupted/stopped", e);
758 cleanupCodecAndSurface(mEncoder, inputSurface);
    [all...]
  /external/google-tv-pairing-protocol/java/src/com/google/polo/pairing/
PairingSession.java 151 protected SecretEncoder mEncoder;
528 int bytesNeeded = nonceLength / mEncoder.symbolsPerByte();
566 return mEncoder;
589 mEncoder = new HexadecimalEncoder();
  /frameworks/av/media/libstagefright/rtsp/
MyTransmitter.h 125 mEncoder = MediaCodecSource::Create(encLooper, encMeta, source);
127 mEncoder->start();
130 CHECK_EQ(mEncoder->read(&buffer), (status_t)OK);
182 sp<MetaData> meta = mEncoder->getFormat();
633 CHECK_EQ(mEncoder->read(&mediaBuf), (status_t)OK);
812 mEncoder->stop();
813 mEncoder.clear();
860 sp<MediaSource> mEncoder;

Completed in 696 milliseconds