Home
last modified time | relevance | path

Searched refs:packet_sz (Results 1 – 5 of 5) sorted by relevance

/hardware/invensense/6515/libsensors_iio/software/simple_apps/self_test/
Dinv_self_test.c262 size_t packet_sz; in main() local
308 inv_get_mpl_state_size(&packet_sz); in main()
310 buffer = (unsigned char *)malloc(packet_sz + 10); in main()
322 fread(buffer, 1, packet_sz, fptr); in main()
325 result = inv_load_mpl_states(buffer, packet_sz); in main()
592 inv_get_mpl_state_size(&packet_sz); in main()
595 buffer = (unsigned char *)malloc(packet_sz + 10); in main()
603 result = inv_save_mpl_states(buffer, packet_sz); in main()
609 fwrite(buffer, 1, packet_sz, fptr); in main()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/
Dvp8_cx_iface.c214 size_t packet_sz = sizeof(FIRSTPASS_STATS); in validate_config() local
216 packet_sz); in validate_config()
222 if (cfg->rc_twopass_stats_in.sz % packet_sz) in validate_config()
225 if (cfg->rc_twopass_stats_in.sz < 2 * packet_sz) in validate_config()
229 + (n_packets - 1) * packet_sz); in validate_config()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/
Dvp9_cx_iface.c207 size_t packet_sz = sizeof(FIRSTPASS_STATS); in validate_config() local
208 int n_packets = (int)(cfg->rc_twopass_stats_in.sz / packet_sz); in validate_config()
214 if (cfg->rc_twopass_stats_in.sz % packet_sz) in validate_config()
245 if (cfg->rc_twopass_stats_in.sz < 2 * packet_sz) in validate_config()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_onyx_if.c1335 const size_t packet_sz = sizeof(FIRSTPASS_STATS); in vp9_create_compressor() local
1336 const int packets = (int)(oxcf->two_pass_stats_in.sz / packet_sz); in vp9_create_compressor()
1354 lc->rc_twopass_stats_in.sz = packets_in_layer * packet_sz; in vp9_create_compressor()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
Donyx_if.c1978 size_t packet_sz = sizeof(FIRSTPASS_STATS); in vp8_create_compressor() local
1979 int packets = (int)(oxcf->two_pass_stats_in.sz / packet_sz); in vp8_create_compressor()
1984 + (packets - 1) * packet_sz); in vp8_create_compressor()