Searched refs:packet_sz (Results 1 – 5 of 5) sorted by relevance
262 size_t packet_sz; in main() local308 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()
214 size_t packet_sz = sizeof(FIRSTPASS_STATS); in validate_config() local216 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()
207 size_t packet_sz = sizeof(FIRSTPASS_STATS); in validate_config() local208 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()
1335 const size_t packet_sz = sizeof(FIRSTPASS_STATS); in vp9_create_compressor() local1336 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()
1978 size_t packet_sz = sizeof(FIRSTPASS_STATS); in vp8_create_compressor() local1979 int packets = (int)(oxcf->two_pass_stats_in.sz / packet_sz); in vp8_create_compressor()1984 + (packets - 1) * packet_sz); in vp8_create_compressor()