Searched refs:packet_sz (Results 1 – 4 of 4) sorted by relevance
211 size_t packet_sz = sizeof(FIRSTPASS_STATS); in validate_config() local213 packet_sz); in validate_config()219 if (cfg->rc_twopass_stats_in.sz % packet_sz) in validate_config()222 if (cfg->rc_twopass_stats_in.sz < 2 * packet_sz) in validate_config()226 + (n_packets - 1) * packet_sz); in validate_config()
262 const size_t packet_sz = sizeof(FIRSTPASS_STATS); in validate_config() local263 const int n_packets = (int)(cfg->rc_twopass_stats_in.sz / packet_sz); in validate_config()269 if (cfg->rc_twopass_stats_in.sz % packet_sz) in validate_config()301 if (cfg->rc_twopass_stats_in.sz < 2 * packet_sz) in validate_config()
1774 const size_t packet_sz = sizeof(FIRSTPASS_STATS); in vp9_create_compressor() local1775 const int packets = (int)(oxcf->two_pass_stats_in.sz / packet_sz); in vp9_create_compressor()1793 lc->rc_twopass_stats_in.sz = packets_in_layer * packet_sz; in vp9_create_compressor()
2052 size_t packet_sz = sizeof(FIRSTPASS_STATS); in vp8_create_compressor() local2053 int packets = (int)(oxcf->two_pass_stats_in.sz / packet_sz); in vp8_create_compressor()2058 + (packets - 1) * packet_sz); in vp8_create_compressor()