/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/ |
H A D | vpxstats.c | 19 int stats_open_file(stats_io_t *stats, const char *fpf, int pass) { argument 21 stats->pass = pass; 24 stats->file = fopen(fpf, "wb"); 25 stats->buf.sz = 0; 26 stats->buf.buf = NULL; 27 res = (stats->file != NULL); 34 stats->file = fdopen(fd, "rb"); 36 stats->buf.sz = stat_buf.st_size; 37 stats->buf.buf = mmap(NULL, stats 64 stats_open_mem(stats_io_t *stats, int pass) argument 79 stats_close(stats_io_t *stats, int last_pass) argument 97 stats_write(stats_io_t *stats, const void *pkt, size_t len) argument 120 stats_get(stats_io_t *stats) argument [all...] |
H A D | vpxstats.h | 33 int stats_open_file(stats_io_t *stats, const char *fpf, int pass); 34 int stats_open_mem(stats_io_t *stats, int pass); 35 void stats_close(stats_io_t *stats, int last_pass); 36 void stats_write(stats_io_t *stats, const void *pkt, size_t len); 37 vpx_fixed_buf_t stats_get(stats_io_t *stats);
|
H A D | vpxenc.c | 632 stats_io_t stats; member in struct:stream_state 1048 /* Check for two streams sharing a stats file. */ 1053 fatal("Stream %d: duplicate stats file (from stream %d)", 1200 if (!stats_open_file(&stream->stats, stream->config.stats_fn, 1204 if (!stats_open_mem(&stream->stats, pass)) 1212 stream->config.cfg.rc_twopass_stats_in = stats_get(&stream->stats); 1385 stats_write(&stream->stats, 1778 FOREACH_STREAM(stats_close(&stream->stats, global.passes - 1));
|
/hardware/qcom/wlan/qcwcn/wifi_hal/ |
H A D | llstats.cpp | 109 static wifi_error get_wifi_interface_info(wifi_interface_link_layer_info *stats, argument 120 stats->mode = (wifi_interface_mode)nla_get_u32(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_INFO_MODE]); 129 len = ((sizeof(stats->mac_addr) <= len) ? sizeof(stats->mac_addr) : len); 130 memcpy(&stats->mac_addr[0], nla_data(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_INFO_MAC_ADDR]), len); 137 stats->state = (wifi_connection_state)nla_get_u32(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_INFO_STATE]); 144 stats->roaming = (wifi_roam_state)nla_get_u32(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_INFO_ROAMING]); 151 stats->capabilities = nla_get_u32(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_INFO_CAPABILITIES]); 159 len = ((sizeof(stats->ssid) <= len) ? sizeof(stats 219 get_wifi_wmm_ac_stat(wifi_wmm_ac_stat *stats, struct nlattr **tb_vendor) argument 351 get_wifi_rate_stat(wifi_rate_stat *stats, struct nlattr **tb_vendor) argument 448 get_wifi_peer_info(wifi_peer_info *stats, struct nlattr **tb_vendor) argument 519 get_wifi_iface_stats(wifi_iface_stat *stats, struct nlattr **tb_vendor) argument 682 get_wifi_radio_stats(wifi_radio_stat *stats, struct nlattr **tb_vendor) argument [all...] |
H A D | llstatscommand.h | 107 virtual wifi_error get_wifi_iface_stats(wifi_iface_stat *stats,
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/ |
H A D | codec_factory.h | 41 TwopassStatsStore *stats) const = 0; 88 const unsigned long init_flags, TwopassStatsStore *stats) 89 : Encoder(cfg, deadline, init_flags, stats) {} 117 TwopassStatsStore *stats) const { 119 return new VP8Encoder(cfg, deadline, init_flags, stats); 170 const unsigned long init_flags, TwopassStatsStore *stats) 171 : Encoder(cfg, deadline, init_flags, stats) {} 199 TwopassStatsStore *stats) const { 201 return new VP9Encoder(cfg, deadline, init_flags, stats); 87 VP8Encoder(vpx_codec_enc_cfg_t cfg, unsigned long deadline, const unsigned long init_flags, TwopassStatsStore *stats) argument 169 VP9Encoder(vpx_codec_enc_cfg_t cfg, unsigned long deadline, const unsigned long init_flags, TwopassStatsStore *stats) argument
|
H A D | encode_test_driver.h | 94 const unsigned long init_flags, TwopassStatsStore *stats) 95 : cfg_(cfg), deadline_(deadline), init_flags_(init_flags), stats_(stats) { 93 Encoder(vpx_codec_enc_cfg_t cfg, unsigned long deadline, const unsigned long init_flags, TwopassStatsStore *stats) argument
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/examples/ |
H A D | twopass_encoder.c | 75 vpx_fixed_buf_t *stats) { 81 die_codec(ctx, "Failed to get frame stats."); 87 stats->buf = realloc(stats->buf, stats->sz + pkt_size); 88 memcpy((uint8_t *)stats->buf + stats->sz, pkt_buf, pkt_size); 89 stats->sz += pkt_size; 129 vpx_fixed_buf_t stats = {0}; local 190 cfg.rc_twopass_stats_in = stats; 69 get_frame_stats(vpx_codec_ctx_t *ctx, const vpx_image_t *img, vpx_codec_pts_t pts, unsigned int duration, vpx_enc_frame_flags_t flags, unsigned int deadline, vpx_fixed_buf_t *stats) argument [all...] |
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/ |
H A D | bcm_mpool_pub.h | 237 * bcm_mpm_stats() - Return stats for all pools 241 * stats: OUTPUT Array of pool statistics. 242 * nentries: MOD Max elements in 'stats' array on INPUT. Actual number 243 * of array elements copied to 'stats' on OUTPUT. 247 * other Error getting stats. 250 int bcm_mpm_stats(bcm_mpm_mgr_h mgr, bcm_mp_stats_t *stats, int *nentries); 326 * bcm_mp_stats() - Return stats for this pool 330 * stats: OUTPUT Pool statistics 337 int bcm_mp_stats(bcm_mp_pool_h pool, bcm_mp_stats_t *stats);
|
H A D | bcmutils.h | 275 extern int pktpool_stats_dump(pktpool_t *pktp, pktpool_stats_t *stats);
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
H A D | vp9_mbgraph.c | 172 MBGRAPH_MB_STATS *stats, 195 &stats->ref[INTRA_FRAME].m.mode); 198 stats->ref[INTRA_FRAME].err = intra_error; 207 &stats->ref[GOLDEN_FRAME].m.mv, 209 stats->ref[GOLDEN_FRAME].err = g_motion_error; 211 stats->ref[GOLDEN_FRAME].err = INT_MAX; 212 stats->ref[GOLDEN_FRAME].m.mv.as_int = 0; 222 &stats->ref[ALTREF_FRAME].m.mv); 224 stats->ref[ALTREF_FRAME].err = a_motion_error; 226 stats 169 update_mbgraph_mb_stats( VP9_COMP *cpi, MBGRAPH_MB_STATS *stats, YV12_BUFFER_CONFIG *buf, int mb_y_offset, YV12_BUFFER_CONFIG *golden_ref, int_mv *prev_golden_ref_mv, YV12_BUFFER_CONFIG *alt_ref, int mb_row, int mb_col ) argument 231 update_mbgraph_frame_stats(VP9_COMP *cpi, MBGRAPH_FRAME_STATS *stats, YV12_BUFFER_CONFIG *buf, YV12_BUFFER_CONFIG *golden_ref, YV12_BUFFER_CONFIG *alt_ref) argument [all...] |
H A D | vp9_firstpass.c | 94 // Read frame stats at an offset from the current position. 121 static void output_stats(FIRSTPASS_STATS *stats, argument 125 pkt.data.twopass_stats.buf = stats; 138 stats->frame, 139 stats->intra_error, 140 stats->coded_error, 141 stats->sr_coded_error, 142 stats->ssim_weighted_pred_err, 143 stats->pcnt_inter, 144 stats 259 const FIRSTPASS_STATS *stats; local [all...] |
H A D | vp9_onyx_if.c | 1340 FIRSTPASS_STATS *const stats = oxcf->two_pass_stats_in.buf; local 1346 &stats[packets - oxcf->ss_number_layers + i]; 1366 const int layer_id = (int)stats[i].spatial_layer_id; 1369 *stats_copy[layer_id] = stats[i]; 2335 // Dummy pack of the bitstream using up to date stats to get an 3133 vp9_end_first_pass(cpi); /* get last stats packet */
|
/hardware/ti/omap3/omx/system/src/openmax_il/perf/tests/ |
H A D | armtime | 52 cpu_time = 0; # total time the CPU stats were measured on 75 # get uptime stats (for beginning or end) 84 /^[0-9]+ / { # /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state lines 148 dur_cpu = ", " cpu_time " (cpu-stats)" 218 cat /proc/uptime /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state >$my_log 225 cat /proc/uptime /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state >>$my_log
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/ |
H A D | firstpass.c | 96 /* Read frame stats at an offset from the current position */ 132 FIRSTPASS_STATS *stats) 136 pkt.data.twopass_stats.buf = stats; 150 stats->frame, 151 stats->intra_error, 152 stats->coded_error, 153 stats->ssim_weighted_pred_err, 154 stats->pcnt_inter, 155 stats->pcnt_motion, 156 stats 130 output_stats(const VP8_COMP *cpi, struct vpx_codec_pkt_list *pktlist, FIRSTPASS_STATS *stats) argument [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/ |
H A D | vp9_cx_iface.c | 209 const FIRSTPASS_STATS *stats; local 221 stats = cfg->rc_twopass_stats_in.buf; 223 const int layer_id = (int)stats[i].spatial_layer_id; 236 stats = (const FIRSTPASS_STATS *)cfg->rc_twopass_stats_in.buf + 238 layer_id = (int)stats->spatial_layer_id; 241 ||(int)(stats->count + 0.5) != n_packets_per_layer[layer_id] - 1) 242 ERROR("rc_twopass_stats_in missing EOS stats packet"); 248 stats = 251 if ((int)(stats->count + 0.5) != n_packets - 1) 252 ERROR("rc_twopass_stats_in missing EOS stats packe [all...] |
/hardware/qcom/msm8994/original-kernel-headers/media/ |
H A D | msmb_isp.h | 621 struct msm_isp_stats_event stats; member in union:msm_isp_event_data::__anon4066 634 struct msm_isp_stats_event stats; member in union:msm_isp_event_data32::__anon4067
|
/hardware/qcom/msm8996/original-kernel-headers/media/ |
H A D | msmb_isp.h | 725 /* mask with stats stream_idx for get_buf failed */ 737 /* mask with stats stream_idx for get_buf failed */ 753 struct msm_isp_stats_event stats; member in union:msm_isp_event_data::__anon4361 776 struct msm_isp_stats_event stats; member in union:msm_isp_event_data32::__anon4362
|
/hardware/qcom/msm8x84/kernel-headers/media/ |
H A D | msmb_isp.h | 471 struct msm_isp_stats_event stats; member in union:msm_isp_event_data::__anon4617
|
/hardware/qcom/msm8x84/original-kernel-headers/media/ |
H A D | msmb_isp.h | 436 struct msm_isp_stats_event stats; member in union:msm_isp_event_data::__anon4714
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/ |
H A D | vp8_cx_iface.c | 217 FIRSTPASS_STATS *stats; local 228 stats = (void*)((char *)cfg->rc_twopass_stats_in.buf 231 if ((int)(stats->count + 0.5) != n_packets - 1) 232 ERROR("rc_twopass_stats_in missing EOS stats packet");
|
/hardware/qcom/msm8994/kernel-headers/media/ |
H A D | msmb_isp.h | 640 struct msm_isp_stats_event stats; member in union:msm_isp_event_data::__anon3951
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/ |
H A D | video_encoder_device_v4l2.cpp | 315 struct statistics stats; local 322 memset(&stats, 0, sizeof(statistics)); 350 memset(&stats, 0, sizeof(statistics)); 417 stats.bytes_generated += venc_msg.buf.len; 518 (stats.prev_tv.tv_sec * 1000000 + stats.prev_tv.tv_usec)); 520 if (stats.prev_tv.tv_sec) { 521 OMX_U32 num_fbd = omx->handle->fbd - stats.prev_fbd; 523 OMX_U32 bitrate = (stats.bytes_generated * 8/num_fbd) * framerate; 524 DEBUG_PRINT_HIGH("stats [all...] |
/hardware/qcom/camera/ |
H A D | QCamera_Intf.h | 905 /* TBD: need more fields for histo stats? */ 1001 mm_camera_stats_event_t stats; member in union:__anon2764::__anon2765
|
/hardware/qcom/msm8996/kernel-headers/media/ |
H A D | msmb_isp.h | 744 struct msm_isp_stats_event stats; member in union:msm_isp_event_data::__anon4211
|