Searched refs:mBufferInfo (Results 1 – 1 of 1) sorted by relevance
62 private MediaCodec.BufferInfo mBufferInfo; field in CameraRecordingStream404 mBufferInfo = new MediaCodec.BufferInfo(); in configureMediaCodecEncoder()513 int encoderStatus = mEncoder.dequeueOutputBuffer(mBufferInfo, TIMEOUT_USEC); in doMediaCodecEncoding()554 if ((mBufferInfo.flags & MediaCodec.BUFFER_FLAG_CODEC_CONFIG) != 0) { in doMediaCodecEncoding()563 mBufferInfo.size = 0; in doMediaCodecEncoding()566 if (mBufferInfo.size != 0) { in doMediaCodecEncoding()575 encodedData.position(mBufferInfo.offset); in doMediaCodecEncoding()576 encodedData.limit(mBufferInfo.offset + mBufferInfo.size); in doMediaCodecEncoding()578 mMuxer.writeSampleData(mTrackIndex, encodedData, mBufferInfo); in doMediaCodecEncoding()580 Log.v(TAG, "sent " + mBufferInfo.size + " bytes to muxer"); in doMediaCodecEncoding()[all …]