mirror of
https://github.com/torvalds/linux.git
synced 2026-11-30 10:32:24 +00:00
Implement support for queuing and dequeuing input and output buffers for the encoder video device using the appropriate V4L2 buffer management ioctls. This enables userspace applications to manage streaming buffers required for encoding operations. Tested-by: Vikash Garodia <[email protected]> # X1E80100 Reviewed-by: Vikash Garodia <[email protected]> Tested-by: Neil Armstrong <[email protected]> # on SM8550-HDK Tested-by: Neil Armstrong <[email protected]> # on SM8650-HDK Signed-off-by: Dikshita Agarwal <[email protected]> Tested-by: Bryan O'Donoghue <[email protected]> # x1e80100-crd [bod: drop dead code size_enc_single_pipe()] Signed-off-by: Bryan O'Donoghue <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
19 lines
572 B
C
19 lines
572 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (c) 2022-2025 Qualcomm Innovation Center, Inc. All rights reserved.
|
|
*/
|
|
|
|
#ifndef __IRIS_COMMON_H__
|
|
#define __IRIS_COMMON_H__
|
|
|
|
struct iris_inst;
|
|
struct iris_buffer;
|
|
|
|
int iris_vb2_buffer_to_driver(struct vb2_buffer *vb2, struct iris_buffer *buf);
|
|
void iris_set_ts_metadata(struct iris_inst *inst, struct vb2_v4l2_buffer *vbuf);
|
|
int iris_process_streamon_input(struct iris_inst *inst);
|
|
int iris_process_streamon_output(struct iris_inst *inst);
|
|
int iris_session_streamoff(struct iris_inst *inst, u32 plane);
|
|
|
|
#endif
|