Lines Matching +full:frame +full:- +full:number

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
34 * @width: width of frame
35 * @height: height of frame
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
67 * struct hva_controls - hva controls set
69 * @time_per_frame: time per frame in seconds
83 * @sei_fp: sei frame packing arrangement enable
84 * @sei_fp_type: sei frame packing arrangement type
106 * struct hva_frame - hva frame buffer (output)
109 * @list: V4L2 m2m list that the frame belongs to
110 * @info: frame information (width, height, format, alignment...)
125 * to_hva_frame() - cast struct vb2_v4l2_buffer * to struct hva_frame *
131 * struct hva_stream - hva stream buffer (capture)
134 * @list: V4L2 m2m list that the frame belongs to
139 * @bytesused: number of bytes occupied by data in the buffer
152 * to_hva_stream() - cast struct vb2_v4l2_buffer * to struct hva_stream *
159 * struct hva_ctx_dbg - instance context debug info
165 * @cnt_duration: number of HW processings
171 * @cnt_period: number of periods
175 * @total_stream_size: total number of encoded bytes
178 * @cnt_window: number of samples in the window
179 * @window_stream_size: number of encoded bytes upon the sampling window
216 * struct hva_ctx - context of hva instance
228 * @frame_num: frame number
229 * @stream_num: stream number
236 * @frameinfo: frame properties
241 * @encoded_frames: number of encoded frames
242 * @sys_errors: number of system errors (memory, resource, pm...)
243 * @encode_errors: number of encoding errors (hw/driver errors)
244 * @frame_errors: number of frame errors (format, size, header...)
285 * struct hva_dev_dbg - device debug info
301 * struct hva_dev - abstraction for hva entity
309 * @m2m_dev: memory-to-memory V4L2 device information
311 * @nb_of_instances: number of opened instances
324 * @nb_of_encoders: number of registered encoders
326 * @nb_of_pixelformats: number of supported umcompressed video formats
328 * @nb_of_streamformats: number of supported compressed video formats
375 * struct hva_enc - hva encoder
380 * @max_width: maximum width of frame for this encoder
381 * @max_height: maximum height of frame for this encoder
384 * @encode: encode a frame (struct hva_frame) in a stream
396 int (*encode)(struct hva_ctx *ctx, struct hva_frame *frame,