/frameworks/av/media/libstagefright/ |
H A D | MediaSync.cpp | 118 status_t status = local 123 if (status != NO_ERROR) { 124 ALOGE("setSurface: failed to connect (%d)", status); 125 return status; 210 status_t status = local 212 if (status == NO_ERROR) { 227 return status; 629 status_t status = mInput->acquireBuffer(&bufferItem, 0 /* presentWhen */); local 630 if (status != NO_ERROR) { 631 ALOGE("acquiring buffer from input failed (%d)", status); 685 status_t status = mOutput->attachBuffer(&slot, bufferItem.mGraphicBuffer); local 722 status_t status = mOutput->detachNextBuffer(&buffer, &fence); local 765 status_t status = mInput->attachBuffer(&consumerSlot, oldBuffer); local [all...] |
H A D | StagefrightMediaScanner.cpp | 85 status_t status; local 88 status = mRetriever->setDataSource(NULL /* httpService */, path); 90 status = mRetriever->setDataSource(fd, 0, 0x7ffffffffffffffL); 94 if (status) { 101 status = client.setMimeType(value); 102 if (status) { 133 status = client.addStringTag(kKeyMap[i].tag, value); 134 if (status != OK) {
|
/frameworks/av/media/libstagefright/codecs/aacdec/ |
H A D | SoftAAC2.cpp | 133 status_t status = UNKNOWN_ERROR; local 138 status = OK; 214 return status;
|
/frameworks/av/media/libstagefright/codecs/avc/common/src/ |
H A D | dpb.cpp | 235 int ii, status; local 250 status = avcHandle->CBAVC_FrameBind(avcHandle->userData, ii, &(video->currFS->base_dpb)); 251 if (status == AVC_FAIL) 343 AVCStatus status; local 407 status = sliding_window_process(avcHandle, video, dpb); /* we may have to do this after adaptive_memory_marking */ 411 status = adaptive_memory_marking(avcHandle, video, dpb, sliceHdr); 413 if (status != AVC_SUCCESS) 415 return status;
|
H A D | reflist.cpp | 142 AVCStatus status = AVC_SUCCESS; local 149 status = ReorderRefPicList(video, 0); 150 if (status != AVC_SUCCESS) 151 return status; 158 return status; 164 AVCStatus status; local 232 status = ReorderShortTerm(video, picNumLX, &refIdxLX, isL1); 233 if (status != AVC_SUCCESS) 235 return status; 240 status [all...] |
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
H A D | avcenc_api.cpp | 59 AVCEnc_Status status; local 144 status = SetEncodeParam(avcHandle, encParam, extSPS, extPPS); /* initialized variables to be used in SPS*/ 145 if (status != AVCENC_SUCCESS) 147 return status; 282 AVCEnc_Status status; local 322 status = InitFrame(encvid); 324 if (status == AVCENC_SUCCESS) 328 else if (status == AVCENC_NEW_IDR) 351 else if (status == AVCENC_PICTURE_READY) // no buffers returned back to the encoder 357 return status; // retur 373 AVCEnc_Status status; local [all...] |
H A D | bitstream_io.cpp | 147 AVCEnc_Status status = AVCENC_SUCCESS; local 165 status = AVCBitstreamSaveWord(stream); 166 return status; 177 status = AVCBitstreamSaveWord(stream); /* save current word */ 184 return status; 199 AVCEnc_Status status; local 210 status = AVCBitstreamSaveWord(stream); 211 return status; 231 AVCEnc_Status status; local 238 status [all...] |
H A D | header.cpp | 31 AVCEnc_Status status = AVCENC_SUCCESS; local 35 status = BitstreamWriteBits(stream, 8, seqParam->profile_idc); 36 status = BitstreamWrite1Bit(stream, seqParam->constrained_set0_flag); 37 status = BitstreamWrite1Bit(stream, seqParam->constrained_set1_flag); 38 status = BitstreamWrite1Bit(stream, seqParam->constrained_set2_flag); 39 status = BitstreamWrite1Bit(stream, seqParam->constrained_set3_flag); 40 status = BitstreamWriteBits(stream, 4, 0); /* forbidden zero bits */ 41 if (status != AVCENC_SUCCESS) /* we can check after each write also */ 43 return status; 46 status 230 AVCEnc_Status status = AVCENC_SUCCESS; local 322 AVCEnc_Status status = AVCENC_SUCCESS; local 510 AVCEnc_Status status = AVCENC_SUCCESS; local 590 AVCEnc_Status status = AVCENC_SUCCESS; local [all...] |
H A D | init.cpp | 34 AVCEnc_Status status; local 549 status = VerifyProfile(encvid, seqParam, picParam); 550 if (status != AVCENC_SUCCESS) 552 return status; 555 status = VerifyLevel(encvid, seqParam, picParam); 556 if (status != AVCENC_SUCCESS) 558 return status; 568 AVCEnc_Status status = AVCENC_SUCCESS; local 622 status = AVCENC_TOOLS_NOT_SUPPORTED; 628 status 702 AVCEnc_Status status; local [all...] |
H A D | rate_control.cpp | 796 AVCEnc_Status status = AVCENC_SUCCESS; local 837 status = AVCENC_SKIPPED_PICTURE; 843 return status;
|
H A D | residual.cpp | 22 AVCEnc_Status status = AVCENC_SUCCESS; local 58 status = BitstreamWriteBits(stream, 32, code); 67 status = BitstreamWriteBits(stream, 16, code); 74 if (status != AVCENC_SUCCESS) /* check only once per line */ 75 return status; 91 status = BitstreamWriteBits(stream, 32, code); 100 status = BitstreamWriteBits(stream, 16, code); 108 if (status != AVCENC_SUCCESS) /* check only once per line */ 109 return status; 124 status 147 AVCEnc_Status status = AVCENC_SUCCESS; local [all...] |
H A D | slice.cpp | 23 AVCEnc_Status status = AVCENC_SUCCESS; local 89 status = EncodeMB(encvid); 90 if (status != AVCENC_SUCCESS) 111 status = AVCENC_PICTURE_READY; 125 status = AVCENC_SLICE_EMPTY; /* error, one slice group has no MBs in it */ 129 status = AVCENC_SUCCESS; 145 status = AVCENC_FAIL; 149 return status; 155 AVCEnc_Status status = AVCENC_SUCCESS; local 210 status 552 AVCEnc_Status status = AVCENC_SUCCESS; local 688 AVCEnc_Status status = AVCENC_SUCCESS; local 774 AVCEnc_Status status = AVCENC_SUCCESS; local [all...] |
H A D | vlc_encode.cpp | 35 AVCEnc_Status status; local 46 status = ue_v(bitstream, codeNum); 48 return status; 53 AVCEnc_Status status; local 61 status = BitstreamWrite1Bit(bitstream, 1 - value); 62 return status; 72 AVCEnc_Status status; local 78 status = BitstreamWrite1Bit(bitstream, 1); 79 return status; 91 status 108 AVCEnc_Status status; local 150 AVCEnc_Status status = AVCENC_SUCCESS; local 204 AVCEnc_Status status = AVCENC_SUCCESS; local 255 AVCEnc_Status status; local 283 AVCEnc_Status status; local 319 AVCEnc_Status status; local [all...] |
/frameworks/av/media/libstagefright/codecs/avc/enc/test/ |
H A D | h264_enc_test.cpp | 233 AVCEnc_Status status; local 234 status = PVAVCEncInitialize(&handle, &encParams, NULL, NULL); 235 if (status != AVCENC_SUCCESS) { 253 status = PVAVCEncodeNAL(&handle, outputBuf, &dataLength, &type); 260 status = PVAVCEncodeNAL(&handle, outputBuf, &dataLength, &type); 292 status = PVAVCEncSetInput(&handle, &vin); 293 if (status == AVCENC_SUCCESS || status == AVCENC_NEW_IDR) { 296 } else if (status < AVCENC_SUCCESS) { 297 fprintf(stderr, "Error %d while setting input frame\n", status); [all...] |
/frameworks/av/media/libstagefright/codecs/avcdec/ |
H A D | SoftAVCDec.cpp | 166 IV_API_CALL_STATUS_T status; local 175 status = 178 if (status != IV_SUCCESS) { 191 IV_API_CALL_STATUS_T status; local 203 status = ivdec_api_function(mCodecCtx, (void *)&s_ctl_ip, (void *)&s_ctl_op); 205 if (status != IV_SUCCESS) { 230 IV_API_CALL_STATUS_T status; local 237 status = ivdec_api_function(mCodecCtx, (void *)&s_ctl_ip, (void *)&s_ctl_op); 238 if (IV_SUCCESS != status) { 254 IV_API_CALL_STATUS_T status; local 271 IV_API_CALL_STATUS_T status; local 295 IV_API_CALL_STATUS_T status; local 351 IV_API_CALL_STATUS_T status; local 453 IV_API_CALL_STATUS_T status; local 585 IV_API_CALL_STATUS_T status; local [all...] |
/frameworks/av/media/libstagefright/codecs/avcenc/ |
H A D | SoftAVCEnc.cpp | 228 IV_STATUS_T status; local 241 status = ive_api_function(mCodecCtx, &s_dimensions_ip, &s_dimensions_op); 242 if (status != IV_SUCCESS) { 251 IV_STATUS_T status; local 263 status = ive_api_function( 265 if (status != IV_SUCCESS) { 276 IV_STATUS_T status; local 290 status = ive_api_function(mCodecCtx, &s_frame_rate_ip, &s_frame_rate_op); 291 if (status != IV_SUCCESS) { 302 IV_STATUS_T status; local 329 IV_STATUS_T status; local 353 IV_STATUS_T status; local 377 IV_STATUS_T status; local 409 IV_STATUS_T status; local 436 IV_STATUS_T status; local 461 IV_STATUS_T status; local 484 IV_STATUS_T status; local 515 IV_STATUS_T status; local 541 IV_STATUS_T status; local 566 IV_STATUS_T status; local 594 IV_STATUS_T status; local 614 IV_STATUS_T status; local 882 IV_STATUS_T status = IV_SUCCESS; local 1285 IV_STATUS_T status; local [all...] |
/frameworks/av/media/libstagefright/codecs/hevcdec/ |
H A D | SoftHEVC.cpp | 123 IV_API_CALL_STATUS_T status; local 132 status = ivdec_api_function(mCodecCtx, (void *)&s_ctl_ip, 135 if (status != IV_SUCCESS) { 148 IV_API_CALL_STATUS_T status; local 160 status = ivdec_api_function(mCodecCtx, (void *)&s_ctl_ip, 163 if (status != IV_SUCCESS) { 188 IV_API_CALL_STATUS_T status; local 195 status = ivdec_api_function(mCodecCtx, (void *)&s_ctl_ip, 197 if (IV_SUCCESS != status) { 213 IV_API_CALL_STATUS_T status; local 231 IV_API_CALL_STATUS_T status; local 256 IV_API_CALL_STATUS_T status; local 312 IV_API_CALL_STATUS_T status; local 414 IV_API_CALL_STATUS_T status; local 533 IV_API_CALL_STATUS_T status; local [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | bitstream.cpp | 177 PV_STATUS status = PV_SUCCESS; local 182 status = BitstreamFillCache(stream); 185 return status; 195 PV_STATUS status = PV_SUCCESS; local 200 status = BitstreamFillCache(stream); 203 return status; 217 PV_STATUS status = PV_SUCCESS; local 223 status = BitstreamFillCache(stream); 227 return status; 240 PV_STATUS status local 259 PV_STATUS status = PV_SUCCESS; local 273 PV_STATUS status; local 288 PV_STATUS status = PV_SUCCESS; local 357 PV_STATUS status = PV_SUCCESS; local 424 PV_STATUS status = PV_SUCCESS; local 443 PV_STATUS status = PV_SUCCESS; local 462 PV_STATUS status = PV_SUCCESS; local 605 PV_STATUS status = PV_SUCCESS; local 634 PV_STATUS status = PV_SUCCESS; local 684 PV_STATUS status = PV_SUCCESS; local 708 PV_STATUS status = PV_SUCCESS; local 787 PV_STATUS status; local 878 PV_STATUS status; local 952 PV_STATUS status; local [all...] |
H A D | bitstream.h | 53 PV_STATUS status = PV_SUCCESS; local 59 status = BitstreamFillCache(stream); 63 return status; 71 PV_STATUS status = PV_SUCCESS; local 76 status = BitstreamFillCache(stream); 79 return status; 85 PV_STATUS status = PV_SUCCESS; local 90 status = BitstreamFillCache(stream); 93 return status;
|
H A D | combined_decode.cpp | 44 PV_STATUS status; local 155 status = GetMBheader(video, &QP); 157 if (status != PV_SUCCESS) 171 status = GetMBData(video); 172 if (status != PV_SUCCESS) 205 status = BitstreamShowBits32(stream, GOB_RESYNC_MARKER_LENGTH, &tmpvar); 213 status = PV_BitstreamShowBitsByteAlign(stream, GOB_RESYNC_MARKER_LENGTH, &tmpvar); 261 status = PV_BitstreamShowBitsByteAlign(stream, 23, &tmpvar); /* this call is valid for f_code < 8 */ 281 while ((status = PV_GobHeader(video)) == PV_FAIL) 283 if ((status 545 PV_STATUS status; local [all...] |
H A D | datapart_decode.cpp | 41 PV_STATUS status; local 86 status = DecodeDataPart_I_VideoPacket(video, slice_counter); 90 status = DecodeDataPart_P_VideoPacket(video, slice_counter); 98 while ((status = PV_ReadVideoPacketHeader(video, &mbnum)) == PV_FAIL) 100 if ((status = quickSearchVideoPacketHeader(stream, resync_marker_length)) != PV_SUCCESS) 106 if (status == PV_END_OF_VOP) 140 PV_STATUS status; local 175 status = GetMBheaderDataPart_DQUANT_DC(video, &QP); 198 status = BitstreamShowBits32(stream, DC_MARKER_LENGTH, &tmpvar); 209 status 305 PV_STATUS status; local 518 PV_STATUS status = PV_SUCCESS; local [all...] |
H A D | dec_pred_intra_dc.cpp | 32 PV_STATUS status = PV_SUCCESS; local 41 status = PV_VlcDecIntraDCPredSize(stream, compnum, &DC_size); 43 if (status == PV_SUCCESS) 73 return status;
|
H A D | packet_util.cpp | 30 PV_STATUS status; local 47 status = PV_BitstreamShowBitsByteAlign(stream, resync_marker_length, &tmpvar32); 48 /* if (status != PV_SUCCESS && status != PV_END_OF_BUFFER) return status; */ 115 status = BitstreamCheckEndBuffer(stream); /* return end_of_VOP 03/30/01 */ 116 if (status != PV_SUCCESS) 118 return status; 120 status = BitstreamShowBits32HC(stream, &tmpvar32); /* 07/07/01 */ 196 PV_STATUS status; local [all...] |
H A D | pvdec_api.cpp | 79 Bool status = PV_TRUE; local 107 status = PV_FALSE; 113 if (video->vol == NULL) status = PV_FALSE; 127 if (video->currVop == NULL) status = PV_FALSE; 130 if (video->prevVop == NULL) status = PV_FALSE; 137 if (video->currVop == NULL) status = PV_FALSE; 140 if (video->prevVop == NULL) status = PV_FALSE; 145 status = PV_FALSE; 151 if (video->vopHeader == NULL) status = PV_FALSE; 157 if (status 307 Bool status = PV_TRUE; local 1056 PV_STATUS status = PV_FAIL; local 1093 PV_STATUS status = PV_FAIL; local 1294 PV_STATUS status = PV_FAIL; local [all...] |
H A D | vlc_decode.cpp | 98 Modified : 04/16/2001 : removed status checking of PV_BitstreamFlushBits 105 PV_STATUS status; local 116 status = BitstreamCheckEndBuffer(stream); 117 if (status == PV_END_OF_VOP) return status; /* 03/19/2002 */ 134 PV_STATUS status; local 164 status = PV_VlcDecMV(stream, &vlc_code_mag); 165 if (status != PV_SUCCESS) 167 return status; 174 status 269 PV_STATUS status; local 454 PV_STATUS status = PV_SUCCESS; local 630 PV_STATUS status = PV_FAIL; /* 07/09/01 */ local [all...] |