Lines Matching +full:video +full:- +full:encoder
1 /* SPDX-License-Identifier: GPL-2.0 */
11 #include <media/v4l2-ctrls.h>
12 #include <media/v4l2-device.h>
13 #include <media/videobuf2-v4l2.h>
14 #include <media/v4l2-mem2mem.h>
18 #define hva_to_dev(h) (h->dev)
20 #define ctx_to_dev(c) (c->hva_dev->dev)
22 #define ctx_to_hdev(c) (c->hva_dev)
24 #define HVA_NAME "st-hva"
25 #define HVA_PREFIX "[---:----]"
31 * struct hva_frameinfo - information about hva frame
33 * @pixelformat: fourcc code for uncompressed video format
36 * @aligned_width: width of frame (with encoder alignment constraint)
37 * @aligned_height: height of frame (with encoder alignment constraint)
50 * struct hva_streaminfo - information about hva stream
52 * @streamformat: fourcc code of compressed video format (H.264...)
67 * struct hva_controls - hva controls set
73 * @aspect: video aspect
106 * struct hva_frame - hva frame buffer (output)
108 * @vbuf: video buffer information for V4L2
125 * to_hva_frame() - cast struct vb2_v4l2_buffer * to struct hva_frame *
131 * struct hva_stream - hva stream buffer (capture)
133 * @vbuf: video buffer information for V4L2
152 * to_hva_stream() - cast struct vb2_v4l2_buffer * to struct hva_stream *
159 * struct hva_ctx_dbg - instance context debug info
216 * struct hva_ctx - context of hva instance
237 * @enc: current encoder
239 * by encoder @open time
285 * struct hva_dev_dbg - device debug info
301 * struct hva_dev - abstraction for hva entity
304 * @vdev: video device
309 * @m2m_dev: memory-to-memory V4L2 device information
325 * @pixelformats: supported uncompressed video formats
326 * @nb_of_pixelformats: number of supported umcompressed video formats
327 * @streamformats: supported compressed video formats
328 * @nb_of_streamformats: number of supported compressed video formats
375 * struct hva_enc - hva encoder
377 * @name: encoder name
378 * @streamformat: fourcc code for compressed video format (H.264...)
379 * @pixelformat: fourcc code for uncompressed video format
380 * @max_width: maximum width of frame for this encoder
381 * @max_height: maximum height of frame for this encoder
382 * @open: open encoder
383 * @close: close encoder