Lines Matching refs:V4L2Context

37 typedef struct V4L2Context {
96 } V4L2Context;
99 * Initializes a V4L2Context.
101 * @param[in] ctx A pointer to a V4L2Context. See V4L2Context description for required variables.
104 int ff_v4l2_context_init(V4L2Context* ctx);
107 * Sets the V4L2Context format in the v4l2 driver.
109 * @param[in] ctx A pointer to a V4L2Context. See V4L2Context description for required variables.
112 int ff_v4l2_context_set_format(V4L2Context* ctx);
117 * @param[in] ctx A pointer to a V4L2Context. See V4L2Context description for required variables.
121 int ff_v4l2_context_get_format(V4L2Context* ctx, int probe);
124 * Releases a V4L2Context.
126 * @param[in] ctx A pointer to a V4L2Context.
130 void ff_v4l2_context_release(V4L2Context* ctx);
133 * Sets the status of a V4L2Context.
135 * @param[in] ctx A pointer to a V4L2Context.
141 int ff_v4l2_context_set_status(V4L2Context* ctx, uint32_t cmd);
144 * Dequeues a buffer from a V4L2Context to an AVPacket.
147 * @param[in] ctx The V4L2Context to dequeue from.
151 int ff_v4l2_context_dequeue_packet(V4L2Context* ctx, AVPacket* pkt);
154 * Dequeues a buffer from a V4L2Context to an AVFrame.
157 * @param[in] ctx The V4L2Context to dequeue from.
162 int ff_v4l2_context_dequeue_frame(V4L2Context* ctx, AVFrame* f, int timeout);
165 * Enqueues a buffer to a V4L2Context from an AVPacket
170 * @param[in] ctx The V4L2Context to enqueue to.
174 int ff_v4l2_context_enqueue_packet(V4L2Context* ctx, const AVPacket* pkt);
177 * Enqueues a buffer to a V4L2Context from an AVFrame
181 * @param[in] ctx The V4L2Context to enqueue to.
185 int ff_v4l2_context_enqueue_frame(V4L2Context* ctx, const AVFrame* f);