Home
last modified time | relevance | path

Searched refs:stats (Results 1 – 25 of 29) sorted by relevance

12

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
Dvpxstats.c19 int stats_open_file(stats_io_t *stats, const char *fpf, int pass) { in stats_open_file() argument
21 stats->pass = pass; in stats_open_file()
24 stats->file = fopen(fpf, "wb"); in stats_open_file()
25 stats->buf.sz = 0; in stats_open_file()
26 stats->buf.buf = NULL; in stats_open_file()
27 res = (stats->file != NULL); in stats_open_file()
34 stats->file = fdopen(fd, "rb"); in stats_open_file()
36 stats->buf.sz = stat_buf.st_size; in stats_open_file()
37 stats->buf.buf = mmap(NULL, stats->buf.sz, PROT_READ, MAP_PRIVATE, fd, 0); in stats_open_file()
38 res = (stats->buf.buf != NULL); in stats_open_file()
[all …]
Dvpxstats.h33 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);
Dvpxenc.c632 stats_io_t stats; member
1200 if (!stats_open_file(&stream->stats, stream->config.stats_fn, in setup_pass()
1204 if (!stats_open_mem(&stream->stats, pass)) in setup_pass()
1212 stream->config.cfg.rc_twopass_stats_in = stats_get(&stream->stats); in setup_pass()
1385 stats_write(&stream->stats, in get_cx_data()
1778 FOREACH_STREAM(stats_close(&stream->stats, global.passes - 1)); in main()
/hardware/qcom/wlan/qcwcn/wifi_hal/
Dllstats.cpp142 static void get_wifi_interface_info(wifi_interface_link_layer_info *stats, struct nlattr **tb_vendo… in get_wifi_interface_info() argument
147stats->mode = (wifi_interface_mode)nla_get_u32(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_INFO_… in get_wifi_interface_info()
149 len = ((sizeof(stats->mac_addr) <= len) ? sizeof(stats->mac_addr) : len); in get_wifi_interface_info()
150 …memcpy(&stats->mac_addr[0], nla_data(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_INFO_MAC_ADDR])… in get_wifi_interface_info()
151stats->state = (wifi_connection_state)nla_get_u32(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_IN… in get_wifi_interface_info()
152stats->roaming = (wifi_roam_state)nla_get_u32(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_INFO_R… in get_wifi_interface_info()
153stats->capabilities = nla_get_u32(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_INFO_CAPABILITIES]… in get_wifi_interface_info()
156 len = ((sizeof(stats->ssid) <= len) ? sizeof(stats->ssid) : len); in get_wifi_interface_info()
157 … memcpy(&stats->ssid[0], nla_data(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_INFO_SSID]), len); in get_wifi_interface_info()
160 len = ((sizeof(stats->bssid) <= len) ? sizeof(stats->bssid) : len); in get_wifi_interface_info()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/examples/
Dtwopass_encoder.c75 vpx_fixed_buf_t *stats) { in get_frame_stats() argument
87 stats->buf = realloc(stats->buf, stats->sz + pkt_size); in get_frame_stats()
88 memcpy((uint8_t *)stats->buf + stats->sz, pkt_buf, pkt_size); in get_frame_stats()
89 stats->sz += pkt_size; in get_frame_stats()
129 vpx_fixed_buf_t stats = {0}; in main() local
190 cfg.rc_twopass_stats_in = stats; in main()
204 &stats); in main()
213 &stats); in main()
225 free(stats.buf); in main()
/hardware/intel/img/libdrm/libdrm/
Dxf86drm.c2166 int drmGetStats(int fd, drmStatsT *stats) in drmGetStats() argument
2174 stats->count = 0; in drmGetStats()
2175 memset(stats, 0, sizeof(*stats)); in drmGetStats()
2176 if (s.count > sizeof(stats->data)/sizeof(stats->data[0])) in drmGetStats()
2180 stats->data[i].long_format = "%-20.20s"; \ in drmGetStats()
2181 stats->data[i].rate_format = "%8.8s"; \ in drmGetStats()
2182 stats->data[i].isvalue = 1; \ in drmGetStats()
2183 stats->data[i].verbose = 0 in drmGetStats()
2186 stats->data[i].long_format = "%-20.20s"; \ in drmGetStats()
2187 stats->data[i].rate_format = "%5.5s"; \ in drmGetStats()
[all …]
Dxf86drm.h535 extern int drmGetStats(int fd, drmStatsT *stats);
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/
Dcodec_factory.h41 TwopassStatsStore *stats) const = 0;
88 const unsigned long init_flags, TwopassStatsStore *stats) in VP8Encoder() argument
89 : Encoder(cfg, deadline, init_flags, stats) {} in VP8Encoder()
117 TwopassStatsStore *stats) const { in CreateEncoder() argument
119 return new VP8Encoder(cfg, deadline, init_flags, stats); in CreateEncoder()
170 const unsigned long init_flags, TwopassStatsStore *stats) in VP9Encoder() argument
171 : Encoder(cfg, deadline, init_flags, stats) {} in VP9Encoder()
199 TwopassStatsStore *stats) const { in CreateEncoder() argument
201 return new VP9Encoder(cfg, deadline, init_flags, stats); in CreateEncoder()
Dencode_test_driver.h94 const unsigned long init_flags, TwopassStatsStore *stats) in Encoder() argument
95 : cfg_(cfg), deadline_(deadline), init_flags_(init_flags), stats_(stats) { in Encoder()
/hardware/intel/img/libdrm/tests/
Dgetstats.c40 drm_stats_t stats; in main() local
44 ret = ioctl(fd, DRM_IOCTL_GET_STATS, &stats); in main()
47 assert(stats.count >= 0); in main()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_mbgraph.c172 MBGRAPH_MB_STATS *stats, in update_mbgraph_mb_stats() argument
195 &stats->ref[INTRA_FRAME].m.mode); in update_mbgraph_mb_stats()
198 stats->ref[INTRA_FRAME].err = intra_error; in update_mbgraph_mb_stats()
207 &stats->ref[GOLDEN_FRAME].m.mv, in update_mbgraph_mb_stats()
209 stats->ref[GOLDEN_FRAME].err = g_motion_error; in update_mbgraph_mb_stats()
211 stats->ref[GOLDEN_FRAME].err = INT_MAX; in update_mbgraph_mb_stats()
212 stats->ref[GOLDEN_FRAME].m.mv.as_int = 0; in update_mbgraph_mb_stats()
222 &stats->ref[ALTREF_FRAME].m.mv); in update_mbgraph_mb_stats()
224 stats->ref[ALTREF_FRAME].err = a_motion_error; in update_mbgraph_mb_stats()
226 stats->ref[ALTREF_FRAME].err = INT_MAX; in update_mbgraph_mb_stats()
[all …]
Dvp9_firstpass.c121 static void output_stats(FIRSTPASS_STATS *stats, in output_stats() argument
125 pkt.data.twopass_stats.buf = stats; in output_stats()
138 stats->frame, in output_stats()
139 stats->intra_error, in output_stats()
140 stats->coded_error, in output_stats()
141 stats->sr_coded_error, in output_stats()
142 stats->ssim_weighted_pred_err, in output_stats()
143 stats->pcnt_inter, in output_stats()
144 stats->pcnt_motion, in output_stats()
145 stats->pcnt_second_ref, in output_stats()
[all …]
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
Dbcm_mpool_pub.h250 int bcm_mpm_stats(bcm_mpm_mgr_h mgr, bcm_mp_stats_t *stats, int *nentries);
337 int bcm_mp_stats(bcm_mp_pool_h pool, bcm_mp_stats_t *stats);
/hardware/ti/omap3/omx/system/src/openmax_il/perf/tests/
Darmtime218 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/samsung_slsi/exynos5/libcamera2/
DMetadataConverter.cpp236 dst->ctl.stats.faceDetectMode = (enum facedetect_mode)(curr_entry.data.u8[0] + 1); in ToInternalShot()
577 byteData = metadata->dm.stats.faceDetectMode - 1; in ToDynamicMetadata()
589 if (metadata->dm.stats.faceIds[i] > 0) { in ToDynamicMetadata()
590 mataFaceIds[tempFaceCount] = metadata->dm.stats.faceIds[i]; in ToDynamicMetadata()
592 if (metadata->dm.stats.faceScores[i] > 100) in ToDynamicMetadata()
595 metaFaceScores[tempFaceCount] = metadata->dm.stats.faceScores[i]; in ToDynamicMetadata()
597 …memcpy(&mataFaceLandmarks[tempFaceCount][0], &metadata->dm.stats.faceLandmarks[i][0], 6*sizeof(uin… in ToDynamicMetadata()
598 …memcpy(&metaFaceRectangles[tempFaceCount][0], &metadata->dm.stats.faceRectangles[i][0], 4*sizeof(u… in ToDynamicMetadata()
Dfimc-is-metadata.h677 struct camera2_stats_ctl stats; member
700 struct camera2_stats_dm stats; member
714 struct camera2_stats_sm stats; member
DExynosCameraHWInterface2.cpp510 if (shot_ext->shot.ctl.stats.faceDetectMode != FACEDETECT_MODE_OFF) in MarkProcessingRequest()
520 shot_ext->shot.ctl.stats.faceDetectMode = FACEDETECT_MODE_FULL; in MarkProcessingRequest()
743 if (shot_ext->shot.ctl.stats.faceDetectMode != FACEDETECT_MODE_OFF) in UpdateIspParameters()
3477 if (shot_ext->shot.dm.stats.faceRectangles[i][0] > 0) in m_sensorThreadFunc()
3478 … shot_ext->shot.dm.stats.faceRectangles[i][0] = (m_camera2->m_curCameraInfo->sensorW in m_sensorThreadFunc()
3479 … * shot_ext->shot.dm.stats.faceRectangles[i][0]) in m_sensorThreadFunc()
3481 if (shot_ext->shot.dm.stats.faceRectangles[i][1] > 0) in m_sensorThreadFunc()
3482 … shot_ext->shot.dm.stats.faceRectangles[i][1] = (m_camera2->m_curCameraInfo->sensorH in m_sensorThreadFunc()
3483 … * shot_ext->shot.dm.stats.faceRectangles[i][1]) in m_sensorThreadFunc()
3485 if (shot_ext->shot.dm.stats.faceRectangles[i][2] > 0) in m_sensorThreadFunc()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
Dfirstpass.c132 FIRSTPASS_STATS *stats) in output_stats() argument
136 pkt.data.twopass_stats.buf = stats; in output_stats()
150 stats->frame, in output_stats()
151 stats->intra_error, in output_stats()
152 stats->coded_error, in output_stats()
153 stats->ssim_weighted_pred_err, in output_stats()
154 stats->pcnt_inter, in output_stats()
155 stats->pcnt_motion, in output_stats()
156 stats->pcnt_second_ref, in output_stats()
157 stats->pcnt_neutral, in output_stats()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/
Dvp9_cx_iface.c209 const FIRSTPASS_STATS *stats; in validate_config() local
221 stats = cfg->rc_twopass_stats_in.buf; in validate_config()
223 const int layer_id = (int)stats[i].spatial_layer_id; in validate_config()
236 stats = (const FIRSTPASS_STATS *)cfg->rc_twopass_stats_in.buf + in validate_config()
238 layer_id = (int)stats->spatial_layer_id; in validate_config()
241 ||(int)(stats->count + 0.5) != n_packets_per_layer[layer_id] - 1) in validate_config()
248 stats = in validate_config()
251 if ((int)(stats->count + 0.5) != n_packets - 1) in validate_config()
/hardware/samsung_slsi/exynos5/original-kernel-headers/linux/
Dfimc-is-metadata.h727 struct camera2_stats_ctl stats; member
746 struct camera2_stats_dm stats; member
758 struct camera2_stats_sm stats; member
/hardware/qcom/msm8x74/kernel-headers/media/
Dmsmb_isp.h387 struct msm_isp_stats_event stats; member
/hardware/qcom/msm8x74/original-kernel-headers/media/
Dmsmb_isp.h352 struct msm_isp_stats_event stats; member
/hardware/qcom/msm8x84/original-kernel-headers/media/
Dmsmb_isp.h435 struct msm_isp_stats_event stats; member
/hardware/qcom/msm8x84/kernel-headers/media/
Dmsmb_isp.h470 struct msm_isp_stats_event stats; member
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/
Dvp8_cx_iface.c217 FIRSTPASS_STATS *stats; in validate_config() local
228 stats = (void*)((char *)cfg->rc_twopass_stats_in.buf in validate_config()
231 if ((int)(stats->count + 0.5) != n_packets - 1) in validate_config()

12