Searched refs:dispinfo (Results 1 – 2 of 2) sorted by relevance
/third_party/gstreamer/gstplugins_bad/sys/nvcodec/ |
D | gstnvdec.c | 54 CUVIDPARSERDISPINFO * dispinfo, GstBuffer * output_buffer); 59 CUVIDPARSERDISPINFO * dispinfo, GstBuffer * output_buffer); 752 parser_display_callback (GstNvDec * nvdec, CUVIDPARSERDISPINFO * dispinfo) in parser_display_callback() argument 760 GST_LOG_OBJECT (nvdec, "picture index: %u", dispinfo->picture_index); in parser_display_callback() 768 if (id == dispinfo->picture_index + 1) { in parser_display_callback() 778 dispinfo->picture_index); in parser_display_callback() 789 GST_BUFFER_PTS (output_buffer) = dispinfo->timestamp; in parser_display_callback() 808 if (dispinfo->timestamp != frame->pts) { in parser_display_callback() 811 GST_STIME_ARGS (GST_CLOCK_DIFF (dispinfo->timestamp, frame->pts))); in parser_display_callback() 817 copy_ret = gst_nvdec_copy_device_to_gl (nvdec, dispinfo, output_buffer); in parser_display_callback() [all …]
|
/third_party/ffmpeg/libavcodec/ |
D | cuviddec.c | 103 CUVIDPARSERDISPINFO dispinfo; member 348 static int CUDAAPI cuvid_handle_picture_display(void *opaque, CUVIDPARSERDISPINFO* dispinfo) in cuvid_handle_picture_display() argument 354 parsed_frame.dispinfo = *dispinfo; in cuvid_handle_picture_display() 358 parsed_frame.dispinfo.progressive_frame = ctx->progressive_sequence; in cuvid_handle_picture_display() 496 params.progressive_frame = parsed_frame.dispinfo.progressive_frame; in cuvid_output_frame() 498 params.top_field_first = parsed_frame.dispinfo.top_field_first; in cuvid_output_frame() 500 …ret = CHECK_CU(ctx->cvdl->cuvidMapVideoFrame(ctx->cudecoder, parsed_frame.dispinfo.picture_index, … in cuvid_output_frame() 595 frame->key_frame = ctx->key_frame[parsed_frame.dispinfo.picture_index]; in cuvid_output_frame() 599 …frame->pts = av_rescale_q(parsed_frame.dispinfo.timestamp, (AVRational){1, 10000000}, avctx->pkt_t… in cuvid_output_frame() 601 frame->pts = parsed_frame.dispinfo.timestamp; in cuvid_output_frame() [all …]
|