#include <stdint.h>#include <linux/videodev2.h>#include "libavutil/pixfmt.h"#include "libavutil/frame.h"#include "libavutil/rational.h"#include "codec_id.h"#include "packet.h"#include "v4l2_buffers.h"Go to the source code of this file.
Initializes a V4L2Context.
Definition at line 717 of file v4l2_context.c.
Referenced by ff_v4l2_m2m_codec_full_reinit(), v4l2_configure_contexts(), and v4l2_try_start().
Sets the V4L2Context format in the v4l2 driver.
Definition at line 698 of file v4l2_context.c.
Referenced by ff_v4l2_m2m_codec_full_reinit(), ff_v4l2_m2m_codec_reinit(), and v4l2_configure_contexts().
Queries the driver for a valid v4l2 format and copies it to the context.
Definition at line 671 of file v4l2_context.c.
Referenced by ff_v4l2_m2m_codec_full_reinit(), ff_v4l2_m2m_codec_reinit(), and v4l2_probe_driver().
Releases a V4L2Context.
Definition at line 703 of file v4l2_context.c.
Referenced by ff_v4l2_m2m_codec_end(), ff_v4l2_m2m_codec_full_reinit(), ff_v4l2_m2m_codec_reinit(), and v4l2_m2m_destroy_context().
Sets the status of a V4L2Context.
Definition at line 567 of file v4l2_context.c.
Referenced by ff_v4l2_m2m_codec_end(), ff_v4l2_m2m_codec_full_reinit(), ff_v4l2_m2m_codec_reinit(), v4l2_receive_packet(), v4l2_stop_decode(), v4l2_stop_encode(), and v4l2_try_start().
Dequeues a buffer from a V4L2Context to an AVPacket.
The pkt must be non NULL.
Definition at line 651 of file v4l2_context.c.
Referenced by v4l2_receive_packet().
Dequeues a buffer from a V4L2Context to an AVFrame.
The frame must be non NULL.
Definition at line 631 of file v4l2_context.c.
Referenced by v4l2_receive_frame().
Enqueues a buffer to a V4L2Context from an AVPacket.
The packet must be non NULL. When the size of the pkt is null, the buffer is not queued but a V4L2_DEC_CMD_STOP command is sent instead to the driver.
Definition at line 606 of file v4l2_context.c.
Referenced by v4l2_receive_frame().
Enqueues a buffer to a V4L2Context from an AVFrame.
The frame must be non NULL.
Definition at line 581 of file v4l2_context.c.
Referenced by v4l2_send_frame().