Lines Matching defs:target_frame
1291 int target_frame;
1323 target_frame = video->first_clear_frame;
1327 if (video->frames[target_frame]->state == FRAME_CLEAR) {
1330 cnt = video->frame_size - (video->write_off - target_frame * video->frame_size);
1370 if (video->write_off == video->frame_size * ((target_frame + 1) % video->n_frames))
1371 frame_prepare(video, target_frame);
1388 int target_frame;
1425 target_frame = video->first_clear_frame;
1429 if (target_frame >= 0 &&
1431 video->frames[target_frame]->state == FRAME_CLEAR) {
1434 cnt = video->frame_size - (video->write_off - target_frame * video->frame_size);
1474 if (video->write_off == video->frame_size * ((target_frame + 1) % video->n_frames)) {