/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
rate_control.cpp | 27 void updateRateControl(rateControl *rc, VideoEncData *video); 28 void updateRC_PostProc(rateControl *rc, VideoEncData *video); 31 ************** RC APIs to core encoding modules ******************* 34 PV_STATUS RC_Cleanup(rateControl *rc[],Int numLayers); 35 PV_STATUS RC_VopQPSetting(VideoEncData *video,rateControl *rc[]); 36 PV_STATUS RC_VopUpdateStat(VideoEncData *video,rateControl *rc[]); 54 rateControl **rc = video->rc; local 65 rc[n]->fine_frame_skip = encParams->FineFrameSkip_Enabled; 66 rc[n]->no_frame_skip = encParams->NoFrameSkip_Enabled 192 rateControl *rc = video->rc[currLayer]; local 385 rateControl *rc = video->rc[currLayer]; local 420 rateControl **rc = video->rc; local 534 rateControl *rc = video->rc[video->currLayer]; local 704 rateControl *rc = video->rc[video->currLayer]; local [all...] |
/frameworks/base/core/jni/ |
com_android_internal_os_Zygote.cpp | 164 int rc = setgroups(gids.size(), reinterpret_cast<const gid_t*>(&gids[0])); local 165 if (rc == -1) { 194 int rc = setrlimit(javaRlimit[0], &rlim); local 195 if (rc == -1) { 207 int rc = prctl(PR_SET_KEEPCAPS, 1, 0, 0, 0); local 208 if (rc == -1) { 216 int rc = prctl(PR_CAPBSET_DROP, i, 0, 0, 0); local 217 if (rc == -1) { 467 int rc = createProcessGroup(uid, getpid()); local 468 if (rc != 0) 487 int rc = setresgid(gid, gid, gid); local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/examples/ |
vpx_temporal_scalable_patterns.c | 63 static void set_rate_control_metrics(struct RateControlMetrics *rc, 69 rc->layer_framerate[0] = framerate / cfg->ts_rate_decimator[0]; 70 rc->layer_pfb[0] = 1000.0 * cfg->ts_target_bitrate[0] / 71 rc->layer_framerate[0]; 74 rc->layer_framerate[i] = framerate / cfg->ts_rate_decimator[i]; 75 rc->layer_pfb[i] = 1000.0 * 77 (rc->layer_framerate[i] - rc->layer_framerate[i - 1]); 79 rc->layer_input_frames[i] = 0; 80 rc->layer_enc_frames[i] = 0 454 struct RateControlMetrics rc; local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/ |
ethreading.c | 509 int rc = 0; local 559 rc = pthread_create(&cpi->h_encoding_thread[ithread], 0, 561 if(rc) 565 if(rc) 593 rc = pthread_create(&cpi->h_filter_thread, 0, thread_loopfilter, 596 if(rc)
|
quantize.c | 24 int i, rc, eob; local 43 rc = vp8_default_zig_zag1d[i]; 44 z = coeff_ptr[rc]; 45 zbin = zbin_ptr[rc] ; 52 x += round_ptr[rc]; 53 y = ((((x * quant_ptr[rc]) >> 16) + x) 54 * quant_shift_ptr[rc]) >> 16; /* quantize (x) */ 56 qcoeff_ptr[rc] = x; /* write to destination */ 57 dqcoeff_ptr[rc] = x * dequant_ptr[rc]; /* dequantized value * 72 int i, rc, eob; local 108 int i, rc, eob; local 162 int rc; local 220 int i, rc, eob; local 565 int rc = vp8_default_zig_zag1d[i]; local [all...] |
tokenize.c | 118 int band, rc, v, token; local 156 rc = vp8_default_zig_zag1d[c]; 158 v = qcoeff_ptr[rc]; 209 int band, rc, v; local 257 rc = vp8_default_zig_zag1d[c]; 259 v = qcoeff_ptr[rc]; 330 rc = vp8_default_zig_zag1d[c]; 332 v = qcoeff_ptr[rc];
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
vp9_aq_cyclicrefresh.c | 71 const RATE_CONTROL *rc) { 83 if (rc->av_per_frame_bandwidth < factor * number_blocks || 181 const RATE_CONTROL *const rc = &cpi->rc; local 185 const int apply_cyclic_refresh = apply_cyclic_refresh_bitrate(cm, rc); 210 cr->thresh_rate_sb = (rc->sb64_target_rate * 256) >> 2; 217 cr->thresh_rate_sb = (rc->sb64_target_rate * 256) >> 3;
|
/hardware/intel/common/wrs_omxil_core/base/src/ |
portbase.cpp | 587 int rc = 0; local 598 rc = pthread_cond_timedwait(&hdrs_wait, &hdrs_lock, &tv); 600 if (rc == ETIMEDOUT) { [all...] |
/hardware/qcom/camera/QCamera2/HAL/ |
QCameraChannel.cpp | 184 int32_t rc = NO_ERROR; local 208 rc = pStream->init(streamInfoBuf, miscBuf, minStreamBufNum, 210 if (rc == 0) { 215 return rc; 230 int32_t rc = NO_ERROR; local 233 rc = mStreams[i]->configStream(); 234 if (rc != NO_ERROR) { 239 return rc; 257 int32_t rc = NO_ERROR; local 269 rc = INVALID_OPERATION 290 int32_t rc = NO_ERROR; local 366 int32_t rc = NO_ERROR; local 407 int32_t rc = NO_ERROR; local 440 int32_t rc = NO_ERROR; local 526 int32_t rc = NO_ERROR; local 651 int32_t rc = m_camOps->request_super_buf(m_camHandle, local 671 int32_t rc = m_camOps->cancel_super_buf_request(m_camHandle, m_handle); local 689 int32_t rc = m_camOps->process_advanced_capture(m_camHandle, local 710 int32_t rc = NO_ERROR; local 731 int32_t rc = m_camOps->flush_super_buf_queue(m_camHandle, m_handle, frame_idx); local 806 int32_t rc = pVideoStream->bufDone(opaque, isMetaData); local 883 int32_t rc = 0; local 1157 int32_t rc = 0; local 1287 int32_t rc = 0; local 1363 int32_t rc = 0; local [all...] |
QCameraStateMachine.cpp | 187 int32_t rc = NO_ERROR; local 190 rc = m_parent->enableMsgType(m_DelayedMsgs); 197 return rc; 289 int32_t rc = NO_ERROR; local 293 rc = procEvtPreviewStoppedState(evt, payload); 296 rc = procEvtPreviewReadyState(evt, payload); 299 rc = procEvtPreviewingState(evt, payload); 302 rc = procEvtPrepareSnapshotState(evt, payload); 305 rc = procEvtPicTakingState(evt, payload); 308 rc = procEvtRecordingState(evt, payload) 340 int32_t rc = NO_ERROR; local 661 int32_t rc = NO_ERROR; local 967 int32_t rc = NO_ERROR; local 1426 int32_t rc = NO_ERROR; local 1584 int32_t rc = NO_ERROR; local 1968 int32_t rc = NO_ERROR; local 2338 int32_t rc = NO_ERROR; local 2699 int32_t rc = NO_ERROR; local [all...] |
/hardware/qcom/camera/QCamera2/HAL/wrapper/ |
QualcommCamera.cpp | 114 int rc = -1; local 121 return rc; 130 int rc = -1; local 142 return rc; 153 rc = 0; 170 ALOGE("%s: end rc %d", __func__, rc); 171 return rc; 177 int rc = -1; local 193 rc = 0 202 int rc = -1; local 245 int rc = -1; local 256 int rc = -1; local 277 int rc = -1; local 288 int rc = -1; local 299 int rc = -1; local 319 int rc = -1; local 340 int rc = -1; local 351 int rc = -1; local 362 int rc = -1; local 374 int rc = -1; local 386 int rc = -1; local 420 int rc = -1; local 442 int rc = -1; local [all...] |
/hardware/qcom/camera/QCamera2/HAL3/ |
QCamera3Mem.cpp | 297 int rc = OK; local 308 rc = allocOneBuffer(mMemInfo[i], heap_id, size); 309 if (rc < 0) { 316 return rc; 351 int rc = OK; local 370 rc = ioctl(main_ion_fd, ION_IOC_ALLOC, &allocData); 371 if (rc < 0) { 379 rc = ioctl(main_ion_fd, ION_IOC_SHARE, &ion_info_fd); 380 if (rc < 0) { 482 int rc = alloc(count, size, heap_id_mask) local 773 int32_t rc = NO_ERROR; local [all...] |
QCamera3Stream.cpp | 71 int32_t rc = NO_ERROR; local 77 rc = stream->getBufs(offset, num_bufs, initial_reg_flag, bufs, ops_tbl); 78 if (NO_ERROR != rc) { 85 rc = stream->getBatchBufs(num_bufs, initial_reg_flag, 88 return rc; 108 int32_t rc = NO_ERROR; local 116 rc = stream->putBatchBufs(ops_tbl); 117 if (NO_ERROR != rc) { 121 rc = stream->putBufs(ops_tbl); 122 return rc; 140 int32_t rc = NO_ERROR; local 180 int32_t rc = NO_ERROR; local 267 int rc = mCamOps->unmap_stream_buf(mCamHandle, local 317 int32_t rc = OK; local 446 int32_t rc = 0; local 468 int32_t rc = 0; local 488 int32_t rc; local 617 int32_t rc = NO_ERROR; local 679 int32_t rc = NO_ERROR; local 730 int rc = NO_ERROR; local 826 int rc = NO_ERROR; local 1035 int32_t rc = NO_ERROR; local 1088 int rc = NO_ERROR; local 1224 int rc = NO_ERROR; local 1262 int rc = NO_ERROR; local 1295 int32_t rc = NO_ERROR; local 1335 int32_t rc = NO_ERROR; local 1382 int32_t rc = NO_ERROR; local [all...] |
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/ |
mm_camera_thread.c | 284 int rc = 0, i; local 297 rc = poll(poll_cb->poll_fds, poll_cb->num_fds, poll_cb->timeoutms); 298 if(rc > 0) { 414 int32_t rc = -1; local 432 rc = mm_camera_poll_sig(poll_cb, MM_CAMERA_PIPE_CMD_POLL_ENTRIES_UPDATED); 434 rc = mm_camera_poll_sig_async(poll_cb, MM_CAMERA_PIPE_CMD_POLL_ENTRIES_UPDATED_ASYNC ); 440 return rc; 461 int32_t rc = -1; local 481 rc = mm_camera_poll_sig(poll_cb, MM_CAMERA_PIPE_CMD_POLL_ENTRIES_UPDATED); 483 rc = mm_camera_poll_sig_async(poll_cb, MM_CAMERA_PIPE_CMD_POLL_ENTRIES_UPDATED_ASYNC ) 497 int32_t rc = 0; local 536 int32_t rc = 0; local 616 int32_t rc = 0; local 639 int32_t rc = 0; local 648 int32_t rc = 0; local 670 int32_t rc = 0; local 679 int32_t rc = 0; local [all...] |
/hardware/qcom/camera/QCamera2/stack/mm-camera-test/src/ |
mm_qcamera_dual_test.c | 82 int rc = MM_CAMERA_OK; local 91 CDBG_ERROR("%s:mm_app_open() back camera err=%d\n",__func__, rc); 92 rc = -1; 96 CDBG_ERROR("%s:system_dimension_set() err=%d\n",__func__, rc); 97 rc = -1; 103 CDBG_ERROR("%s:mm_app_open() front camera err=%d\n",__func__, rc); 104 rc = -1; 109 CDBG_ERROR("%s:system_dimension_set() err=%d\n",__func__, rc); 110 rc = -1; 115 if( MM_CAMERA_OK != (rc = startRdi(front_camera))) 172 int rc = MM_CAMERA_OK; local 261 int rc = MM_CAMERA_OK; local 351 int rc = MM_CAMERA_OK; local 453 int rc = MM_CAMERA_OK; local 562 int rc = MM_CAMERA_OK; local 655 int rc = MM_CAMERA_OK; local 748 int rc = MM_CAMERA_OK; local 805 int rc = MM_CAMERA_OK; local 880 int rc = MM_CAMERA_OK; local 913 int rc = MM_CAMERA_OK; local 950 int rc = MM_CAMERA_OK; local 989 int rc = MM_CAMERA_OK; local 1026 int rc = MM_CAMERA_OK; local 1065 int rc = MM_CAMERA_OK; local 1107 int rc = MM_CAMERA_OK; local 1214 int rc = MM_CAMERA_OK; local 1276 int rc = MM_CAMERA_OK; local 1337 int rc = MM_CAMERA_OK; local 1399 int rc = MM_CAMERA_OK; local 1461 int rc = MM_CAMERA_OK; local 1522 int rc = MM_CAMERA_OK; local 1582 int rc = MM_CAMERA_OK; local 1651 int rc = MM_CAMERA_OK; local 1713 int rc = MM_CAMERA_OK; local 1780 int rc = MM_CAMERA_OK; local 1844 int rc = MM_CAMERA_OK; local 1914 int rc = MM_CAMERA_OK; local [all...] |
mm_qcamera_preview.c | 194 int rc = MM_CAMERA_OK; local 319 rc = mm_app_do_reprocess(pme, 325 if (MM_CAMERA_OK != rc ) { 326 CDBG_ERROR("%s: reprocess failed rc = %d", __func__, rc); 344 rc = createEncodingSession(pme, m_stream, m_frame); 345 if (0 != rc) { 352 rc = encodeData(pme, bufs, m_stream); 393 int rc = MM_CAMERA_OK; local 422 rc = mm_app_config_stream(test_obj, channel, stream, &stream->s_config) 437 int rc = MM_CAMERA_OK; local 489 int rc = MM_CAMERA_OK; local 542 int rc = MM_CAMERA_OK; local 622 int rc = MM_CAMERA_OK; local 653 int rc = MM_CAMERA_OK; local 694 int rc = MM_CAMERA_OK; local 709 int32_t rc = MM_CAMERA_OK; local 806 int rc = MM_CAMERA_OK; local 825 int rc = MM_CAMERA_OK; local 945 int rc = MM_CAMERA_OK; local 972 int rc = MM_CAMERA_OK; local [all...] |
mm_qcamera_socket.c | 45 ssize_t rc; local 57 rc = send(tsctrl->clientsocket_id, send_buf, send_len, 0); 58 if (rc < 0) { 61 rc = 0; 68 return rc; 81 ssize_t rc; local 87 rc = send(tsctrl->clientsocket_id, &ack_1, sizeof(ack_1), 0); 88 if (rc < 0) { 91 return rc; 92 } else if (rc < (int32_t)sizeof(ack_1)) 101 ssize_t rc; local 220 int rc = 0; local 290 ssize_t rc = 0; local 345 ssize_t rc; local 503 int rc = 0; local [all...] |
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/test/ |
mm_jpegdec_test.c | 51 size_t rc = 0; \ 54 rc = fwrite(p_addr, 1, len, fp); \ 171 int rc = 0; local 189 rc = mm_jpegdec_test_alloc(&p_obj->input, p_obj->use_ion); 190 if (rc) { 232 int rc = -1; local 249 rc = mm_jpegdec_test_alloc(&p_obj->output, p_obj->use_ion); 250 if (rc) { 255 rc = mm_jpegdec_test_read(p_obj); 256 if (rc) { 380 int rc = 0; local [all...] |
/hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/ |
loc_api_rpc_glue.c | 149 int32 rc = (loc_glue_callback_table[index].cb_func)(loc_glue_callback_table[index].user, local 154 ret->loc_event_cb_f_type_result = rc; 297 int rc = loc_apicb_app_init(); local 298 if (rc >= 0)
|
/hardware/qcom/gps/msm8084/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/ |
loc_api_rpc_glue.c | 149 int32 rc = (loc_glue_callback_table[index].cb_func)(loc_glue_callback_table[index].user, local 154 ret->loc_event_cb_f_type_result = rc; 297 int rc = loc_apicb_app_init(); local 298 if (rc >= 0)
|
/hardware/qcom/gps/msm8974/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/ |
loc_api_rpc_glue.c | 149 int32 rc = (loc_glue_callback_table[index].cb_func)(loc_glue_callback_table[index].user, local 154 ret->loc_event_cb_f_type_result = rc; 297 int rc = loc_apicb_app_init(); local 298 if (rc >= 0)
|
/hardware/qcom/keymaster/ |
keymaster_qcom.cpp | 201 int32_t rc; local 233 rc = ioctl(ion_fd, ION_IOC_ALLOC, &ion_alloc_data); 234 if (rc) { 246 rc = ioctl(ion_fd, ION_IOC_MAP, &ifd_data); 247 if (rc) {
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/util/ |
ThreadPool.java | 204 ResourceCounter rc = modeToCounter(mMode); local 205 if (rc != null) releaseResource(rc); 209 rc = modeToCounter(mode); 210 if (rc != null) { 211 if (!acquireResource(rc)) {
|
/system/bt/btcore/src/ |
counter.c | 377 int rc = command->handler(socket); local 378 if (rc == 1) {
|
/system/bt/stack/gap/ |
gap_conn.c | 371 int rc = BT_PASS; local 383 rc = GAP_INVALID_HANDLE; 386 rc = GAP_INVALID_HANDLE; 388 GAP_TRACE_EVENT ("GAP_GetRxQueueCnt - rc = 0x%04x, rx_queue_count=%d", 389 rc , *p_rx_queue_count); 391 return (rc); [all...] |