Searched refs:V4L2Buffer (Results 1 – 4 of 4) sorted by relevance
41 typedef struct V4L2Buffer { struct66 } V4L2Buffer; argument77 int ff_v4l2_buffer_buf_to_avframe(AVFrame *frame, V4L2Buffer *buf);89 int ff_v4l2_buffer_buf_to_avpkt(AVPacket *pkt, V4L2Buffer *buf);99 int ff_v4l2_buffer_avpkt_to_buf(const AVPacket *pkt, V4L2Buffer *out);109 int ff_v4l2_buffer_avframe_to_buf(const AVFrame *frame, V4L2Buffer *out);119 int ff_v4l2_buffer_initialize(V4L2Buffer* avbuf, int index);128 int ff_v4l2_buffer_enqueue(V4L2Buffer* avbuf);
40 static inline V4L2m2mContext *buf_to_m2mctx(V4L2Buffer *buf) in buf_to_m2mctx()47 static inline AVCodecContext *logger(V4L2Buffer *buf) in logger()52 static inline AVRational v4l2_get_timebase(V4L2Buffer *avbuf) in v4l2_get_timebase()61 static inline void v4l2_set_pts(V4L2Buffer *out, int64_t pts) in v4l2_set_pts()74 static inline int64_t v4l2_get_pts(V4L2Buffer *avbuf) in v4l2_get_pts()85 static enum AVColorPrimaries v4l2_get_color_primaries(V4L2Buffer *buf) in v4l2_get_color_primaries()119 static enum AVColorRange v4l2_get_color_range(V4L2Buffer *buf) in v4l2_get_color_range()137 static enum AVColorSpace v4l2_get_color_space(V4L2Buffer *buf) in v4l2_get_color_space()169 static enum AVColorTransferCharacteristic v4l2_get_color_trc(V4L2Buffer *buf) in v4l2_get_color_trc()215 V4L2Buffer* avbuf = opaque; in v4l2_free_buffer()[all …]
283 static V4L2Buffer* v4l2_dequeue_v4l2buf(V4L2Context *ctx, int timeout) in v4l2_dequeue_v4l2buf()287 V4L2Buffer *avbuf; in v4l2_dequeue_v4l2buf()434 static V4L2Buffer* v4l2_getfree_v4l2buf(V4L2Context *ctx) in v4l2_getfree_v4l2buf()463 V4L2Buffer *buffer = &ctx->buffers[i]; in v4l2_release_buffers()589 V4L2Buffer* avbuf; in ff_v4l2_context_enqueue_frame()614 V4L2Buffer* avbuf; in ff_v4l2_context_enqueue_packet()638 V4L2Buffer *avbuf; in ff_v4l2_context_dequeue_frame()658 V4L2Buffer *avbuf; in ff_v4l2_context_dequeue_packet()748 ctx->buffers = av_mallocz(ctx->num_buffers * sizeof(V4L2Buffer)); in ff_v4l2_context_init()
77 V4L2Buffer *buffers;