Lines Matching refs:frame_type_pattern
3232 static int const frame_type_pattern[][2] = { {SLICE_TYPE_I,1},
3256 fcurrent = fcurrent % (sizeof(frame_type_pattern)/sizeof(int[2]));
3257 fnext = (fcurrent+1) % (sizeof(frame_type_pattern)/sizeof(int[2]));
3259 if ( frame_type_pattern[fcurrent][0] == SLICE_TYPE_I ) {
3261 f+frame_type_pattern[fnext][1]);
3265 encode_pb_pictures(yuv_fp, avc_fp, f, frame_type_pattern[fcurrent][1]-1,
3266 f + frame_type_pattern[fcurrent][1] + frame_type_pattern[fnext][1] -1 );
3267 f += frame_type_pattern[fcurrent][1];