![]() |
piSmasher Configuration Libraries
piSmasher peripheral device configuration libraries
|
Modules | |
| Matrix Control | |
| TDA998X_Audio | |
| TDA998X_CEC_Core | |
| TDA998X_EDID | |
| TDA998X_HDMI_Core | |
| TDA998X_Video_In | |
| TDA998X_Video_Out | |
Data Structures | |
| struct | tda998x_pkt |
| Metadata packet structure. More... | |
| struct | tda998x_mpeg_pkt |
| struct | tda998x_spd_pkt |
| struct | tda998x_cfg |
| TDA998X driver configuration. More... | |
| struct | tda998x_dev |
| TDA998X device. More... | |
Functions | |
| int | tda998x_init (struct tda998x_dev *dev, struct tda998x_cfg *cfg) |
| int | tda998x_edid_get_block (struct tda998x_dev *dev, uint8_t *block, int nblocks, int len) |
| Get EDID Block Data. More... | |
| int | tda998x_read_edid (struct tda998x_dev *dev, uint8_t *data) |
| int | tda998x_get_hotplug_status (struct tda998x_dev *dev, enum tda998x_hotplug_status *hotplug_status, bool client) |
| int | tda998x_set_input_output (struct tda998x_dev *dev, struct tda998x_vidin_cfg *vidin_cfg, struct tda998x_vidout_cfg *vidout_cfg, struct tda998x_audin_cfg *audin_cfg, enum tda998x_sink sink) |
| Set Input and Output. More... | |
| int | tda998x_handle_interrupt (struct tda998x_dev *dev) |
| enum tda998x_callback |
#include <projects/lib/tda998x.h>
| enum tda998x_color_depth |
#include <projects/lib/tda998x.h>
| Enumerator | |
|---|---|
| COLORDEPTH_24 | 8 bits per color |
| COLORDEPTH_30 | 10 bits per color |
| COLORDEPTH_36 | 12 bits per color |
| COLORDEPTH_48 | 16 bits per color |
| enum tda998x_dwidth |
#include <projects/lib/tda998x.h>
| Enumerator | |
|---|---|
| VOUT_DBITS_12 | 12 bits |
| VOUT_DBITS_8 | 8 bits |
| VOUT_DBITS_10 | 10 bits |
| enum tda998x_format_3d |
#include <projects/lib/tda998x.h>
| Enumerator | |
|---|---|
| FORMAT_3D_NONE | 3D video data not present |
| FORMAT_3D_FRAME_PACKING | Frame packing |
| FORMAT_3D_TOP_AND_BOTTOM | Top and bottom |
| FORMAT_3D_SIDE_BY_SIDEF | Side by side half structure |
| enum tda998x_mpeg_frame |
#include <projects/lib/tda998x.h>
| Enumerator | |
|---|---|
| MPEG_FRAME_UNKNOWN | Unknown |
| MPEG_FRAME_I | i-frame |
| MPEG_FRAME_B | b-frame |
| MPEG_FRAME_P | p-frame |
| enum tda998x_scaler_mode |
#include <projects/lib/tda998x.h>
| Enumerator | |
|---|---|
| SCALER_MODE_OFF | Off |
| SCALER_MODE_ON | On |
| SCALER_MODE_AUTO | Auto |
| enum tda998x_sink |
| enum tda998x_state |
#include <projects/lib/tda998x.h>
TDA998X state.
| Enumerator | |
|---|---|
| TDA998X_STATE_ON | Powered on |
| TDA998X_STATE_STANDBY | Device standby |
| TDA998X_STATE_SUSPEND | Device suspend |
| TDA998X_STATE_OFF | Powered off |
| enum tda998x_sync_src |
#include <projects/lib/tda998x.h>
| Enumerator | |
|---|---|
| SYNCSRC_EMBEDDED | Embedded sync |
| SYNCSRC_EXT_VREF | External sync Vref, Href, Fref |
| SYNCSRC_EXT_VS | External sync Vs, Hs |
| enum tda998x_vid_fmt |
#include <projects/lib/tda998x.h>
EIA/CEA-861B video format type.
| enum tda998x_vidin_mode |
#include <projects/lib/tda998x.h>
| Enumerator | |
|---|---|
| VINMODE_CCIR656 | CCIR656 |
| VINMODE_RGB444 | RGB444 |
| VINMODE_YUV444 | YUV444 |
| VINMODE_YUV422 | YUV422 |
| enum tda998x_vidout_mode |
#include <projects/lib/tda998x.h>
| Enumerator | |
|---|---|
| VOUTMODE_RGB444 | RGB444 |
| VOUTMODE_YUV422 | YUV422 |
| VOUTMODE_YUV444 | YUV444 |
| enum tda998x_vqr |
#include <projects/lib/tda998x.h>
Video quantization range.
| Enumerator | |
|---|---|
| VQR_DEFAULT | Follow HDMI spec. |
| VQR_RGB_FULL | Force RGB FULL, DVI only |
| VQR_RGB_LIMITED | Force RGB LIMITED, DVI only |
| int tda998x_edid_get_block | ( | struct tda998x_dev * | dev, |
| uint8_t * | block, | ||
| int | nblocks, | ||
| int | len | ||
| ) |
#include <projects/lib/tda998x.h>
Get EDID Block Data.
| dev | TDA998x device structure pointer |
| int tda998x_set_input_output | ( | struct tda998x_dev * | dev, |
| struct tda998x_vidin_cfg * | vidin_cfg, | ||
| struct tda998x_vidout_cfg * | vidout_cfg, | ||
| struct tda998x_audin_cfg * | audin_cfg, | ||
| enum tda998x_sink | sink | ||
| ) |
#include <projects/lib/tda998x.h>
Set Input and Output.
| dev | TDA998x device structure pointer |
| vidin_cfg | Video input configuration structure pointer |
| vidout_cfg | Video output configuration structure pointer |
| audin_cfg | Audio input configuration structure pointer |
< Pixel repetition
< Data path bit width
< Pixel sampling edge
< Sync method
< Toggling
< Subpacket synchronization
< Blanking source