/frameworks/av/media/libmedia/ |
H A D | JetPlayer.cpp | 88 status_t status = mAudioTrack->set(AUDIO_STREAM_MUSIC, //TODO parameterize this local 94 if (status != OK) { 95 ALOGE("JetPlayer::init(): Error initializing JET library; AudioTrack error %d", status); 262 // fire up an update if any of the status fields has changed 459 ALOGV(">> current JET player status: userID=%d segmentRepeatCount=%d numQueuedSegments=%d " 464 ALOGE(">> JET player status is NULL");
|
H A D | MediaScanner.cpp | 214 status_t status = client.scanFile(path, statbuf.st_mtime, 0, local 216 if (status) { 230 status_t status = client.scanFile(path, statbuf.st_mtime, statbuf.st_size, local 232 if (status) {
|
H A D | Visualizer.cpp | 78 status_t status = AudioEffect::setEnabled(enabled); local 80 if (status == NO_ERROR) { 94 return status; 149 status_t status = setParameter(p); local 151 ALOGV("setCaptureSize size %d status %d p->status %d", size, status, p->status); 153 if (status == NO_ERROR) { 154 status 178 status_t status = setParameter(p); local 208 status_t status = setParameter(p); local 241 status_t status = NO_ERROR; local 268 status_t status = NO_ERROR; local 292 status_t status = NO_ERROR; local 342 status_t status = getWaveForm(waveform); local 377 status_t status = getParameter(p); local [all...] |
/frameworks/av/media/libstagefright/ |
H A D | AACWriter.cpp | 161 status_t status = mSource->stop(); local 163 (status != OK && status != ERROR_END_OF_STREAM)) { 164 err = status;
|
H A D | AudioSource.cpp | 68 status_t status = AudioRecord::getMinFrameCount(&minFrameCount, local 72 if (status == OK) { 96 mInitCheck = status;
|
H A D | TimedEventQueue.cpp | 338 status_t status = mPowerManager->acquireWakeLock(POWERMANAGER_PARTIAL_WAKE_LOCK, local 343 if (status == NO_ERROR) {
|
/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 | 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...] |
/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 | 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...] |
/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...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
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...] |
/frameworks/av/media/libstagefright/codecs/opus/dec/ |
H A D | SoftOpus.cpp | 358 int status = OPUS_INVALID_STATE; local 364 &status); 365 if (!mDecoder || status != OPUS_OK) { 366 ALOGV("opus_multistream_decoder_create failed status=%s", 367 opus_strerror(status)); 371 status = 374 if (status != OPUS_OK) { 375 ALOGV("Failed to set OPUS header gain; status=%s", 376 opus_strerror(status));
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | AMPEG4ElementaryAssembler.cpp | 410 AssemblyStatus status = addPacket(source); local 411 if (status == MALFORMED_PACKET) { 415 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...] |
H A D | Radio.cpp | 106 status_t status = service->attach(handle, radio, config, withAudio, radio->mIRadio); local 108 if (status == NO_ERROR && radio->mIRadio != 0) { 111 ALOGW("Error %d connecting to radio service", status); 277 event.status = DEAD_OBJECT;
|
/frameworks/av/services/audioflinger/ |
H A D | BufferProviders.cpp | 177 status_t status = (*mDownmixHandle)->command(mDownmixHandle, local 181 if (status != 0 || cmdStatus != 0) { 183 status, cmdStatus); 191 status = (*mDownmixHandle)->command(mDownmixHandle, 194 if (status != 0 || cmdStatus != 0) { 196 status, cmdStatus); 215 status = (*mDownmixHandle)->command(mDownmixHandle, 219 if (status != 0 || cmdStatus != 0) { 221 status, cmdStatus);
|
H A D | PatchPanel.cpp | 144 status_t status = NO_ERROR; local 185 status = BAD_VALUE; 194 status = INVALID_OPERATION; 200 status = BAD_VALUE; 219 status = INVALID_OPERATION; 228 status = INVALID_OPERATION; 246 status = NO_MEMORY; 269 status = NO_MEMORY; 272 status = createPatchConnections(newPatch, patch); 273 if (status ! 375 status_t status = createAudioPatch(&subPatch, &patch->mRecordPatchHandle); local 515 status_t status = NO_ERROR; local 612 status_t status = NO_ERROR; local [all...] |
/frameworks/av/services/audiopolicy/service/ |
H A D | AudioPolicyClientImplLegacy.cpp | 92 status_t status = af->openOutput(module, &output, &config, pDevices, local 94 if (status == NO_ERROR) { 203 status_t status = af->openInput(module, &input, &config, pDevices, local 205 if (status == NO_ERROR) {
|
H A D | AudioPolicyEffects.cpp | 84 status_t status = NO_ERROR; local 94 return status; 114 status_t status = fx->initCheck(); local 115 if (status != NO_ERROR && status != ALREADY_EXISTS) { 130 return status; 136 status_t status = NO_ERROR; local 141 return status; 152 return status; 159 status_t status local 192 status_t status = NO_ERROR; local 225 status_t status = NO_ERROR; local 259 status_t status = fx->initCheck(); local 280 status_t status = NO_ERROR; local [all...] |
/frameworks/av/soundtrigger/ |
H A D | SoundTrigger.cpp | 104 status_t status = service->attach(module, soundTrigger, soundTrigger->mISoundTrigger); local 106 if (status == NO_ERROR && soundTrigger->mISoundTrigger != 0) { 109 ALOGW("Error %d connecting to sound trigger service", status);
|