Resolution and compression settings for video data.
More...
Resolution and compression settings for video data.
- Description
- Data Item I240/048 specifies the video cell resolution and indicates whether data compression is applied to the video blocks. Essential for proper decoding of video data.
- Format
- Two-byte fixed length data item.
- Fields
- Compression flag: Indicates if video data is compressed
- Resolution type: Bits per video cell
◆ ast_dataitem_240_048_get_size
Get size function for I240/048.
◆ ast_video_resolution_type_t
Video Resolution Type enumeration.
Defines the resolution levels for video data transmission, determining the number of bits per video cell.
| Enumerator |
|---|
| AST_VIDEO_RES_UNDEFINED | Undefined resolution.
|
| AST_VIDEO_RES_MONO | Monochrome (1 bit per cell).
|
| AST_VIDEO_RES_LOW | Low resolution (2 bits per cell).
|
| AST_VIDEO_RES_MEDIUM | Medium resolution (4 bits per cell).
|
| AST_VIDEO_RES_HIGH | High resolution (8 bits per cell).
|
| AST_VIDEO_RES_VERY_HIGH | Very high resolution (16 bits per cell).
|
| AST_VIDEO_RES_ULTRA_HIGH | Ultra high resolution (32 bits per cell).
|
◆ ast_dataitem_240_048_decode()
Decode I240/048 Video Cells Resolution.
- Parameters
-
- Returns
- Decoded resolution and compression structure
◆ ast_dataitem_240_048_get_detail_html()
| void ast_dataitem_240_048_get_detail_html |
( |
char * | detail, |
|
|
const size_t | detail_size, |
|
|
const ast_dataitem_t | di ) |
Get detailed HTML for I240/048.
- Parameters
-
| detail | Output buffer for HTML detail |
| detail_size | Size of output buffer |
| di | Data item |
◆ ast_dataitem_240_048_get_summary()
| void ast_dataitem_240_048_get_summary |
( |
char * | summary, |
|
|
const size_t | summary_size, |
|
|
const ast_dataitem_t | di ) |
Get summary string for I240/048.
- Parameters
-
| summary | Output buffer for summary string |
| summary_size | Size of output buffer |
| di | Data item |
◆ ast_video_resolution_bits()
Get number of bits for a video resolution type.
- Parameters
-
- Returns
- Number of bits per video cell