Documentation/driver-api/media/drivers/cx2341x-devel.rst
Source file repositories/reference/linux-study-clean/Documentation/driver-api/media/drivers/cx2341x-devel.rst
File Facts
- System
- Linux kernel
- Corpus path
Documentation/driver-api/media/drivers/cx2341x-devel.rst- Extension
.rst- Size
- 70430 bytes
- Lines
- 3686
- Domain
- Support Tooling And Documentation
- Bucket
- Documentation
- Inferred role
- Support Tooling And Documentation: documentation
- Status
- atlas-only
Why This File Exists
Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.
- Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
- No C-style include directives detected by the generator.
Detected Declarations
struct info
Annotated Snippet
struct info {
u32 length; // Length of this frame
u32 offset_low; // Offset in the file of the
u32 offset_high; // start of this frame
u32 mask1; // Bits 0-2 are the type mask:
// 1=I, 2=P, 4=B
// 0=End of Program Index, other fields
// are invalid.
u32 pts; // The PTS of the frame
u32 mask2; // Bit 0 is bit 32 of the pts.
};
u32 table_ptr;
struct info index[400];
The table_ptr is the encoder memory address in the table were
*new* entries will be written.
.. note:: This is a ringbuffer, so the table_ptr will wraparound.
Param[0]
^^^^^^^^
Picture Mask:
- 0=No index capture
- 1=I frames
- 3=I,P frames
- 7=I,P,B frames
(Seems to be ignored, it always indexes I, P and B frames)
Param[1]
^^^^^^^^
Elements requested (up to 400)
Result[0]
^^^^^^^^^
Offset in the encoder memory of the start of the table.
Result[1]
^^^^^^^^^
Number of allocated elements up to a maximum of Param[1]
CX2341X_ENC_SET_VBI_CONFIG
~~~~~~~~~~~~~~~~~~~~~~~~~~
Enum: 200/0xC8
Description
^^^^^^^^^^^
Configure VBI settings
Param[0]
^^^^^^^^
Bitmap:
.. code-block:: none
0 Mode '0' Sliced, '1' Raw
1:3 Insertion:
'000' insert in extension & user data
'001' insert in private packets
'010' separate stream and user data
'111' separate stream and private data
Annotation
- Detected declarations: `struct info`.
- Atlas domain: Support Tooling And Documentation / Documentation.
- Implementation status: atlas-only.
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.