Lines Matching defs:frame

281 			MixVideoFrame *frame = NULL;
283 frame = (MixVideoFrame *) g_ptr_array_index(fm->frame_array,
285 if (frame) {
286 mix_videoframe_unref(frame);
297 MixVideoFrame *frame = NULL;
298 while ((frame = (MixVideoFrame *) g_queue_pop_head(fm->frame_queue))) {
299 mix_videoframe_unref(frame);
328 MixVideoFrame *frame = NULL;
349 * In case it heppens, release the frame!
374 /* check if this is the expected next frame */
382 frame = _frame;
385 return frame;
397 /* do we have slot for this frame? */
401 gpointer frame = NULL;
403 frame = g_ptr_array_index(array, idx);
404 if (!frame) {
423 * if this is the first frame, we always push it into
428 * while the expected frame is pushed into output queue,
431 * frame from the waiting list, if found, repeat the process.
448 * for the first frame, we can always put it into the output queue
453 * what timestamp of next frame shall be?
462 * is this the next frame expected?
478 * ok, this is the frame expected, push it into output queue
491 * since we updated next_frame_timestamp, there might be a frame
514 * is discontinuity flag set for this frame ?
523 * If this is a frame with discontinuity flag set, clear frame_array
524 * and treat the frame as the first frame.
531 MixVideoFrame *frame = NULL;
533 frame = (MixVideoFrame *) g_ptr_array_index(
535 if (frame) {
536 mix_videoframe_unref(frame);
547 * handle variable frame rate:
548 * display any frame which time stamp is less than current one.
571 * this is not the expected frame, put it into frame_array
613 * The first frame is not a I frame, unexpected!
640 /* it is an I frame, push it into the out queue */
647 /* it is a P frame, we can not push it to the out queue yet, save it */
655 /* it is a B frame, replace the timestamp with the previous one */
706 * decode order mode, push the frame into output queue