Lines Matching defs:frame

441 	// handle both frame and field coding for interlaced content
622 //If this is a new frame and we haven't retrieved parser
623 // workload data from previous frame yet, do so
639 LOG_V( "Queried for last frame data\n");
648 //We log this but need to process the new frame data, so do not return
652 LOG_V( "Called process and decode for last frame\n");
661 LOG_V( "Starting current frame %d, timestamp %"G_GINT64_FORMAT"\n", mix_video_h264_counter++, ts);
666 LOG_V( "Calling parse for current frame, parse handle %d, buf %x, size %d\n", (int)parent->parser_handle, (guint)bufin[i]->data, bufin[i]->size);
673 LOG_V( "Called parse for current frame\n");
688 LOG_V( "Called query for current frame\n");
708 LOG_V( "Enqueue this input buffer for current frame\n");
725 LOG_V( "Called process and decode for current frame\n");
738 LOG_V( "Enqueuing buffer and going on to next (if any) for this frame\n");
757 LOG_V( "Enqueue this input buffer for current frame\n");
867 //if a frame is in progress, process the frame
888 LOG_E( "Error processing last frame\n");
995 LOG_V( "Inserting frame id %d into DPB\n", pic_params->ReferenceFrames[pic_params->num_ref_frames].picture_id);
1021 MixVideoFrame *frame)
1035 if ((mix == NULL) || (data == NULL) || (data->pic_data == NULL) || (frame == NULL))
1061 //Check for frame gaps and repeat frames if necessary
1077 //Set the picture type (I, B or P frame)
1104 //Note: Demux should seek to IDR (instantaneous decoding refresh) frame, otherwise
1110 LOG_V( "frame type is %d\n", frame_type);
1114 //Set the frame type for the frame object (used in reordering by frame manager)
1115 ret = mix_videoframe_set_frame_type(frame, frame_type);
1119 LOG_E( "Error setting frame type on frame\n");
1125 //Now handle the reference frames and surface IDs for DPB and current frame
1126 mix_videofmt_h264_handle_ref_frames(mix, pic_params, frame);
1285 //Get our surface ID from the frame object
1286 ret = mix_videoframe_get_frame_id(frame, &surface);
1290 LOG_E( "Error getting surface ID from frame object\n");
1349 mix_videoframe_set_discontinuity(frame, discontinuity);
1352 mix_videoframe_set_timestamp(frame, timestamp);
1363 mix_videoframe_set_frame_structure(frame, frame_structure);
1367 // frame must be field-coded, no need to set
1369 mix_videoframe_set_frame_structure(frame, VA_BOTTOM_FIELD | VA_TOP_FIELD);
1372 //TODO need to save off frame when handling is added for repeat frames?
1377 ret = GetImageFromSurface (mix, frame);
1381 LOG_V( "Enqueueing the frame with frame manager, timestamp %"G_GINT64_FORMAT"\n", timestamp);
1411 //Get a frame from the surface pool
1412 MixVideoFrame *frame = NULL;
1414 ret = mix_surfacepool_get(mix->surfacepool, &frame);
1418 LOG_E( "Error getting frame from surfacepool\n");
1425 ret = mix_videofmt_h264_process_decode_picture(mix, data, timestamp, discontinuity, i, frame);
1435 //Enqueue the decoded frame using frame manager
1436 ret = mix_framemanager_enqueue(mix->framemgr, frame);
1439 LOG_E( "Error enqueuing frame object\n");
1440 mix_videoframe_unref(frame);
1446 mix_videoframe_unref(frame);
1499 LOG_V( "%d entries removed from DPB surface table at this frame\n", num_removed);
1518 LOG_V( "Looked up poc %d in dpb table found frame ID %d\n", poc, (gint)mvf->frame_id);
1531 //Check to see if current frame is a reference frame
1534 //Get current frame's POC
1537 //Increment the reference count for this frame
1541 //Add this frame to the DPB surface table
1628 //Dequeue and release all input buffers for this frame
1630 LOG_V( "Releasing all the MixBuffers for this frame\n");