Searched refs:n_packets (Results 1 – 5 of 5) sorted by relevance
60 size_t n_packets = in GenerateFrame() local62 size_t packet_size = (bits_per_frame + 4 * n_packets) / (8 * n_packets); in GenerateFrame()63 for (size_t i = 0; i < n_packets; ++i) { in GenerateFrame()
273 const int n_packets = (int)(cfg->rc_twopass_stats_in.sz / packet_sz); in validate_config() local287 for (i = 0; i < n_packets; ++i) { in validate_config()303 n_packets - cfg->ss_number_layers + i; in validate_config()316 (const FIRSTPASS_STATS *)cfg->rc_twopass_stats_in.buf + n_packets - 1; in validate_config()318 if ((int)(stats->count + 0.5) != n_packets - 1) in validate_config()
303 __u64 n_packets; /* Number of matched packets. */ member
209 int n_packets = (int)(cfg->rc_twopass_stats_in.sz / packet_sz); in validate_config() local222 (n_packets - 1) * packet_sz); in validate_config()224 if ((int)(stats->count + 0.5) != n_packets - 1) in validate_config()
405 const int n_packets = (int)(cfg->rc_twopass_stats_in.sz / packet_sz); in validate_config() local418 (const FIRSTPASS_STATS *)cfg->rc_twopass_stats_in.buf + n_packets - 1; in validate_config()420 if ((int)(stats->count + 0.5) != n_packets - 1) in validate_config()824 const int n_packets = (int)(cfg->rc_twopass_stats_in.sz / packet_sz); in set_encoder_config() local825 oxcf->limit = n_packets - 1; in set_encoder_config()