include/media/v4l2-isp.h
Source file repositories/reference/linux-study-clean/include/media/v4l2-isp.h
File Facts
- System
- Linux kernel
- Corpus path
include/media/v4l2-isp.h- Extension
.h- Size
- 3616 bytes
- Lines
- 92
- Domain
- Repository Root And Misc
- Bucket
- include
- Inferred role
- Repository Root And Misc: implementation source
- Status
- source implementation candidate
Why This File Exists
Top-level or miscellaneous repository surface. Use this as map coverage unless a later manual pass promotes the file into a deeper subsystem dossier.
- Top-level or miscellaneous repository surface. Use this as map coverage unless a later manual pass promotes the file into a deeper subsystem dossier.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/media/v4l2-isp.h
Detected Declarations
struct devicestruct vb2_bufferstruct v4l2_isp_params_block_type_info
Annotated Snippet
struct v4l2_isp_params_block_type_info {
size_t size;
};
/**
* v4l2_isp_params_validate_buffer - Validate a V4L2 ISP parameters buffer
* @dev: the driver's device pointer
* @vb: the videobuf2 buffer
* @buffer: the V4L2 ISP parameters buffer
* @type_info: the array of per-block-type validation info
* @num_block_types: the number of block types in the type_info array
*
* This function completes the validation of a V4L2 ISP parameters buffer,
* verifying each configuration block correctness before the driver can use
* them to program the hardware.
*
* Drivers should use this function after having validated the correctness of
* the vb2 buffer sizes by using the v4l2_isp_params_validate_buffer_size()
* helper first. Once the buffer size has been validated, drivers should
* perform a copy of the user provided buffer into a kernel-only memory buffer
* to prevent userspace from modifying its content after it has been submitted
* to the driver, and then call this function to complete validation.
*/
int v4l2_isp_params_validate_buffer(struct device *dev, struct vb2_buffer *vb,
const struct v4l2_isp_params_buffer *buffer,
const struct v4l2_isp_params_block_type_info *type_info,
size_t num_block_types);
#endif /* _V4L2_ISP_H_ */
Annotation
- Immediate include surface: `linux/media/v4l2-isp.h`.
- Detected declarations: `struct device`, `struct vb2_buffer`, `struct v4l2_isp_params_block_type_info`.
- Atlas domain: Repository Root And Misc / include.
- Implementation status: source implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.