Searched refs:timestamp_list (Results 1 – 4 of 4) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | amfenc.c | 121 ctx->timestamp_list = av_fifo_alloc((avctx->max_b_frames + 16) * sizeof(int64_t)); in amf_load_library() 122 if (!ctx->timestamp_list) { in amf_load_library() 406 av_fifo_freep(&ctx->timestamp_list); in ff_amf_encode_close() 438 if (av_fifo_space(ctx->timestamp_list) < sizeof(timestamp)) { in timestamp_queue_enqueue() 439 if (av_fifo_grow(ctx->timestamp_list, sizeof(timestamp)) < 0) { in timestamp_queue_enqueue() 443 av_fifo_generic_write(ctx->timestamp_list, ×tamp, sizeof(timestamp), NULL); in timestamp_queue_enqueue() 482 …AMF_RETURN_IF_FALSE(ctx, av_fifo_size(ctx->timestamp_list) > 0, AVERROR_UNKNOWN, "timestamp_list i… in amf_copy_buffer() 484 av_fifo_generic_read(ctx->timestamp_list, ×tamp, sizeof(timestamp), NULL); in amf_copy_buffer() 489 AMF_RETURN_IF_FALSE(ctx, av_fifo_size(ctx->timestamp_list) > 0, AVERROR_UNKNOWN, in amf_copy_buffer() 492 ctx->timestamp_list, in amf_copy_buffer() [all …]
|
D | amfenc.h | 75 AVFifoBuffer *timestamp_list; member
|
D | nvenc.h | 167 AVFifoBuffer *timestamp_list; member
|
D | nvenc.c | 1491 ctx->timestamp_list = av_fifo_alloc(ctx->nb_surfaces * sizeof(int64_t)); in nvenc_setup_surfaces() 1492 if (!ctx->timestamp_list) in nvenc_setup_surfaces() 1575 av_fifo_freep(&ctx->timestamp_list); in ff_nvenc_encode_close() 1926 pkt->dts = timestamp_queue_dequeue(ctx->timestamp_list); in nvenc_set_timestamp() 2052 timestamp_queue_dequeue(ctx->timestamp_list); in process_output_surface() 2284 timestamp_queue_enqueue(ctx->timestamp_list, frame->pts); in nvenc_send_frame() 2354 av_fifo_reset(ctx->timestamp_list); in ff_nvenc_encode_flush()
|