Searched refs:packet_sz (Results 1 – 4 of 4) sorted by relevance
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()217 if (cfg->rc_twopass_stats_in.sz < 2 * packet_sz) in validate_config()221 (n_packets - 1) * packet_sz); in validate_config()
273 const size_t packet_sz = sizeof(FIRSTPASS_STATS); in validate_config() local274 const int n_packets = (int)(cfg->rc_twopass_stats_in.sz / packet_sz); in validate_config()280 if (cfg->rc_twopass_stats_in.sz % packet_sz) in validate_config()313 if (cfg->rc_twopass_stats_in.sz < 2 * packet_sz) in validate_config()
1949 size_t packet_sz = sizeof(FIRSTPASS_STATS); in vp8_create_compressor() local1950 int packets = (int)(oxcf->two_pass_stats_in.sz / packet_sz); in vp8_create_compressor()1955 (void *)((char *)cpi->twopass.stats_in + (packets - 1) * packet_sz); in vp8_create_compressor()
2181 const size_t packet_sz = sizeof(FIRSTPASS_STATS); in vp9_create_compressor() local2182 const int packets = (int)(oxcf->two_pass_stats_in.sz / packet_sz); in vp9_create_compressor()2200 lc->rc_twopass_stats_in.sz = packets_in_layer * packet_sz; in vp9_create_compressor()