Data Item I240/048 - Video Cells Resolution & Data Compression Indicator

Resolution and compression settings for video data. More...

Collaboration diagram for Data Item I240/048 - Video Cells Resolution & Data Compression Indicator:

Data Structures

struct  ast_dataitem_240_048_t
 Data Item I240/048 - Video Cells Resolution & Data Compression Indicator. More...

Macros

#define ast_dataitem_240_048_get_size   ast_dataitem_get_size_fixed_2_byte
 Get size function for I240/048.

Enumerations

enum  ast_video_resolution_type_t {
  AST_VIDEO_RES_UNDEFINED = 0 , AST_VIDEO_RES_MONO = 1 , AST_VIDEO_RES_LOW = 2 , AST_VIDEO_RES_MEDIUM = 3 ,
  AST_VIDEO_RES_HIGH = 4 , AST_VIDEO_RES_VERY_HIGH = 5 , AST_VIDEO_RES_ULTRA_HIGH = 6
}
 Video Resolution Type enumeration. More...

Functions

unsigned int ast_video_resolution_bits (const ast_video_resolution_type_t t)
 Get number of bits for a video resolution type.
ast_dataitem_240_048_t ast_dataitem_240_048_decode (const ast_dataitem_t di)
 Decode I240/048 Video Cells Resolution.
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.
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.

Detailed Description

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

Macro Definition Documentation

◆ ast_dataitem_240_048_get_size

#define ast_dataitem_240_048_get_size   ast_dataitem_get_size_fixed_2_byte

Get size function for I240/048.

Enumeration Type Documentation

◆ 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).

Function Documentation

◆ ast_dataitem_240_048_decode()

ast_dataitem_240_048_t ast_dataitem_240_048_decode ( const ast_dataitem_t di)

Decode I240/048 Video Cells Resolution.

Parameters
diData item
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
detailOutput buffer for HTML detail
detail_sizeSize of output buffer
diData 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
summaryOutput buffer for summary string
summary_sizeSize of output buffer
diData item

◆ ast_video_resolution_bits()

unsigned int ast_video_resolution_bits ( const ast_video_resolution_type_t t)

Get number of bits for a video resolution type.

Parameters
tVideo resolution type
Returns
Number of bits per video cell