Home
last modified time | relevance | path

Searched refs:encoderStatus (Results 1 – 1 of 1) sorted by relevance

/pdk/apps/TestingCamera2/src/com/android/testingcamera2/v1/
DCameraRecordingStream.java513 int encoderStatus = mEncoder.dequeueOutputBuffer(mBufferInfo, TIMEOUT_USEC); in doMediaCodecEncoding() local
514 if (encoderStatus == MediaCodec.INFO_TRY_AGAIN_LATER) { in doMediaCodecEncoding()
526 } else if (encoderStatus == MediaCodec.INFO_OUTPUT_BUFFERS_CHANGED) { in doMediaCodecEncoding()
529 } else if (encoderStatus == MediaCodec.INFO_OUTPUT_FORMAT_CHANGED) { in doMediaCodecEncoding()
544 } else if (encoderStatus < 0) { in doMediaCodecEncoding()
545 Log.w(TAG, "unexpected result from encoder.dequeueOutputBuffer: " + encoderStatus); in doMediaCodecEncoding()
548 ByteBuffer encodedData = encoderOutputBuffers[encoderStatus]; in doMediaCodecEncoding()
550 throw new RuntimeException("encoderOutputBuffer " + encoderStatus + in doMediaCodecEncoding()
584 mEncoder.releaseOutputBuffer(encoderStatus, false); in doMediaCodecEncoding()