drivers/media/platform/verisilicon/hantro_v4l2.h

Source file repositories/reference/linux-study-clean/drivers/media/platform/verisilicon/hantro_v4l2.h

File Facts

System
Linux kernel
Corpus path
drivers/media/platform/verisilicon/hantro_v4l2.h
Extension
.h
Size
978 bytes
Lines
35
Domain
Driver Families
Bucket
drivers/media
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.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef HANTRO_V4L2_H_
#define HANTRO_V4L2_H_

#include "hantro.h"

#define HANTRO_FORCE_POSTPROC	true
#define HANTRO_AUTO_POSTPROC	false

extern const struct v4l2_ioctl_ops hantro_ioctl_ops;
extern const struct vb2_ops hantro_queue_ops;

int hantro_reset_raw_fmt(struct hantro_ctx *ctx, int bit_depth, bool need_postproc);
void hantro_reset_fmts(struct hantro_ctx *ctx);
int hantro_get_format_depth(u32 fourcc);
const struct hantro_fmt *
hantro_get_default_fmt(const struct hantro_ctx *ctx, bool bitstream,
		       int bit_depth, bool need_postproc);

#endif /* HANTRO_V4L2_H_ */

Annotation

Implementation Notes