/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/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/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 | 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/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 | 176 status_t status = (*mDownmixHandle)->command(mDownmixHandle, local 180 if (status != 0 || cmdStatus != 0) { 182 status, cmdStatus); 190 status = (*mDownmixHandle)->command(mDownmixHandle, 193 if (status != 0 || cmdStatus != 0) { 195 status, cmdStatus); 214 status = (*mDownmixHandle)->command(mDownmixHandle, 218 if (status != 0 || cmdStatus != 0) { 220 status, cmdStatus);
|
H A D | FastMixer.cpp | 471 status_t status = mOutputSink->getTimestamp(timestamp); local 472 if (status == NO_ERROR) { 485 status = INVALID_OPERATION; 488 if (status == NO_ERROR) {
|
H A D | PatchPanel.cpp | 142 status_t status = NO_ERROR; local 192 status = BAD_VALUE; 201 status = INVALID_OPERATION; 207 status = BAD_VALUE; 226 status = INVALID_OPERATION; 235 status = INVALID_OPERATION; 253 status = NO_MEMORY; 289 status = NO_MEMORY; 292 status = createPatchConnections(newPatch, patch); 293 if (status ! 395 status_t status = createAudioPatch(&subPatch, &patch->mRecordPatchHandle); local 539 status_t status = NO_ERROR; local [all...] |
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
H A D | ConfigParsingUtils.cpp | 224 status_t status = NAME_NOT_FOUND; local 232 if (status == NAME_NOT_FOUND || status == NO_ERROR) { 233 status = tmpStatus; 245 if (status == NAME_NOT_FOUND || status == NO_ERROR) { 246 status = tmpStatus; 257 if (status == NAME_NOT_FOUND || status == NO_ERROR) { 258 status [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) { 204 status_t status = af->openInput(module, &input, &config, pDevices, local 206 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/services/camera/libcameraservice/device3/ |
H A D | Camera3IOStreamBase.cpp | 150 camera3_buffer_status_t status, 162 buffer.status = status; 146 handoutBufferLocked(camera3_stream_buffer &buffer, buffer_handle_t *handle, int acquireFence, int releaseFence, camera3_buffer_status_t status, bool output) argument
|
/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);
|
/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/ |
H A D | Bmgr.java | 222 public void onResult(String currentPackage, int status) { argument 224 + convertBackupStatusToString(status)); 228 public void backupFinished(int status) { argument 230 + convertBackupStatusToString(status));
|
/frameworks/base/core/java/android/app/backup/ |
H A D | BackupManager.java | 62 // BackupObserver status codes 540 public void onResult(String currentPackage, int status) { argument 542 mHandler.obtainMessage(MSG_RESULT, status, 0, currentPackage)); 546 public void backupFinished(int status) { argument 548 mHandler.obtainMessage(MSG_FINISHED, status, 0));
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothGattServer.java | 68 public void onServerRegistered(int status, int serverIf) { 69 if (DBG) Log.d(TAG, "onServerRegistered() - status=" + status 95 public void onServerConnectionState(int status, int serverIf, 97 if (DBG) Log.d(TAG, "onServerConnectionState() - status=" + status 100 mCallback.onConnectionStateChange(mAdapter.getRemoteDevice(address), status, 112 public void onServiceAdded(int status, int srvcType, 116 + "status=" + status); 492 sendResponse(BluetoothDevice device, int requestId, int status, int offset, byte[] value) argument [all...] |
/frameworks/base/core/java/android/bluetooth/le/ |
H A D | BluetoothLeAdvertiser.java | 80 * Returns immediately, the operation status is delivered through {@code callback}. 86 * @param callback Callback for advertising status. 96 * active scan request. This method returns immediately, the operation status is delivered 104 * @param callback Callback for advertising status. 311 public void onClientRegistered(int status, int clientIf) { argument 312 Log.d(TAG, "onClientRegistered() - status=" + status + " clientIf=" + clientIf); 314 if (status == BluetoothGatt.GATT_SUCCESS) { 336 public void onMultiAdvertiseCallback(int status, boolean isStart, argument 340 if (status [all...] |