Lines Matching defs:ip_period
125 static int ip_period = 1;
542 2) 0 means infinite for intra_period/intra_idr_period, and 0 is invalid for ip_period
543 3) intra_idr_period % intra_period (intra_period > 0) and intra_period % ip_period must be 0
544 4) intra_period and intra_idr_period take precedence over ip_period
545 5) if ip_period > 1, intra_period and intra_idr_period are not the strict periods
548 intra_period intra_idr_period ip_period frame sequence (intra_period/intra_idr_period/ip_period)
578 int intra_idr_period,int ip_period,
601 (encoding_order % (intra_idr_period + ((ip_period == 1)?0:1)));
606 } else if (((encoding_order_gop - 1) % ip_period) != 0) { /* B frames */
611 ((ip_period == 1 && encoding_order_gop % intra_period == 0) || /* for IDR PPPPP IPPPP */
613 (ip_period >= 2 && ((encoding_order_gop - 1) / ip_period % (intra_period / ip_period)) == 0))) {
615 *displaying_order = encoding_order + ip_period - 1;
618 *displaying_order = encoding_order + ip_period - 1;
714 printf(" --ip_period <number>\n");
739 {"ip_period", required_argument, NULL, 6 },
791 ip_period = atoi(optarg);
845 if (ip_period < 1) {
846 printf(" ip_period must be greater than 0\n");
849 if (intra_period != 1 && intra_period % ip_period != 0) {
850 printf(" intra_period must be a multiplier of ip_period\n");
962 ip_period = 1;
969 ip_period = 1;
984 ip_period = 1;
1296 seq_param.ip_period = ip_period;
1972 encoding2display_order(current_frame_encoding, intra_period, intra_idr_period, ip_period,
2070 printf("INPUT: IpPeriod : %d\n", ip_period);