drivers/staging/media/atomisp/pci/camera/pipe/interface/ia_css_pipe_binarydesc.h
Source file repositories/reference/linux-study-clean/drivers/staging/media/atomisp/pci/camera/pipe/interface/ia_css_pipe_binarydesc.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/staging/media/atomisp/pci/camera/pipe/interface/ia_css_pipe_binarydesc.h- Extension
.h- Size
- 7848 bytes
- Lines
- 287
- Domain
- Driver Families
- Bucket
- drivers/staging
- Inferred role
- Driver Families: implementation source
- Status
- source implementation candidate
Why This File Exists
Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/math.hia_css_types.hia_css_frame_public.hia_css_binary.h
Detected Declarations
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
#ifndef __IA_CSS_PIPE_BINARYDESC_H__
#define __IA_CSS_PIPE_BINARYDESC_H__
#include <linux/math.h>
#include <ia_css_types.h> /* ia_css_pipe */
#include <ia_css_frame_public.h> /* ia_css_frame_info */
#include <ia_css_binary.h> /* ia_css_binary_descr */
/* @brief Get a binary descriptor for copy.
*
* @param[in] pipe
* @param[out] copy_desc
* @param[in/out] in_info
* @param[in/out] out_info
* @param[in/out] vf_info
* @return None
*
*/
void ia_css_pipe_get_copy_binarydesc(
struct ia_css_pipe const *const pipe,
struct ia_css_binary_descr *copy_descr,
struct ia_css_frame_info *in_info,
struct ia_css_frame_info *out_info,
struct ia_css_frame_info *vf_info);
/* @brief Get a binary descriptor for vfpp.
*
* @param[in] pipe
* @param[out] vfpp_descr
* @param[in/out] in_info
* @param[in/out] out_info
* @return None
*
*/
void ia_css_pipe_get_vfpp_binarydesc(
struct ia_css_pipe const *const pipe,
struct ia_css_binary_descr *vf_pp_descr,
struct ia_css_frame_info *in_info,
struct ia_css_frame_info *out_info);
/* @brief Get numerator and denominator of bayer downscaling factor.
*
* @param[in] bds_factor: The bayer downscaling factor.
* (= The bds_factor member in the sh_css_bds_factor structure.)
* @param[out] bds: The rational fraction of the bayer downscaling factor.
* (= The respective member in the sh_css_bds_factor structure.)
* @return 0 or error code upon error.
*
*/
int sh_css_bds_factor_get_fract(unsigned int bds_factor, struct u32_fract *bds);
/* @brief Get a binary descriptor for preview stage.
*
* @param[in] pipe
* @param[out] preview_descr
* @param[in/out] in_info
* @param[in/out] bds_out_info
* @param[in/out] out_info
* @param[in/out] vf_info
* @return 0 or error code upon error.
*
*/
int ia_css_pipe_get_preview_binarydesc(
struct ia_css_pipe *const pipe,
struct ia_css_binary_descr *preview_descr,
struct ia_css_frame_info *in_info,
struct ia_css_frame_info *bds_out_info,
struct ia_css_frame_info *out_info,
struct ia_css_frame_info *vf_info);
/* @brief Get a binary descriptor for video stage.
*
* @param[in/out] pipe
* @param[out] video_descr
* @param[in/out] in_info
* @param[in/out] bds_out_info
* @param[in/out] vf_info
* @return 0 or error code upon error.
*
*/
int ia_css_pipe_get_video_binarydesc(
struct ia_css_pipe *const pipe,
struct ia_css_binary_descr *video_descr,
struct ia_css_frame_info *in_info,
struct ia_css_frame_info *bds_out_info,
struct ia_css_frame_info *out_info,
struct ia_css_frame_info *vf_info,
int stream_config_left_padding);
Annotation
- Immediate include surface: `linux/math.h`, `ia_css_types.h`, `ia_css_frame_public.h`, `ia_css_binary.h`.
- Atlas domain: Driver Families / drivers/staging.
- 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.