Searched refs:fcurrent (Results 1 – 2 of 2) sorted by relevance
1664 static int fcurrent = 0; in main() local1667 fcurrent = fcurrent % (sizeof(frame_type_pattern)/sizeof(int[2])); in main()1668 fnext = (fcurrent+1) % (sizeof(frame_type_pattern)/sizeof(int[2])); in main()1670 if ( frame_type_pattern[fcurrent][0] == SLICE_TYPE_I ) { in main()1676 encode_pb_pictures(yuv_fp, avc_fp, f, frame_type_pattern[fcurrent][1]-1, in main()1677 f + frame_type_pattern[fcurrent][1] + frame_type_pattern[fnext][1] -1 ); in main()1678 f += frame_type_pattern[fcurrent][1]; in main()1682 fcurrent++; in main()
3253 static int fcurrent = 0; in encode_file() local3256 fcurrent = fcurrent % (sizeof(frame_type_pattern)/sizeof(int[2])); in encode_file()3257 fnext = (fcurrent+1) % (sizeof(frame_type_pattern)/sizeof(int[2])); in encode_file()3259 if ( frame_type_pattern[fcurrent][0] == SLICE_TYPE_I ) { in encode_file()3265 encode_pb_pictures(yuv_fp, avc_fp, f, frame_type_pattern[fcurrent][1]-1, in encode_file()3266 f + frame_type_pattern[fcurrent][1] + frame_type_pattern[fnext][1] -1 ); in encode_file()3267 f += frame_type_pattern[fcurrent][1]; in encode_file()3271 fcurrent++; in encode_file()