/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
H A D | vp9_ratectrl.c | 166 const RATE_CONTROL *rc = &cpi->rc; local 167 const int min_frame_target = MAX(rc->min_frame_bandwidth, 168 rc->av_per_frame_bandwidth >> 5); 171 if (cpi->refresh_golden_frame && rc->is_src_frame_alt_ref) { 179 if (target > rc->max_frame_bandwidth) 180 target = rc->max_frame_bandwidth; 185 const RATE_CONTROL *rc = &cpi->rc; local 188 const int max_rate = rc 221 RATE_CONTROL *const rc = &cpi->rc; local 241 RATE_CONTROL *const rc = &cpi->rc; local 417 const RATE_CONTROL *const rc = &cpi->rc; local 446 const RATE_CONTROL *rc = &cpi->rc; local 495 const RATE_CONTROL *const rc = &cpi->rc; local 605 const RATE_CONTROL *const rc = &cpi->rc; local 788 const RATE_CONTROL *const rc = &cpi->rc; local 1027 RATE_CONTROL *const rc = &cpi->rc; local 1050 RATE_CONTROL *const rc = &cpi->rc; local 1075 RATE_CONTROL *const rc = &cpi->rc; local 1176 const RATE_CONTROL *const rc = &cpi->rc; local 1193 const RATE_CONTROL *rc = &cpi->rc; local 1200 RATE_CONTROL *const rc = &cpi->rc; local 1235 const RATE_CONTROL *rc = &cpi->rc; local 1264 const RATE_CONTROL *rc = &cpi->rc; local 1284 RATE_CONTROL *const rc = &cpi->rc; local 1308 RATE_CONTROL *const rc = &cpi->rc; local [all...] |
H A D | vp9_quantize.c | 42 const int rc = scan[i]; local 43 const int coeff = coeff_ptr[rc]; 45 if (coeff < zbins[rc != 0] && coeff > nzbins[rc != 0]) 54 const int rc = scan[i]; local 55 const int coeff = coeff_ptr[rc]; 59 if (abs_coeff >= zbins[rc != 0]) { 60 int tmp = clamp(abs_coeff + round_ptr[rc != 0], INT16_MIN, INT16_MAX); 61 tmp = ((((tmp * quant_ptr[rc != 0]) >> 16) + tmp) * 62 quant_shift_ptr[rc ! 97 const int rc = scan[i]; local 109 const int rc = scan[idx_arr[i]]; local [all...] |
H A D | vp9_svc_layercontext.c | 32 RATE_CONTROL *const lrc = &lc->rc; 67 const RATE_CONTROL *const rc = &cpi->rc; local 80 RATE_CONTROL *const lrc = &lc->rc; 104 lrc->max_frame_bandwidth = rc->max_frame_bandwidth; 106 lrc->worst_quality = rc->worst_quality; 107 lrc->best_quality = rc->best_quality; 121 RATE_CONTROL *const lrc = &lc->rc; 125 lrc->max_frame_bandwidth = cpi->rc.max_frame_bandwidth; 143 RATE_CONTROL *const lrc = &lc->rc; [all...] |
H A D | vp9_firstpass.c | 338 ((int64_t)cpi->rc.av_per_frame_bandwidth * 343 else if (max_bits > cpi->rc.max_frame_bandwidth) 344 max_bits = cpi->rc.max_frame_bandwidth; 908 const RATE_CONTROL *const rc = &cpi->rc; local 915 return rc->worst_quality; // Highest value allowed 923 for (q = rc->best_quality; q < rc->worst_quality; ++q) { 1359 if (cpi->rc.frames_to_key <= (FIXED_ARF_GROUP_SIZE + 8)) { 1361 cpi->rc 1436 RATE_CONTROL *const rc = &cpi->rc; local 1900 RATE_CONTROL *const rc = &cpi->rc; local 2205 RATE_CONTROL *const rc = &cpi->rc; local [all...] |
H A D | vp9_onyx_if.c | 216 const RATE_CONTROL *const rc = &cpi->rc; local 217 int start_index = rc->worst_quality; 218 int target_index = rc->worst_quality; 222 for (i = rc->best_quality; i < rc->worst_quality; ++i) { 229 for (i = rc->best_quality; i < rc->worst_quality; ++i) { 243 const RATE_CONTROL *const rc = &cpi->rc; local 265 const RATE_CONTROL *const rc = &cpi->rc; local 692 RATE_CONTROL *const rc = &cpi->rc; local 756 init_rate_control(const VP9_CONFIG *oxcf, int pass, RATE_CONTROL *rc) argument 831 RATE_CONTROL *const rc = &cpi->rc; local 1161 RATE_CONTROL *const rc = cpi != NULL ? &cpi->rc : NULL; local 2011 const RATE_CONTROL *const rc = &cpi->rc; local 2283 RATE_CONTROL *const rc = &cpi->rc; local 2992 RATE_CONTROL *const rc = &cpi->rc; local [all...] |
H A D | vp9_svc_layercontext.h | 23 RATE_CONTROL rc; member in struct:__anon649 70 // Initialize second pass rc for spatial svc.
|
H A D | 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; 70 apply_cyclic_refresh_bitrate(const VP9_COMMON *cm, const RATE_CONTROL *rc) argument
|
H A D | vp9_aq_complexity.c | 30 (cpi->refresh_golden_frame && !cpi->rc.is_src_frame_alt_ref)) { 81 const int target_rate = (cpi->rc.sb64_target_rate * xmis * ymis * 256) /
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/examples/ |
H A D | vpx_temporal_scalable_patterns.c | 63 static void set_rate_control_metrics(struct RateControlMetrics *rc, argument 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 88 printout_rate_control_summary(struct RateControlMetrics *rc, vpx_codec_enc_cfg_t *cfg, int frame_cnt) argument 454 struct RateControlMetrics rc; local [all...] |
/hardware/qcom/power/ |
H A D | power.c | 65 int rc; local 78 rc = sendto(client_sockfd, data, strlen(data), 0, (const struct sockaddr *)&client_addr, sizeof(struct sockaddr_un)); 81 rc = sendto(client_sockfd, data, strlen(data), 0, (const struct sockaddr *)&client_addr, sizeof(struct sockaddr_un)); 84 if (rc < 0) { 91 int rc; local 104 rc = sendto(client_sockfd, data, strlen(data), 0, (const struct sockaddr *)&client_addr, sizeof(struct sockaddr_un)); 107 rc = sendto(client_sockfd, data, strlen(data), 0, (const struct sockaddr *)&client_addr, sizeof(struct sockaddr_un)); 110 if (rc < 0) { 148 int rc; local 160 rc [all...] |
/hardware/samsung_slsi/exynos5/mobicore/daemon/Common/ |
H A D | CSemaphore.cpp | 69 int rc = 0; local 79 rc = pthread_cond_timedwait(&m_cond, &m_mutex, &tm); 84 if (!rc) 87 return (rc == 0);
|
/hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/ |
H A D | loc_api_sync_call.c | 447 int rc = 0; /* return code from pthread calls */ local 457 while (slot->signal_sent == 0 && rc != ETIMEDOUT) { 458 rc = pthread_cond_timedwait(&slot->loc_cb_arrived_cond, 462 if (rc == ETIMEDOUT) 502 int rc = -1; local 512 return rc; 525 rc = loc_ioctl(handle, ioctl_type, ioctl_data_ptr); 529 if (rc != RPC_LOC_API_SUCCESS) 532 select_id, loc_get_ioctl_type_name(ioctl_type), loc_get_ioctl_status_name(rc)); 538 if ((rc [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/ |
H A D | 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]; /* dequantize 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...] |
H A D | encodemb.c | 237 int rc; local 296 rc = vp8_default_zig_zag1d[i]; 297 x = qcoeff_ptr[rc]; 328 dx = dqcoeff_ptr[rc] - coeff_ptr[rc]; 340 if((abs(x)*dequant_ptr[rc]>abs(coeff_ptr[rc])) && 341 (abs(x)*dequant_ptr[rc]<abs(coeff_ptr[rc])+dequant_ptr[rc])) 497 int rc = vp8_default_zig_zag1d[i]; local [all...] |
/hardware/qcom/media/mm-core/omxcore/src/common/ |
H A D | qc_omx_core.c | 136 int rc = -1,i=0; local 137 DEBUG_PRINT("before get_cmp_index **********%d\n", rc); 145 rc = i; 149 DEBUG_PRINT("returning index %d\n", rc); 150 return rc; 203 int rc = -1; local 206 return rc; 214 rc = i; 215 return rc; 219 return rc; 238 int rc = -1; local 275 int rc = 1; local 305 int rc = -1; local [all...] |
/hardware/qcom/media/mm-core/src/common/ |
H A D | qc_omx_core.c | 133 int rc = -1,i=0; local 134 DEBUG_PRINT("before get_cmp_index **********%d\n", rc); 142 rc = i; 146 DEBUG_PRINT("returning index %d\n", rc); 147 return rc; 200 int rc = -1; local 203 return rc; 212 rc = i; 219 return rc; 238 int rc local 275 int rc = 1; local 305 int rc = -1; local [all...] |
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/ |
H A D | loc_eng_ni.cpp | 162 int rc = 0; local 163 rc = pthread_create(&loc_eng_ni_data_p->thread, NULL, ni_thread_proc, &loc_eng_data); 164 if (rc) 168 rc = pthread_detach(loc_eng_ni_data_p->thread); 169 if (rc) 191 int rc = 0; /* return code from pthread calls */ local 207 rc = pthread_cond_timedwait(&loc_eng_ni_data_p->tCond, 210 if (rc == ETIMEDOUT) 213 LOC_LOGD("ni_thread_proc-Thread time out after valting for specified time. Ret Val %d\n",rc ); 218 "pthread_cond_timedwait = %d\n",rc ); [all...] |
/hardware/qcom/media/mm-video-v4l2/vidc/venc/src/ |
H A D | video_encoder_device_v4l2.cpp | 249 int error_code = 0,rc=0; local 282 rc = poll(&pfd, 1, POLL_TIMEOUT); 284 if (!rc) { 288 } else if (rc < 0) { 289 DEBUG_PRINT_ERROR("Error while polling: %d", rc); 362 rc = ioctl(pfd.fd, VIDIOC_DQEVENT, &dqevent); 411 int i,rc; local 422 rc = ioctl(fd, VIDIOC_SUBSCRIBE_EVENT, &sub); 424 if (rc) { 434 rc 538 int rc = true; local 971 int i,rc; local 1910 int rc = 0, ret = 0; local 2173 int rc = 0, extra_idx; local 2356 int rc=0; local 2483 int rc = 0, extra_idx; local 2660 int rc; local 2705 int rc; local 2761 int rc; local 3053 int rc; local 3084 int rc; local 3137 int rc; local 3196 int rc = 0; local 3229 int rc = 0; local 3294 int rc; local 3339 int rc; local 3397 int rc; local 3479 int rc; local 3534 int rc = 0; local 3566 int rc = 0; local 3630 int rc; local 3653 int rc; local 3677 int rc; local 3722 int rc = true; local 3742 int rc = true; local 3763 int rc; local 3818 int rc; local 3891 int rc = 0; local 3937 int rc = 0; local 3969 int rc = 0; local 3990 int rc = 0; local [all...] |
/hardware/qcom/media/mm-video-legacy/vidc/venc/src/ |
H A D | video_encoder_device_copper.cpp | 174 int error_code = 0,rc=0; local 177 rc = poll(&pfd, 1, TIMEOUT); 178 if (!rc) { 181 } else if (rc < 0) { 182 printf("Error while polling: %d\n", rc); 190 rc = ioctl(pfd.fd, VIDIOC_DQBUF, &v4l2_buf); 191 if (rc) { 192 printf("Failed to dequeue buf: %d from capture capability\n", rc); 207 rc = ioctl(pfd.fd, VIDIOC_DQBUF, &v4l2_buf); 208 if (rc) { 428 int rc=0; local 1224 int rc = 0; local 1397 int rc=0; local 1411 int rc=0; local 1440 int rc=0; local 1571 int rc=0; local 1659 int rc=0; local 1708 int rc; local 2006 int rc; local 2032 int rc; local 2081 int rc; local 2126 int rc; local 2195 int rc; local 2252 int rc; local 2378 int rc; local 2434 int rc; local 2469 int rc; local 2543 int rc; local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/arm/armv6/ |
H A D | vp8_fast_quantize_b_armv6.asm | 131 ldrh r2, [r0, #30] ; rc=15, i=15 136 ldrh r3, [r0, #28] ; rc=14, i=14 142 ldrh r2, [r0, #22] ; rc=11, i=13 148 ldrh r3, [r0, #14] ; rc=7, i=12 153 ldrh r2, [r0, #20] ; rc=10, i=11 159 ldrh r3, [r0, #26] ; rc=13, i=10 164 ldrh r2, [r0, #24] ; rc=12, i=9 170 ldrh r3, [r0, #18] ; rc=9, i=8 175 ldrh r2, [r0, #12] ; rc=6, i=7 181 ldrh r3, [r0, #6] ; rc [all...] |
/hardware/qcom/gps/loc_api/libloc_api_50001/ |
H A D | loc_eng_ni.cpp | 179 int rc = 0; local 180 rc = pthread_create(&pSession->thread, NULL, ni_thread_proc, pSession); 181 if (rc) 185 rc = pthread_detach(pSession->thread); 186 if (rc) 207 int rc = 0; /* return code from pthread calls */ local 223 rc = pthread_cond_timedwait(&pSession->tCond, 226 if (rc == ETIMEDOUT) 229 LOC_LOGD("ni_thread_proc-Thread time out after valting for specified time. Ret Val %d\n",rc ); 234 "pthread_cond_timedwait = %d\n",rc ); [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/ |
H A D | vp9_scan.c | 302 int rc = scan[n]; local 303 if (rc == idx) 320 int rc = scan[n]; local 322 i = rc / l; 323 j = rc % l;
|
/hardware/libhardware/include/hardware/ |
H A D | keymaster.h | 283 int rc = module->methods->open(module, KEYSTORE_KEYMASTER, local 286 return rc;
|
/hardware/qcom/gps/loc_api/libloc_api-rpc/gen-1240/ |
H A D | loc_api_rpc_glue.c | 123 int32 rc = loc_api_saved_cb(loc_handle, loc_event, loc_event_payload); local 124 ret->loc_event_cb_f_type_result = rc; 174 int rc = loc_apicb_app_init(); local 175 if (rc >= 0)
|
/hardware/qcom/gps/loc_api/libloc_api-rpc/gen-3200/ |
H A D | loc_api_rpc_glue.c | 123 int32 rc = loc_api_saved_cb(loc_handle, loc_event, loc_event_payload); local 124 ret->loc_event_cb_f_type_result = rc; 174 int rc = loc_apicb_app_init(); local 175 if (rc >= 0)
|