/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | vop.cpp | 82 PV_STATUS status; local 101 status = BitstreamShowBits32HC(stream, &startCode); 142 status = BitstreamShowBits32HC(stream, &tmpvar); 146 status = DecodeUserData(stream); 147 if (status != PV_SUCCESS) return PV_FAIL; 156 status = PVSearchNextM4VFrame(stream); /* search 0x00 0x00 0x01 */ 157 if (status != PV_SUCCESS) return PV_FAIL; /* breaks the loop */ 208 status = PVSearchNextM4VFrame(stream); /* search 0x00 0x00 0x01 */ 209 if (status != PV_SUCCESS) return PV_FAIL; /* breaks the loop */ 218 status 808 PV_STATUS status = PV_SUCCESS; local 1018 PV_STATUS status = PV_SUCCESS; local 1530 PV_STATUS status; local [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | bitstream_io.cpp | 122 PV_STATUS status; local 138 status = BitstreamSaveWord(stream); 139 if (status != PV_SUCCESS) 141 return status; 170 PV_STATUS status; local 179 status = BitstreamPutBits(stream, topLength, topValue); 181 if (status != PV_SUCCESS) 183 return status; 186 status = BitstreamPutBits(stream, 16, (UInt)(Value & 0xFFFF)); 188 return status; 418 PV_STATUS status; local 534 PV_STATUS status = PV_SUCCESS; local [all...] |
H A D | combined_encode.cpp | 39 PV_STATUS status = PV_SUCCESS; local 119 status = EncodeGOBHeader(video, slice_counter, QP, 0); //ind_y /* Encode GOB Header */ 148 status = EncodeVideoPacketHeader(video, mbnum, video->QP_prev, 0); 159 status = (*CodeMB)(video, &fastDCTfunction, (offset << 5) + QP, ncoefblck); 182 status = BitstreamAppendPacket(currVol->stream, bs1); /* Put Packet to Buffer */ 183 /* continue even if status == PV_END_OF_BUF, to get the stats */ 192 status = BitstreamAppendEnc(currVol->stream, bs1); /* Initialize to 0 */ 193 /* continue even if status == PV_END_OF_BUF, to get the stats */ 201 status = BitstreamAppendEnc(currVol->stream, bs1); /* Initialize to 0 */ 202 /* continue even if status 264 PV_STATUS status = PV_SUCCESS; local 683 PV_STATUS status = PV_SUCCESS; local [all...] |
H A D | datapart_encode.cpp | 38 PV_STATUS status = PV_SUCCESS; local 119 status = EncodeVideoPacketHeader(video, mbnum, video->QP_prev, 0); 130 status = (*CodeMB)(video, &fastDCTfunction, (offset << 5) + QP, ncoefblck); 159 status = BitstreamAppendPacket(currVol->stream, bs1); /* Put Packet to Buffer */ 160 /* continue even if status == PV_END_OF_BUF, to get the stats */ 189 status = BitstreamAppendPacket(currVol->stream, bs1); /* Put Packet to Buffer */ 190 /* continue even if status == PV_END_OF_BUF, to get the stats */ 196 return status; /* if status == PV_END_OF_BUF, this frame will be pre-skipped */ 213 PV_STATUS status local [all...] |
H A D | mp4enc_api.cpp | 140 Int UpdateSkipNextFrame(VideoEncData *video, ULong *modTime, Int *size, PV_STATUS status); 196 Bool status = PV_TRUE; local 629 if (mbsPerSec > video->encParams->LayerMaxMbsPerSec[idx]) status = PV_FALSE; 636 status = SetProfile_BufferSize(video, video->encParams->VBV_delay, 1); 637 if (status != PV_TRUE) 996 status = PV_FALSE; 1006 status = PV_FALSE; 1015 status = PV_FALSE; 1025 status = PV_FALSE; 1034 status 1389 Bool status = PV_TRUE; local 1683 Bool status = PV_TRUE; local 2440 PV_STATUS status = PV_SUCCESS; local 2602 PV_STATUS status = PV_SUCCESS; local 2859 UpdateSkipNextFrame(VideoEncData *video, ULong *modTime, Int *size, PV_STATUS status) argument [all...] |
H A D | vop.cpp | 42 PV_STATUS status; local 81 status = RC_VopQPSetting(video, rc); 82 if (status == PV_FAIL) 98 return status; 101 status = EncodeVop_NoME(video); 110 return status; 130 PV_STATUS status = PV_SUCCESS; local 135 status = EncodeShortHeader(stream, currVop); /* Encode Short Header */ 139 status = EncodeFrameCombinedMode(video); 147 status 199 PV_STATUS status = PV_SUCCESS; local 278 PV_STATUS status; local 311 PV_STATUS status; local 355 PV_STATUS status; local 415 PV_STATUS status; local [all...] |
/frameworks/av/media/libstagefright/codecs/mpeg2dec/ |
H A D | SoftMPEG2.cpp | 124 IV_API_CALL_STATUS_T status; local 133 status = ivdec_api_function(mCodecCtx, (void *)&s_ctl_ip, (void *)&s_ctl_op); 135 if (status != IV_SUCCESS) { 148 IV_API_CALL_STATUS_T status; local 160 status = ivdec_api_function(mCodecCtx, (void *)&s_ctl_ip, (void *)&s_ctl_op); 162 if (status != IV_SUCCESS) { 187 IV_API_CALL_STATUS_T status; local 194 status = ivdec_api_function(mCodecCtx, (void *)&s_ctl_ip, (void *)&s_ctl_op); 195 if (IV_SUCCESS != status) { 214 IV_API_CALL_STATUS_T status; local 231 IV_API_CALL_STATUS_T status; local 256 IV_API_CALL_STATUS_T status; local 531 IV_API_CALL_STATUS_T status; local 647 IV_API_CALL_STATUS_T status; local [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | h264bsd_dpb.c | 72 /* macros to determine picture status. Note that IS_SHORT_TERM macro returns 75 #define IS_REFERENCE(a) ((a).status) 76 #define IS_EXISTING(a) ((a).status > NON_EXISTING) 78 ((a).status == NON_EXISTING || (a).status == SHORT_TERM) 79 #define IS_LONG_TERM(a) ((a).status == LONG_TERM) 82 #define SET_UNUSED(a) (a).status = UNUSED; 440 dpb->buffer[index].status = LONG_TERM; 581 dpb->currentOut->status = LONG_TERM; 642 u32 i, status; local [all...] |
H A D | h264bsd_dpb.h | 47 /* enumeration to represent status of buffered image */ 62 dpbPictureStatus_e status; member in struct:__anon643
|
H A D | h264bsd_sei.c | 187 u32 tmp, payloadType, payloadSize, status; local 223 status = DecodeBufferingPeriod( 235 status = DecodePictureTiming( 251 status = DecodePanScanRectangle( 257 status = DecodeFillerPayload(pStrmData, payloadSize); 261 status = DecodeUserDataRegisteredITuTT35( 268 status = DecodeUserDataUnregistered( 275 status = DecodeRecoveryPoint( 281 status = DecodeDecRefPicMarkingRepetition( 289 status [all...] |
H A D | h264bsd_vlc.c | 216 BIG_CODE_NUM and returning HANTRO_NOK status. 235 u32 status, codeNum = 0; local 242 status = h264bsdDecodeExpGolombUnsigned(pStrmData, &codeNum); 246 /* BIG_CODE_NUM and HANTRO_OK status means codeNum 2^32-1 which would 249 if (status == HANTRO_OK) 251 /* BIG_CODE_NUM and HANTRO_NOK status means codeNum 2^32 which results 259 else if (status == HANTRO_OK) 306 u32 status, codeNum; local 313 status = h264bsdDecodeExpGolombUnsigned(pStrmData, &codeNum); 315 if (status ! [all...] |
/frameworks/av/media/libstagefright/codecs/opus/dec/ |
H A D | SoftOpus.cpp | 374 int status = OPUS_INVALID_STATE; local 380 &status); 381 if (!mDecoder || status != OPUS_OK) { 382 ALOGV("opus_multistream_decoder_create failed status=%s", 383 opus_strerror(status)); 387 status = 390 if (status != OPUS_OK) { 391 ALOGV("Failed to set OPUS header gain; status=%s", 392 opus_strerror(status));
|
/frameworks/av/media/libstagefright/foundation/ |
H A D | AWakeLock.cpp | 62 status_t status = mPowerManager->acquireWakeLock( local 66 if (status == NO_ERROR) {
|
/frameworks/av/media/libstagefright/httplive/ |
H A D | PlaylistFetcher.cpp | 1797 status_t status; local 1798 while (mVideoBuffer->hasBufferAvailable(&status)) {
|
/frameworks/av/media/libstagefright/omx/ |
H A D | OMX.cpp | 113 status_t status = mThread->join(); local 114 if (status != WOULD_BLOCK) { 117 CHECK_EQ(status, (status_t)NO_ERROR);
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | AAVCAssembler.cpp | 361 AssemblyStatus status = addNALUnit(source); local 362 if (status == MALFORMED_PACKET) { 365 return status;
|
H A D | AH263Assembler.cpp | 45 AssemblyStatus status = addPacket(source); local 46 if (status == MALFORMED_PACKET) { 49 return status;
|
H A D | AMPEG4AudioAssembler.cpp | 482 AssemblyStatus status = addPacket(source); local 483 if (status == MALFORMED_PACKET) { 486 return status;
|
H A D | AMPEG4ElementaryAssembler.cpp | 410 AssemblyStatus status = addPacket(source); local 411 if (status == MALFORMED_PACKET) { 415 return status;
|
H A D | ARTPAssembler.cpp | 33 AssemblyStatus status; local 35 status = assembleMore(source); 37 if (status == WRONG_SEQUENCE_NUMBER) { 53 if (status == NOT_ENOUGH_DATA) {
|
/frameworks/av/media/libstagefright/webm/ |
H A D | WebmFrameThread.cpp | 49 void *status; local 50 pthread_join(mThread, &status); 51 return (status_t)(intptr_t)status;
|
H A D | WebmWriter.cpp | 280 status_t status = mStreams[i].mThread->stop(); local 281 if (err == OK && status != OK) { 282 err = status; 544 status_t status = mStreams[i].mThread->pause(); local 545 if (status != OK) { 546 err = status;
|
/frameworks/av/media/ndk/ |
H A D | NdkMediaDrm.cpp | 114 static media_status_t translateStatus(status_t status) { argument 116 switch (status) { 242 status_t status = mObj->mDrm->openSession(session); local 243 if (status == OK) { 311 status_t status = mObj->mDrm->getKeyRequest(*iter, mdInit, String8(mimeType), local 314 if (status != OK) { 315 return translateStatus(status); 342 status_t status = mObj->mDrm->provideKeyResponse(*iter, mdResponse, mdKeySetId); local 343 if (status == OK) { 383 status_t status; local 410 status_t status = mObj->mDrm->queryKeyStatus(*iter, mObj->mQueryResults); local 439 status_t status = mObj->mDrm->getProvisionRequest(String8(""), String8(""), local 478 status_t status = mObj->mDrm->getSecureStops(mObj->mSecureStops); local 526 status_t status = mObj->mDrm->getPropertyString(String8(propertyName), local 547 status_t status = mObj->mDrm->getPropertyByteArray(String8(propertyName), local 596 status_t status = mObj->mDrm->setCipherAlgorithm(*iter, String8(cipherAlgorithm)); local 662 status_t status = mObj->mDrm->setMacAlgorithm(*iter, String8(macAlgorithm)); local 701 status_t status = mObj->mDrm->setMacAlgorithm(*iter, String8(macAlgorithm)); local [all...] |
/frameworks/av/media/utils/ |
H A D | ISchedulingPolicyService.cpp | 48 status_t status = remote()->transact(REQUEST_PRIORITY_TRANSACTION, data, &reply, flags); local 49 if (status != NO_ERROR) { 50 return status;
|
/frameworks/av/radio/ |
H A D | IRadio.cpp | 68 status_t status = remote()->transact(SET_CONFIGURATION, data, &reply); local 69 if (status == NO_ERROR) { 70 status = (status_t)reply.readInt32(); 72 return status; 82 status_t status = remote()->transact(GET_CONFIGURATION, data, &reply); local 83 if (status == NO_ERROR) { 84 status = (status_t)reply.readInt32(); 85 if (status == NO_ERROR) { 89 return status; 97 status_t status local 111 status_t status = remote()->transact(GET_MUTE, data, &reply); local 128 status_t status = remote()->transact(SCAN, data, &reply); local 141 status_t status = remote()->transact(STEP, data, &reply); local 154 status_t status = remote()->transact(TUNE, data, &reply); local 165 status_t status = remote()->transact(CANCEL, data, &reply); local 180 status_t status = remote()->transact(GET_PROGRAM_INFORMATION, data, &reply); local 213 status_t status = remote()->transact(HAS_CONTROL, data, &reply); local 242 status_t status = setConfiguration(&config); local 249 status_t status = getConfiguration(&config); local 259 status_t status = setMute(mute); local 266 status_t status = getMute(&mute); local 277 status_t status = scan(direction, skipSubChannel); local 285 status_t status = step(direction, skipSubChannel); local 293 status_t status = tune(channel, subChannel); local 299 status_t status = cancel(); local 307 status_t status = radio_metadata_allocate(&info.metadata, 0, 0); local 330 status_t status = hasControl(&control); local [all...] |