OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:encoderStatus
(Results
1 - 3
of
3
) sorted by null
/cts/tests/tests/media/src/android/media/cts/
DecodeEditEncodeTest.java
311
int
encoderStatus
= encoder.dequeueOutputBuffer(info, TIMEOUT_USEC);
312
if (
encoderStatus
== MediaCodec.INFO_TRY_AGAIN_LATER) {
316
} else if (
encoderStatus
== MediaCodec.INFO_OUTPUT_BUFFERS_CHANGED) {
320
} else if (
encoderStatus
== MediaCodec.INFO_OUTPUT_FORMAT_CHANGED) {
324
} else if (
encoderStatus
< 0) {
325
fail("unexpected result from encoder.dequeueOutputBuffer: " +
encoderStatus
);
326
} else { //
encoderStatus
>= 0
327
ByteBuffer encodedData = encoderOutputBuffers[
encoderStatus
];
329
fail("encoderOutputBuffer " +
encoderStatus
+ " was null");
346
encoder.releaseOutputBuffer(
encoderStatus
, false)
[
all
...]
EncodeDecodeTest.java
530
int
encoderStatus
= encoder.dequeueOutputBuffer(info, TIMEOUT_USEC);
531
if (
encoderStatus
== MediaCodec.INFO_TRY_AGAIN_LATER) {
534
} else if (
encoderStatus
== MediaCodec.INFO_OUTPUT_BUFFERS_CHANGED) {
538
} else if (
encoderStatus
== MediaCodec.INFO_OUTPUT_FORMAT_CHANGED) {
542
} else if (
encoderStatus
< 0) {
543
fail("unexpected result from encoder.dequeueOutputBuffer: " +
encoderStatus
);
544
} else { //
encoderStatus
>= 0
545
ByteBuffer encodedData = encoderOutputBuffers[
encoderStatus
];
547
fail("encoderOutputBuffer " +
encoderStatus
+ " was null");
596
encoder.releaseOutputBuffer(
encoderStatus
, false)
[
all
...]
/frameworks/av/media/libstagefright/codecs/avc/enc/
SoftAVCEncoder.cpp
751
AVCEnc_Status
encoderStatus
= AVCENC_SUCCESS;
757
encoderStatus
= PVAVCEncodeNAL(mHandle, outPtr, &dataLength, &type);
758
if (
encoderStatus
== AVCENC_WRONG_STATE) {
844
encoderStatus
= PVAVCEncSetInput(mHandle, &videoInput);
845
if (
encoderStatus
== AVCENC_SUCCESS ||
encoderStatus
== AVCENC_NEW_IDR) {
848
if (
encoderStatus
== AVCENC_NEW_IDR) {
852
if (
encoderStatus
< AVCENC_SUCCESS) {
853
ALOGE("
encoderStatus
= %d at line %d",
encoderStatus
, __LINE__)
[
all
...]
Completed in 322 milliseconds