Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libdvbpsi
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
libdvbpsi
Commits
d1d2e934
Commit
d1d2e934
authored
Jan 26, 2016
by
Daniel Kamil Kozar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use the new descriptor API in test_dr
parent
b8e56f3d
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
423 additions
and
424 deletions
+423
-424
misc/dr.dtd
misc/dr.dtd
+0
-1
misc/dr.xml
misc/dr.xml
+49
-49
misc/dr.xsl
misc/dr.xsl
+6
-6
misc/test_dr.c
misc/test_dr.c
+365
-365
misc/test_dr.h
misc/test_dr.h
+3
-3
No files found.
misc/dr.dtd
View file @
d1d2e934
...
...
@@ -16,7 +16,6 @@
<!ATTLIST descriptor name CDATA #IMPLIED>
<!ATTLIST descriptor sname CDATA #IMPLIED>
<!ATTLIST descriptor fname CDATA #IMPLIED>
<!ATTLIST descriptor msuffix CDATA #IMPLIED>
<!ATTLIST descriptor gen_args CDATA #IMPLIED>
...
...
misc/dr.xml
View file @
d1d2e934
...
...
@@ -2,7 +2,7 @@
<!DOCTYPE dr SYSTEM "dr.dtd">
<dr>
<descriptor
name=
"video stream (b_mpeg2 = false)"
sname=
"
vstream"
fname=
"VS
tream"
msuffix=
"1"
>
<descriptor
name=
"video stream (b_mpeg2 = false)"
sname=
"
mpeg_vs
tream"
msuffix=
"1"
>
<boolean
name=
"b_multiple_frame_rate"
default=
"0"
/>
<integer
name=
"i_frame_rate_code"
bitcount=
"4"
default=
"0"
/>
<insert>
...
...
@@ -13,7 +13,7 @@
<boolean
name=
"b_still_picture"
default=
"0"
/>
</descriptor>
<descriptor
name=
"video stream (b_mpeg2 = true)"
sname=
"
vstream"
fname=
"VS
tream"
msuffix=
"2"
>
<descriptor
name=
"video stream (b_mpeg2 = true)"
sname=
"
mpeg_vs
tream"
msuffix=
"2"
>
<boolean
name=
"b_multiple_frame_rate"
default=
"0"
/>
<integer
name=
"i_frame_rate_code"
bitcount=
"4"
default=
"0"
/>
<insert>
...
...
@@ -27,20 +27,20 @@
<boolean
name=
"b_frame_rate_extension"
default=
"0"
/>
</descriptor>
<descriptor
name=
"audio stream"
sname=
"
astream"
fname=
"AS
tream"
>
<descriptor
name=
"audio stream"
sname=
"
mpeg_as
tream"
>
<boolean
name=
"b_free_format"
default=
"0"
/>
<integer
name=
"i_id"
bitcount=
"1"
default=
"0"
/>
<integer
name=
"i_layer"
bitcount=
"2"
default=
"0"
/>
</descriptor>
<descriptor
name=
"hierarchy"
sname=
"
hierarchy"
fname=
"H
ierarchy"
>
<descriptor
name=
"hierarchy"
sname=
"
mpeg_h
ierarchy"
>
<integer
name=
"i_h_type"
bitcount=
"4"
default=
"0"
/>
<integer
name=
"i_h_layer_index"
bitcount=
"6"
default=
"0"
/>
<integer
name=
"i_h_embedded_layer"
bitcount=
"6"
default=
"0"
/>
<integer
name=
"i_h_priority"
bitcount=
"6"
default=
"0"
/>
</descriptor>
<descriptor
name=
"registration"
sname=
"
registration"
fname=
"R
egistration"
>
<descriptor
name=
"registration"
sname=
"
mpeg_r
egistration"
>
<insert>
<begin>
s_decoded.i_additional_length = 0;
</begin>
...
...
@@ -48,23 +48,23 @@
<integer
name=
"i_format_identifier"
bitcount=
"32"
default=
"0"
/>
</descriptor>
<descriptor
name=
"data stream alignment"
sname=
"
ds_alignment"
fname=
"DSA
lignment"
>
<descriptor
name=
"data stream alignment"
sname=
"
mpeg_ds_a
lignment"
>
<integer
name=
"i_alignment_type"
bitcount=
"8"
default=
"0"
/>
</descriptor>
<descriptor
name=
"target background grid"
sname=
"
target_bg_grid"
fname=
"TargetBgG
rid"
>
<descriptor
name=
"target background grid"
sname=
"
mpeg_target_bg_g
rid"
>
<integer
name=
"i_horizontal_size"
bitcount=
"14"
default=
"0"
/>
<integer
name=
"i_vertical_size"
bitcount=
"14"
default=
"0"
/>
<integer
name=
"i_pel_aspect_ratio"
bitcount=
"4"
default=
"0"
/>
</descriptor>
<descriptor
name=
"video window"
sname=
"
vwindow"
fname=
"VW
indow"
>
<descriptor
name=
"video window"
sname=
"
mpeg_vw
indow"
>
<integer
name=
"i_horizontal_offset"
bitcount=
"14"
default=
"0"
/>
<integer
name=
"i_vertical_offset"
bitcount=
"14"
default=
"0"
/>
<integer
name=
"i_window_priority"
bitcount=
"4"
default=
"0"
/>
</descriptor>
<descriptor
name=
"conditional access"
sname=
"
ca"
fname=
"CA
"
>
<descriptor
name=
"conditional access"
sname=
"
mpeg_ca
"
>
<insert>
<begin>
s_decoded.i_private_length = 0;
</begin>
...
...
@@ -74,23 +74,23 @@
<array
name=
"i_private_data"
len_name=
"i_private_length"
min_size=
"0"
/>
</descriptor>
<descriptor
name=
"ISO 639 language"
sname=
"
iso639"
fname=
"ISO
639"
>
<descriptor
name=
"ISO 639 language"
sname=
"
mpeg_iso
639"
>
<array
name=
"code"
len_name=
"i_code_count"
min_size=
"1"
/>
</descriptor>
<descriptor
name=
"system clock"
sname=
"
system_clock"
fname=
"SystemC
lock"
>
<descriptor
name=
"system clock"
sname=
"
mpeg_system_c
lock"
>
<boolean
name=
"b_external_clock_ref"
default=
"0"
/>
<integer
name=
"i_clock_accuracy_integer"
bitcount=
"6"
default=
"0"
/>
<integer
name=
"i_clock_accuracy_exponent"
bitcount=
"3"
default=
"0"
/>
</descriptor>
<descriptor
name=
"multiplex buffer utilization"
sname=
"m
x_buff_utilization"
fname=
"MxBuffU
tilization"
>
<descriptor
name=
"multiplex buffer utilization"
sname=
"m
peg_mx_buff_u
tilization"
>
<boolean
name=
"b_mdv_valid"
default=
"0"
/>
<integer
name=
"i_mx_delay_variation"
bitcount=
"15"
default=
"0"
/>
<integer
name=
"i_mx_strategy"
bitcount=
"3"
default=
"0"
/>
</descriptor>
<descriptor
name=
"copyright"
sname=
"
copyright"
fname=
"C
opyright"
>
<descriptor
name=
"copyright"
sname=
"
mpeg_c
opyright"
>
<insert>
<begin>
s_decoded.i_additional_length = 0;
</begin>
...
...
@@ -99,50 +99,50 @@
<array
name=
"i_additional_info"
len_name=
"i_additional_length"
min_size=
"0"
/>
</descriptor>
<descriptor
name=
"maximum bitrate"
sname=
"m
ax_bitrate"
fname=
"MaxB
itrate"
>
<descriptor
name=
"maximum bitrate"
sname=
"m
peg_max_b
itrate"
>
<integer
name=
"i_max_bitrate"
bitcount=
"22"
default=
"0"
/>
</descriptor>
<descriptor
name=
"private data indicator"
sname=
"
private_data"
fname=
"PrivateD
ata"
>
<descriptor
name=
"private data indicator"
sname=
"
mpeg_private_d
ata"
>
<integer
name=
"i_private_data"
bitcount=
"32"
default=
"0"
/>
</descriptor>
<descriptor
name=
"smoothing buffer"
sname=
"
smoothing_buffer"
fname=
"SmoothingB
uffer"
gen_args=
"1"
>
<descriptor
name=
"smoothing buffer"
sname=
"
mpeg_smoothing_b
uffer"
gen_args=
"1"
>
<integer
name=
"i_sb_leak_rate"
bitcount=
"22"
default=
"0"
/>
<integer
name=
"i_sb_size"
bitcount=
"22"
default=
"0"
/>
</descriptor>
<descriptor
name=
"STD"
sname=
"
std"
fname=
"STD
"
gen_args=
"1"
>
<descriptor
name=
"STD"
sname=
"
mpeg_std
"
gen_args=
"1"
>
<boolean
name=
"b_leak_valid_flag"
default=
"0"
/>
</descriptor>
<descriptor
name=
"IBP"
sname=
"
ibp"
fname=
"IBP
"
gen_args=
"1"
>
<descriptor
name=
"IBP"
sname=
"
mpeg_ibp
"
gen_args=
"1"
>
<boolean
name=
"b_closed_gop_flag"
default=
"0"
/>
<boolean
name=
"b_identical_gop_flag"
default=
"0"
/>
<integer
name=
"i_max_gop_length"
bitcount=
"14"
default=
"1"
/>
</descriptor>
<descriptor
name=
"MPEG-4 video"
sname=
"mpeg
4_video"
fname=
"MPEG4V
ideo"
gen_args=
"1"
>
<descriptor
name=
"MPEG-4 video"
sname=
"mpeg
_mpeg4_v
ideo"
gen_args=
"1"
>
<integer
name=
"i_mpeg4_visual_profile_and_level"
bitcount=
"8"
default=
"0"
/>
</descriptor>
<descriptor
name=
"MPEG-4 audio"
sname=
"mpeg
4_audio"
fname=
"MPEG4A
udio"
gen_args=
"1"
>
<descriptor
name=
"MPEG-4 audio"
sname=
"mpeg
_mpeg4_a
udio"
gen_args=
"1"
>
<integer
name=
"i_mpeg4_audio_profile_and_level"
bitcount=
"8"
default=
"0"
/>
</descriptor>
<descriptor
name=
"network name"
sname=
"
network_name"
fname=
"NetworkN
ame"
>
<descriptor
name=
"network name"
sname=
"
dvb_network_n
ame"
>
<array
name=
"i_name_byte"
len_name=
"i_name_length"
min_size=
"0"
/>
</descriptor>
<descriptor
name=
"service list"
sname=
"
service_list"
fname=
"ServiceL
ist"
>
<descriptor
name=
"service list"
sname=
"
dvb_service_l
ist"
>
<array
name=
"i_service"
len_name=
"i_service_count"
min_size=
"1"
type=
"dvbpsi_service_list_service_s"
/>
</descriptor>
<descriptor
name=
"stuffing"
sname=
"
stuffing"
fname=
"S
tuffing"
>
<descriptor
name=
"stuffing"
sname=
"
dvb_s
tuffing"
>
<array
name=
"i_stuffing_byte"
len_name=
"i_stuffing_length"
min_size=
"0"
/>
</descriptor>
<descriptor
name=
"satellite delivery system"
sname=
"
sat_deliv_sys"
fname=
"SatDelivS
ys"
>
<descriptor
name=
"satellite delivery system"
sname=
"
dvb_sat_deliv_s
ys"
>
<integer
name=
"i_frequency"
bitcount=
"32"
default=
"0"
/>
<integer
name=
"i_orbital_position"
bitcount=
"16"
default=
"0"
/>
<integer
name=
"i_west_east_flag"
bitcount=
"1"
default=
"0"
/>
...
...
@@ -154,7 +154,7 @@
<integer
name=
"i_fec_inner"
bitcount=
"4"
default=
"0"
/>
</descriptor>
<descriptor
name=
"cable delivery system"
sname=
"
cable_deliv_sys"
fname=
"CableDelivS
ys"
>
<descriptor
name=
"cable delivery system"
sname=
"
dvb_cable_deliv_s
ys"
>
<integer
name=
"i_frequency"
bitcount=
"32"
default=
"0"
/>
<integer
name=
"i_modulation"
bitcount=
"8"
default=
"0"
/>
<integer
name=
"i_symbol_rate"
bitcount=
"28"
default=
"0"
/>
...
...
@@ -162,11 +162,11 @@
<integer
name=
"i_fec_outer"
bitcount=
"4"
default=
"0"
/>
</descriptor>
<descriptor
name=
"bouquet name"
sname=
"
bouquet_name"
fname=
"BouquetN
ame"
>
<descriptor
name=
"bouquet name"
sname=
"
dvb_bouquet_n
ame"
>
<array
name=
"i_char"
len_name=
"i_name_length"
min_size=
"0"
/>
</descriptor>
<descriptor
name=
"service (i_service_provider_name)"
sname=
"
service"
fname=
"S
ervice"
msuffix=
"1"
>
<descriptor
name=
"service (i_service_provider_name)"
sname=
"
dvb_s
ervice"
msuffix=
"1"
>
<insert>
<begin>
s_decoded.i_service_name_length = 0;
</begin>
...
...
@@ -175,7 +175,7 @@
<array
name=
"i_service_provider_name"
len_name=
"i_service_provider_name_length"
min_size=
"0"
/>
</descriptor>
<descriptor
name=
"service (i_service_name)"
sname=
"
service"
fname=
"S
ervice"
msuffix=
"2"
>
<descriptor
name=
"service (i_service_name)"
sname=
"
dvb_s
ervice"
msuffix=
"2"
>
<insert>
<begin>
s_decoded.i_service_provider_name_length = 0;
</begin>
...
...
@@ -184,7 +184,7 @@
<array
name=
"i_service_name"
len_name=
"i_service_name_length"
min_size=
"0"
/>
</descriptor>
<descriptor
name=
"service (both names)"
sname=
"
service"
fname=
"S
ervice"
msuffix=
"3"
>
<descriptor
name=
"service (both names)"
sname=
"
dvb_s
ervice"
msuffix=
"3"
>
<insert>
<begin>
s_decoded.i_service_provider_name_length = 0;
</begin>
...
...
@@ -194,7 +194,7 @@
<array
name=
"i_service_provider_name"
len_name=
"i_service_provider_name_length"
min_size=
"0"
max_size=
"126"
/>
</descriptor>
<descriptor
name=
"linkage (information service)"
sname=
"
linkage"
fname=
"L
inkage"
msuffix=
"0"
>
<descriptor
name=
"linkage (information service)"
sname=
"
dvb_l
inkage"
msuffix=
"0"
>
<insert>
<begin>
s_decoded.i_linkage_type = 1;
...
...
@@ -206,7 +206,7 @@
<array
name=
"i_private_data"
len_name=
"i_private_data_length"
min_size=
"0"
/>
</descriptor>
<descriptor
name=
"linkage (mobile handover, no extra data)"
sname=
"
linkage"
fname=
"L
inkage"
msuffix=
"1"
>
<descriptor
name=
"linkage (mobile handover, no extra data)"
sname=
"
dvb_l
inkage"
msuffix=
"1"
>
<insert>
<begin>
s_decoded.i_linkage_type = 8;
...
...
@@ -220,7 +220,7 @@
<array
name=
"i_private_data"
len_name=
"i_private_data_length"
min_size=
"0"
max_size=
"245"
/>
</descriptor>
<descriptor
name=
"linkage (mobile handover, extra network_id)"
sname=
"
linkage"
fname=
"L
inkage"
msuffix=
"2"
>
<descriptor
name=
"linkage (mobile handover, extra network_id)"
sname=
"
dvb_l
inkage"
msuffix=
"2"
>
<insert>
<begin>
s_decoded.i_linkage_type = 8;
...
...
@@ -235,7 +235,7 @@
<array
name=
"i_private_data"
len_name=
"i_private_data_length"
min_size=
"0"
max_size=
"243"
/>
</descriptor>
<descriptor
name=
"linkage (mobile handover, extra initial_service_id)"
sname=
"
linkage"
fname=
"L
inkage"
msuffix=
"3"
>
<descriptor
name=
"linkage (mobile handover, extra initial_service_id)"
sname=
"
dvb_l
inkage"
msuffix=
"3"
>
<insert>
<begin>
s_decoded.i_linkage_type = 8;
...
...
@@ -250,7 +250,7 @@
<array
name=
"i_private_data"
len_name=
"i_private_data_length"
min_size=
"0"
max_size=
"243"
/>
</descriptor>
<descriptor
name=
"linkage (mobile handover, extra network_id and initial_service_id)"
sname=
"
linkage"
fname=
"L
inkage"
msuffix=
"4"
>
<descriptor
name=
"linkage (mobile handover, extra network_id and initial_service_id)"
sname=
"
dvb_l
inkage"
msuffix=
"4"
>
<insert>
<begin>
s_decoded.i_linkage_type = 8;
...
...
@@ -266,7 +266,7 @@
<array
name=
"i_private_data"
len_name=
"i_private_data_length"
min_size=
"0"
max_size=
"241"
/>
</descriptor>
<descriptor
name=
"linkage (event linkage)"
sname=
"
linkage"
fname=
"L
inkage"
msuffix=
"5"
>
<descriptor
name=
"linkage (event linkage)"
sname=
"
dvb_l
inkage"
msuffix=
"5"
>
<insert>
<begin>
s_decoded.i_linkage_type = 13;
...
...
@@ -281,15 +281,15 @@
<array
name=
"i_private_data"
len_name=
"i_private_data_length"
min_size=
"0"
max_size=
"242"
/>
</descriptor>
<descriptor
name=
"Near Video On Demand reference"
sname=
"
nvod_ref"
fname=
"NVODReference
"
>
<descriptor
name=
"Near Video On Demand reference"
sname=
"
dvb_nvod_ref
"
>
<array
name=
"p_nvod_refs"
len_name=
"i_references"
min_size=
"1"
type=
"dvbpsi_nvod_ref_t"
/>
</descriptor>
<descriptor
name=
"time shifted service"
sname=
"
tshifted_service"
fname=
"TimeShiftedS
ervice"
>
<descriptor
name=
"time shifted service"
sname=
"
dvb_tshifted_s
ervice"
>
<integer
name=
"i_ref_service_id"
bitcount=
"16"
default=
"0"
/>
</descriptor>
<descriptor
name=
"short event (event_name)"
sname=
"
short_event"
fname=
"ShortE
vent"
msuffix=
"0"
>
<descriptor
name=
"short event (event_name)"
sname=
"
dvb_short_e
vent"
msuffix=
"0"
>
<insert>
<begin>
s_decoded.i_text_length = 0;
...
...
@@ -299,7 +299,7 @@
<array
name=
"i_event_name"
len_name=
"i_event_name_length"
min_size=
"0"
max_size=
"248"
/>
</descriptor>
<descriptor
name=
"short event (i_text)"
sname=
"
short_event"
fname=
"ShortE
vent"
msuffix=
"1"
>
<descriptor
name=
"short event (i_text)"
sname=
"
dvb_short_e
vent"
msuffix=
"1"
>
<insert>
<begin>
s_decoded.i_event_name_length = 0;
...
...
@@ -309,46 +309,46 @@
<array
name=
"i_text"
len_name=
"i_text_length"
min_size=
"0"
max_size=
"248"
/>
</descriptor>
<descriptor
name=
"short event (both)"
sname=
"
short_event"
fname=
"ShortE
vent"
msuffix=
"2"
>
<descriptor
name=
"short event (both)"
sname=
"
dvb_short_e
vent"
msuffix=
"2"
>
<carray
name=
"i_iso_639_code"
/>
<array
name=
"i_text"
len_name=
"i_text_length"
min_size=
"0"
max_size=
"124"
/>
<array
name=
"i_event_name"
len_name=
"i_event_name_length"
min_size=
"0"
max_size=
"124"
/>
</descriptor>
<descriptor
name=
"time shifted event"
sname=
"
tshifted_ev"
fname=
"TimeShiftedEvent
"
>
<descriptor
name=
"time shifted event"
sname=
"
dvb_tshifted_ev
"
>
<integer
name=
"i_ref_service_id"
bitcount=
"16"
default=
"0"
/>
<integer
name=
"i_ref_event_id"
bitcount=
"16"
default=
"0"
/>
</descriptor>
<descriptor
name=
"stream identifier"
sname=
"
stream_identifier"
fname=
"StreamI
dentifier"
>
<descriptor
name=
"stream identifier"
sname=
"
dvb_stream_i
dentifier"
>
<integer
name=
"i_component_tag"
bitcount=
"8"
default=
"0"
/>
</descriptor>
<descriptor
name=
"CA identifier"
sname=
"
ca_identifier"
fname=
"CAI
dentifier"
>
<descriptor
name=
"CA identifier"
sname=
"
dvb_ca_i
dentifier"
>
<array
name=
"p_system"
len_name=
"i_number"
min_size=
"1"
type=
"dvbpsi_ca_system_t"
/>
</descriptor>
<descriptor
name=
"content"
sname=
"
content"
fname=
"C
ontent"
>
<descriptor
name=
"content"
sname=
"
dvb_c
ontent"
>
<array
name=
"p_content"
len_name=
"i_contents_number"
min_size=
"1"
type=
"dvbpsi_content_t"
/>
</descriptor>
<descriptor
name=
"parental rating"
sname=
"
parental_rating"
fname=
"ParentalR
ating"
>
<descriptor
name=
"parental rating"
sname=
"
dvb_parental_r
ating"
>
<array
name=
"p_parental_rating"
len_name=
"i_ratings_number"
min_size=
"1"
type=
"dvbpsi_parental_rating_t"
/>
</descriptor>
<descriptor
name=
"teletext"
sname=
"
teletext"
fname=
"T
eletext"
>
<descriptor
name=
"teletext"
sname=
"
dvb_t
eletext"
>
<array
name=
"p_pages"
len_name=
"i_pages_number"
min_size=
"1"
type=
"dvbpsi_teletextpage_t"
/>
</descriptor>
<descriptor
name=
"local time offset"
sname=
"
local_time_offset"
fname=
"LocalTimeO
ffset"
>
<descriptor
name=
"local time offset"
sname=
"
dvb_local_time_o
ffset"
>
<array
name=
"p_local_time_offset"
len_name=
"i_local_time_offsets_number"
min_size=
"1"
type=
"dvbpsi_local_time_offset_t"
/>
</descriptor>
<descriptor
name=
"subtitling"
sname=
"
subtitling"
fname=
"S
ubtitling"
>
<descriptor
name=
"subtitling"
sname=
"
dvb_s
ubtitling"
>
<array
name=
"p_subtitle"
len_name=
"i_subtitles_number"
min_size=
"1"
type=
"dvbpsi_subtitle_t"
/>
</descriptor>
<descriptor
name=
"terrestial delivery system"
sname=
"
terr_deliv_sys"
fname=
"TerrDelivS
ys"
>
<descriptor
name=
"terrestial delivery system"
sname=
"
dvb_terr_deliv_s
ys"
>
<integer
name=
"i_centre_frequency"
bitcount=
"32"
default=
"0"
/>
<integer
name=
"i_bandwidth"
bitcount=
"3"
default=
"0"
/>
<integer
name=
"i_priority"
bitcount=
"1"
default=
"0"
/>
...
...
misc/dr.xsl
View file @
d1d2e934
...
...
@@ -74,8 +74,8 @@ static int main_<xsl:value-of select="@sname" />_<xsl:value-of select="@msuffix"
<!-- declare a macro for calling the one-argument generate functions -->
<xsl:if
test=
"@gen_args = 1"
>
#define dvbpsi_
Gen
<xsl:value-of
select=
"@fname"
/>
D
r(x,y) \
dvbpsi_
Gen
<xsl:value-of
select=
"@fname"
/>
D
r(x)
#define dvbpsi_
gen_
<xsl:value-of
select=
"@sname"
/>
_d
r(x,y) \
dvbpsi_
gen_
<xsl:value-of
select=
"@sname"
/>
_d
r(x)
</xsl:if>
<xsl:apply-templates
mode=
"check"
/>
...
...
@@ -117,7 +117,7 @@ static int main_<xsl:value-of select="@sname" />_<xsl:value-of select="@msuffix"
<xsl:template
match=
"integer"
mode=
"check"
>
/* check
<xsl:value-of
select=
"@name"
/>
*/
<xsl:apply-templates
select=
".."
mode=
"init"
/>
BOZO_begin_integer(
<xsl:value-of
select=
"@name"
/>
,
<xsl:value-of
select=
"@bitcount"
/>
)
BOZO_DOJOB(
<xsl:value-of
select=
"../@
f
name"
/>
);
BOZO_DOJOB(
<xsl:value-of
select=
"../@
s
name"
/>
);
BOZO_check_integer(
<xsl:value-of
select=
"@name"
/>
,
<xsl:value-of
select=
"@bitcount"
/>
)
BOZO_CLEAN();
BOZO_end_integer(
<xsl:value-of
select=
"@name"
/>
,
<xsl:value-of
select=
"@bitcount"
/>
)
...
...
@@ -126,7 +126,7 @@ static int main_<xsl:value-of select="@sname" />_<xsl:value-of select="@msuffix"
<xsl:template
match=
"boolean"
mode=
"check"
>
/* check
<xsl:value-of
select=
"@name"
/>
*/
<xsl:apply-templates
select=
".."
mode=
"init"
/>
BOZO_begin_boolean(
<xsl:value-of
select=
"@name"
/>
)
BOZO_DOJOB(
<xsl:value-of
select=
"../@
f
name"
/>
);
BOZO_DOJOB(
<xsl:value-of
select=
"../@
s
name"
/>
);
BOZO_check_boolean(
<xsl:value-of
select=
"@name"
/>
)
BOZO_CLEAN();
BOZO_end_boolean(
<xsl:value-of
select=
"@name"
/>
)
...
...
@@ -136,7 +136,7 @@ static int main_<xsl:value-of select="@sname" />_<xsl:value-of select="@msuffix"
/* check
<xsl:value-of
select=
"@name"
/>
*/
<xsl:apply-templates
select=
".."
mode=
"init"
/>
BOZO_begin_array(
<xsl:value-of
select=
"@name"
/>
)
BOZO_loop_array_begin(
<xsl:value-of
select=
"@name"
/>
,
<xsl:value-of
select=
"@len_name"
/>
,
<xsl:value-of
select=
"@min_size"
/>
)
BOZO_DOJOB(
<xsl:value-of
select=
"../@
f
name"
/>
);
BOZO_DOJOB(
<xsl:value-of
select=
"../@
s
name"
/>
);
BOZO_check_array_begin(
<xsl:value-of
select=
"@name"
/>
,
<xsl:value-of
select=
"@len_name"
/>
)
<xsl:choose>
<xsl:when
test=
"@type"
>
...
...
@@ -173,7 +173,7 @@ static int main_<xsl:value-of select="@sname" />_<xsl:value-of select="@msuffix"
/* check
<xsl:value-of
select=
"@name"
/>
*/
<xsl:apply-templates
select=
".."
mode=
"init"
/>
i_loop_count = 0;
BOZO_begin_array(
<xsl:value-of
select=
"@name"
/>
)
BOZO_DOJOB(
<xsl:value-of
select=
"../@
f
name"
/>
);
BOZO_DOJOB(
<xsl:value-of
select=
"../@
s
name"
/>
);
BOZO_check_carray(
<xsl:value-of
select=
"@name"
/>
)
BOZO_end_array
</xsl:template>
...
...
misc/test_dr.c
View file @
d1d2e934
...
...
@@ -31,9 +31,9 @@
/* video stream (b_mpeg2 = false) */
static
int
main_vstream_1
(
void
)
static
int
main_
mpeg_
vstream_1
(
void
)
{
BOZO_VARS
(
vstream
);
BOZO_VARS
(
mpeg_
vstream
);
BOZO_START
(
video
stream
(
b_mpeg2
=
false
));
...
...
@@ -44,7 +44,7 @@ static int main_vstream_1(void)
BOZO_init_boolean
(
b_constrained_parameter
,
0
);
BOZO_init_boolean
(
b_still_picture
,
0
);
BOZO_begin_boolean
(
b_multiple_frame_rate
)
BOZO_DOJOB
(
VS
tream
);
BOZO_DOJOB
(
mpeg_vs
tream
);
BOZO_check_boolean
(
b_multiple_frame_rate
)
BOZO_CLEAN
();
BOZO_end_boolean
(
b_multiple_frame_rate
)
...
...
@@ -56,7 +56,7 @@ static int main_vstream_1(void)
BOZO_init_boolean
(
b_constrained_parameter
,
0
);
BOZO_init_boolean
(
b_still_picture
,
0
);
BOZO_begin_integer
(
i_frame_rate_code
,
4
)
BOZO_DOJOB
(
VS
tream
);
BOZO_DOJOB
(
mpeg_vs
tream
);
BOZO_check_integer
(
i_frame_rate_code
,
4
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_frame_rate_code
,
4
)
...
...
@@ -68,7 +68,7 @@ static int main_vstream_1(void)
BOZO_init_boolean
(
b_constrained_parameter
,
0
);
BOZO_init_boolean
(
b_still_picture
,
0
);
BOZO_begin_boolean
(
b_constrained_parameter
)
BOZO_DOJOB
(
VS
tream
);
BOZO_DOJOB
(
mpeg_vs
tream
);
BOZO_check_boolean
(
b_constrained_parameter
)
BOZO_CLEAN
();
BOZO_end_boolean
(
b_constrained_parameter
)
...
...
@@ -80,7 +80,7 @@ static int main_vstream_1(void)
BOZO_init_boolean
(
b_constrained_parameter
,
0
);
BOZO_init_boolean
(
b_still_picture
,
0
);
BOZO_begin_boolean
(
b_still_picture
)
BOZO_DOJOB
(
VS
tream
);
BOZO_DOJOB
(
mpeg_vs
tream
);
BOZO_check_boolean
(
b_still_picture
)
BOZO_CLEAN
();
BOZO_end_boolean
(
b_still_picture
)
...
...
@@ -92,9 +92,9 @@ static int main_vstream_1(void)
}
/* video stream (b_mpeg2 = true) */
static
int
main_vstream_2
(
void
)
static
int
main_
mpeg_
vstream_2
(
void
)
{
BOZO_VARS
(
vstream
);
BOZO_VARS
(
mpeg_
vstream
);
BOZO_START
(
video
stream
(
b_mpeg2
=
true
));
...
...
@@ -108,7 +108,7 @@ static int main_vstream_2(void)
BOZO_init_integer
(
i_chroma_format
,
0
);
BOZO_init_boolean
(
b_frame_rate_extension
,
0
);
BOZO_begin_boolean
(
b_multiple_frame_rate
)
BOZO_DOJOB
(
VS
tream
);
BOZO_DOJOB
(
mpeg_vs
tream
);
BOZO_check_boolean
(
b_multiple_frame_rate
)
BOZO_CLEAN
();
BOZO_end_boolean
(
b_multiple_frame_rate
)
...
...
@@ -123,7 +123,7 @@ static int main_vstream_2(void)
BOZO_init_integer
(
i_chroma_format
,
0
);
BOZO_init_boolean
(
b_frame_rate_extension
,
0
);
BOZO_begin_integer
(
i_frame_rate_code
,
4
)
BOZO_DOJOB
(
VS
tream
);
BOZO_DOJOB
(
mpeg_vs
tream
);
BOZO_check_integer
(
i_frame_rate_code
,
4
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_frame_rate_code
,
4
)
...
...
@@ -138,7 +138,7 @@ static int main_vstream_2(void)
BOZO_init_integer
(
i_chroma_format
,
0
);
BOZO_init_boolean
(
b_frame_rate_extension
,
0
);
BOZO_begin_boolean
(
b_constrained_parameter
)
BOZO_DOJOB
(
VS
tream
);
BOZO_DOJOB
(
mpeg_vs
tream
);
BOZO_check_boolean
(
b_constrained_parameter
)
BOZO_CLEAN
();
BOZO_end_boolean
(
b_constrained_parameter
)
...
...
@@ -153,7 +153,7 @@ static int main_vstream_2(void)
BOZO_init_integer
(
i_chroma_format
,
0
);
BOZO_init_boolean
(
b_frame_rate_extension
,
0
);
BOZO_begin_boolean
(
b_still_picture
)
BOZO_DOJOB
(
VS
tream
);
BOZO_DOJOB
(
mpeg_vs
tream
);
BOZO_check_boolean
(
b_still_picture
)
BOZO_CLEAN
();
BOZO_end_boolean
(
b_still_picture
)
...
...
@@ -168,7 +168,7 @@ static int main_vstream_2(void)
BOZO_init_integer
(
i_chroma_format
,
0
);
BOZO_init_boolean
(
b_frame_rate_extension
,
0
);
BOZO_begin_integer
(
i_profile_level_indication
,
8
)
BOZO_DOJOB
(
VS
tream
);
BOZO_DOJOB
(
mpeg_vs
tream
);
BOZO_check_integer
(
i_profile_level_indication
,
8
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_profile_level_indication
,
8
)
...
...
@@ -183,7 +183,7 @@ static int main_vstream_2(void)
BOZO_init_integer
(
i_chroma_format
,
0
);
BOZO_init_boolean
(
b_frame_rate_extension
,
0
);
BOZO_begin_integer
(
i_chroma_format
,
2
)
BOZO_DOJOB
(
VS
tream
);
BOZO_DOJOB
(
mpeg_vs
tream
);
BOZO_check_integer
(
i_chroma_format
,
2
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_chroma_format
,
2
)
...
...
@@ -198,7 +198,7 @@ static int main_vstream_2(void)
BOZO_init_integer
(
i_chroma_format
,
0
);
BOZO_init_boolean
(
b_frame_rate_extension
,
0
);
BOZO_begin_boolean
(
b_frame_rate_extension
)
BOZO_DOJOB
(
VS
tream
);
BOZO_DOJOB
(
mpeg_vs
tream
);
BOZO_check_boolean
(
b_frame_rate_extension
)
BOZO_CLEAN
();
BOZO_end_boolean
(
b_frame_rate_extension
)
...
...
@@ -210,9 +210,9 @@ static int main_vstream_2(void)
}
/* audio stream */
static
int
main_astream_
(
void
)
static
int
main_
mpeg_
astream_
(
void
)
{
BOZO_VARS
(
astream
);
BOZO_VARS
(
mpeg_
astream
);
BOZO_START
(
audio
stream
);
...
...
@@ -221,7 +221,7 @@ static int main_astream_(void)
BOZO_init_integer
(
i_id
,
0
);
BOZO_init_integer
(
i_layer
,
0
);
BOZO_begin_boolean
(
b_free_format
)
BOZO_DOJOB
(
AS
tream
);
BOZO_DOJOB
(
mpeg_as
tream
);
BOZO_check_boolean
(
b_free_format
)
BOZO_CLEAN
();
BOZO_end_boolean
(
b_free_format
)
...
...
@@ -231,7 +231,7 @@ static int main_astream_(void)
BOZO_init_integer
(
i_id
,
0
);
BOZO_init_integer
(
i_layer
,
0
);
BOZO_begin_integer
(
i_id
,
1
)
BOZO_DOJOB
(
AS
tream
);
BOZO_DOJOB
(
mpeg_as
tream
);
BOZO_check_integer
(
i_id
,
1
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_id
,
1
)
...
...
@@ -241,7 +241,7 @@ static int main_astream_(void)
BOZO_init_integer
(
i_id
,
0
);
BOZO_init_integer
(
i_layer
,
0
);
BOZO_begin_integer
(
i_layer
,
2
)
BOZO_DOJOB
(
AS
tream
);
BOZO_DOJOB
(
mpeg_as
tream
);
BOZO_check_integer
(
i_layer
,
2
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_layer
,
2
)
...
...
@@ -253,9 +253,9 @@ static int main_astream_(void)
}
/* hierarchy */
static
int
main_hierarchy_
(
void
)
static
int
main_
mpeg_
hierarchy_
(
void
)
{
BOZO_VARS
(
hierarchy
);
BOZO_VARS
(
mpeg_
hierarchy
);
BOZO_START
(
hierarchy
);
...
...
@@ -265,7 +265,7 @@ static int main_hierarchy_(void)
BOZO_init_integer
(
i_h_embedded_layer
,
0
);
BOZO_init_integer
(
i_h_priority
,
0
);
BOZO_begin_integer
(
i_h_type
,
4
)
BOZO_DOJOB
(
H
ierarchy
);
BOZO_DOJOB
(
mpeg_h
ierarchy
);
BOZO_check_integer
(
i_h_type
,
4
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_h_type
,
4
)
...
...
@@ -276,7 +276,7 @@ static int main_hierarchy_(void)
BOZO_init_integer
(
i_h_embedded_layer
,
0
);
BOZO_init_integer
(
i_h_priority
,
0
);
BOZO_begin_integer
(
i_h_layer_index
,
6
)
BOZO_DOJOB
(
H
ierarchy
);
BOZO_DOJOB
(
mpeg_h
ierarchy
);
BOZO_check_integer
(
i_h_layer_index
,
6
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_h_layer_index
,
6
)
...
...
@@ -287,7 +287,7 @@ static int main_hierarchy_(void)
BOZO_init_integer
(
i_h_embedded_layer
,
0
);
BOZO_init_integer
(
i_h_priority
,
0
);
BOZO_begin_integer
(
i_h_embedded_layer
,
6
)
BOZO_DOJOB
(
H
ierarchy
);
BOZO_DOJOB
(
mpeg_h
ierarchy
);
BOZO_check_integer
(
i_h_embedded_layer
,
6
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_h_embedded_layer
,
6
)
...
...
@@ -298,7 +298,7 @@ static int main_hierarchy_(void)
BOZO_init_integer
(
i_h_embedded_layer
,
0
);
BOZO_init_integer
(
i_h_priority
,
0
);
BOZO_begin_integer
(
i_h_priority
,
6
)
BOZO_DOJOB
(
H
ierarchy
);
BOZO_DOJOB
(
mpeg_h
ierarchy
);
BOZO_check_integer
(
i_h_priority
,
6
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_h_priority
,
6
)
...
...
@@ -310,9 +310,9 @@ static int main_hierarchy_(void)
}
/* registration */
static
int
main_registration_
(
void
)
static
int
main_
mpeg_
registration_
(
void
)
{
BOZO_VARS
(
registration
);
BOZO_VARS
(
mpeg_
registration
);
BOZO_START
(
registration
);
...
...
@@ -320,7 +320,7 @@ static int main_registration_(void)
s_decoded
.
i_additional_length
=
0
;
BOZO_init_integer
(
i_format_identifier
,
0
);
BOZO_begin_integer
(
i_format_identifier
,
32
)
BOZO_DOJOB
(
R
egistration
);
BOZO_DOJOB
(
mpeg_r
egistration
);
BOZO_check_integer
(
i_format_identifier
,
32
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_format_identifier
,
32
)
...
...
@@ -332,16 +332,16 @@ static int main_registration_(void)
}
/* data stream alignment */
static
int
main_ds_alignment_
(
void
)
static
int
main_
mpeg_
ds_alignment_
(
void
)
{
BOZO_VARS
(
ds_alignment
);
BOZO_VARS
(
mpeg_
ds_alignment
);
BOZO_START
(
data
stream
alignment
);
/* check i_alignment_type */
BOZO_init_integer
(
i_alignment_type
,
0
);
BOZO_begin_integer
(
i_alignment_type
,
8
)
BOZO_DOJOB
(
DSA
lignment
);
BOZO_DOJOB
(
mpeg_ds_a
lignment
);
BOZO_check_integer
(
i_alignment_type
,
8
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_alignment_type
,
8
)
...
...
@@ -353,9 +353,9 @@ static int main_ds_alignment_(void)
}
/* target background grid */
static
int
main_target_bg_grid_
(
void
)
static
int
main_
mpeg_
target_bg_grid_
(
void
)
{
BOZO_VARS
(
target_bg_grid
);
BOZO_VARS
(
mpeg_
target_bg_grid
);
BOZO_START
(
target
background
grid
);
...
...
@@ -364,7 +364,7 @@ static int main_target_bg_grid_(void)
BOZO_init_integer
(
i_vertical_size
,
0
);
BOZO_init_integer
(
i_pel_aspect_ratio
,
0
);
BOZO_begin_integer
(
i_horizontal_size
,
14
)
BOZO_DOJOB
(
TargetBgG
rid
);
BOZO_DOJOB
(
mpeg_target_bg_g
rid
);
BOZO_check_integer
(
i_horizontal_size
,
14
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_horizontal_size
,
14
)
...
...
@@ -374,7 +374,7 @@ static int main_target_bg_grid_(void)
BOZO_init_integer
(
i_vertical_size
,
0
);
BOZO_init_integer
(
i_pel_aspect_ratio
,
0
);
BOZO_begin_integer
(
i_vertical_size
,
14
)
BOZO_DOJOB
(
TargetBgG
rid
);
BOZO_DOJOB
(
mpeg_target_bg_g
rid
);
BOZO_check_integer
(
i_vertical_size
,
14
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_vertical_size
,
14
)
...
...
@@ -384,7 +384,7 @@ static int main_target_bg_grid_(void)
BOZO_init_integer
(
i_vertical_size
,
0
);
BOZO_init_integer
(
i_pel_aspect_ratio
,
0
);
BOZO_begin_integer
(
i_pel_aspect_ratio
,
4
)
BOZO_DOJOB
(
TargetBgG
rid
);
BOZO_DOJOB
(
mpeg_target_bg_g
rid
);
BOZO_check_integer
(
i_pel_aspect_ratio
,
4
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_pel_aspect_ratio
,
4
)
...
...
@@ -396,9 +396,9 @@ static int main_target_bg_grid_(void)
}
/* video window */
static
int
main_vwindow_
(
void
)
static
int
main_
mpeg_
vwindow_
(
void
)
{
BOZO_VARS
(
vwindow
);
BOZO_VARS
(
mpeg_
vwindow
);
BOZO_START
(
video
window
);
...
...
@@ -407,7 +407,7 @@ static int main_vwindow_(void)
BOZO_init_integer
(
i_vertical_offset
,
0
);
BOZO_init_integer
(
i_window_priority
,
0
);
BOZO_begin_integer
(
i_horizontal_offset
,
14
)
BOZO_DOJOB
(
VW
indow
);
BOZO_DOJOB
(
mpeg_vw
indow
);
BOZO_check_integer
(
i_horizontal_offset
,
14
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_horizontal_offset
,
14
)
...
...
@@ -417,7 +417,7 @@ static int main_vwindow_(void)
BOZO_init_integer
(
i_vertical_offset
,
0
);
BOZO_init_integer
(
i_window_priority
,
0
);
BOZO_begin_integer
(
i_vertical_offset
,
14
)
BOZO_DOJOB
(
VW
indow
);
BOZO_DOJOB
(
mpeg_vw
indow
);
BOZO_check_integer
(
i_vertical_offset
,
14
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_vertical_offset
,
14
)
...
...
@@ -427,7 +427,7 @@ static int main_vwindow_(void)
BOZO_init_integer
(
i_vertical_offset
,
0
);
BOZO_init_integer
(
i_window_priority
,
0
);
BOZO_begin_integer
(
i_window_priority
,
4
)
BOZO_DOJOB
(
VW
indow
);
BOZO_DOJOB
(
mpeg_vw
indow
);
BOZO_check_integer
(
i_window_priority
,
4
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_window_priority
,
4
)
...
...
@@ -439,9 +439,9 @@ static int main_vwindow_(void)
}
/* conditional access */
static
int
main_ca_
(
void
)
static
int
main_
mpeg_
ca_
(
void
)
{
BOZO_VARS
(
ca
);
BOZO_VARS
(
mpeg_
ca
);
BOZO_START
(
conditional
access
);
...
...
@@ -451,7 +451,7 @@ static int main_ca_(void)
BOZO_init_integer
(
i_ca_pid
,
0
);
BOZO_init_array
(
i_private_length
);
BOZO_begin_integer
(
i_ca_system_id
,
16
)
BOZO_DOJOB
(
CA
);
BOZO_DOJOB
(
mpeg_ca
);
BOZO_check_integer
(
i_ca_system_id
,
16
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_ca_system_id
,
16
)
...
...
@@ -462,7 +462,7 @@ static int main_ca_(void)
BOZO_init_integer
(
i_ca_pid
,
0
);
BOZO_init_array
(
i_private_length
);
BOZO_begin_integer
(
i_ca_pid
,
13
)
BOZO_DOJOB
(
CA
);
BOZO_DOJOB
(
mpeg_ca
);
BOZO_check_integer
(
i_ca_pid
,
13
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_ca_pid
,
13
)
...
...
@@ -474,7 +474,7 @@ static int main_ca_(void)
BOZO_init_array
(
i_private_length
);
BOZO_begin_array
(
i_private_data
)
BOZO_loop_array_begin
(
i_private_data
,
i_private_length
,
0
)
BOZO_DOJOB
(
CA
);
BOZO_DOJOB
(
mpeg_ca
);
BOZO_check_array_begin
(
i_private_data
,
i_private_length
)
BOZO_check_array_gen
(
i_private_data
,
i_private_length
)
BOZO_CLEAN
();
...
...
@@ -488,17 +488,17 @@ static int main_ca_(void)
}
/* ISO 639 language */
static
int
main_iso639_
(
void
)
static
int
main_
mpeg_
iso639_
(
void
)
{
BOZO_VARS
(
iso639
);
BOZO_VARS
(
mpeg_
iso639
);
BOZO_START
(
ISO
639
language
);
/* check code */
BOZO_init_array
(
i_code_count
);
BOZO_begin_array
(
code
)
BOZO_loop_array_begin
(
code
,
i_code_count
,
1
)
BOZO_DOJOB
(
ISO
639
);
BOZO_DOJOB
(
mpeg_iso
639
);
BOZO_check_array_begin
(
code
,
i_code_count
)
BOZO_check_array_gen
(
code
,
i_code_count
)
BOZO_CLEAN
();
...
...
@@ -512,9 +512,9 @@ static int main_iso639_(void)
}
/* system clock */
static
int
main_system_clock_
(
void
)
static
int
main_
mpeg_
system_clock_
(
void
)
{
BOZO_VARS
(
system_clock
);
BOZO_VARS
(
mpeg_
system_clock
);
BOZO_START
(
system
clock
);
...
...
@@ -523,7 +523,7 @@ static int main_system_clock_(void)
BOZO_init_integer
(
i_clock_accuracy_integer
,
0
);
BOZO_init_integer
(
i_clock_accuracy_exponent
,
0
);
BOZO_begin_boolean
(
b_external_clock_ref
)
BOZO_DOJOB
(
SystemC
lock
);
BOZO_DOJOB
(
mpeg_system_c
lock
);
BOZO_check_boolean
(
b_external_clock_ref
)
BOZO_CLEAN
();
BOZO_end_boolean
(
b_external_clock_ref
)
...
...
@@ -533,7 +533,7 @@ static int main_system_clock_(void)
BOZO_init_integer
(
i_clock_accuracy_integer
,
0
);
BOZO_init_integer
(
i_clock_accuracy_exponent
,
0
);
BOZO_begin_integer
(
i_clock_accuracy_integer
,
6
)
BOZO_DOJOB
(
SystemC
lock
);
BOZO_DOJOB
(
mpeg_system_c
lock
);
BOZO_check_integer
(
i_clock_accuracy_integer
,
6
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_clock_accuracy_integer
,
6
)
...
...
@@ -543,7 +543,7 @@ static int main_system_clock_(void)
BOZO_init_integer
(
i_clock_accuracy_integer
,
0
);
BOZO_init_integer
(
i_clock_accuracy_exponent
,
0
);
BOZO_begin_integer
(
i_clock_accuracy_exponent
,
3
)
BOZO_DOJOB
(
SystemC
lock
);
BOZO_DOJOB
(
mpeg_system_c
lock
);
BOZO_check_integer
(
i_clock_accuracy_exponent
,
3
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_clock_accuracy_exponent
,
3
)
...
...
@@ -555,9 +555,9 @@ static int main_system_clock_(void)
}
/* multiplex buffer utilization */
static
int
main_mx_buff_utilization_
(
void
)
static
int
main_m
peg_m
x_buff_utilization_
(
void
)
{
BOZO_VARS
(
mx_buff_utilization
);
BOZO_VARS
(
m
peg_m
x_buff_utilization
);
BOZO_START
(
multiplex
buffer
utilization
);
...
...
@@ -566,7 +566,7 @@ static int main_mx_buff_utilization_(void)
BOZO_init_integer
(
i_mx_delay_variation
,
0
);
BOZO_init_integer
(
i_mx_strategy
,
0
);
BOZO_begin_boolean
(
b_mdv_valid
)
BOZO_DOJOB
(
MxBuffU
tilization
);
BOZO_DOJOB
(
mpeg_mx_buff_u
tilization
);
BOZO_check_boolean
(
b_mdv_valid
)
BOZO_CLEAN
();
BOZO_end_boolean
(
b_mdv_valid
)
...
...
@@ -576,7 +576,7 @@ static int main_mx_buff_utilization_(void)
BOZO_init_integer
(
i_mx_delay_variation
,
0
);
BOZO_init_integer
(
i_mx_strategy
,
0
);
BOZO_begin_integer
(
i_mx_delay_variation
,
15
)
BOZO_DOJOB
(
MxBuffU
tilization
);
BOZO_DOJOB
(
mpeg_mx_buff_u
tilization
);
BOZO_check_integer
(
i_mx_delay_variation
,
15
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_mx_delay_variation
,
15
)
...
...
@@ -586,7 +586,7 @@ static int main_mx_buff_utilization_(void)
BOZO_init_integer
(
i_mx_delay_variation
,
0
);
BOZO_init_integer
(
i_mx_strategy
,
0
);
BOZO_begin_integer
(
i_mx_strategy
,
3
)
BOZO_DOJOB
(
MxBuffU
tilization
);
BOZO_DOJOB
(
mpeg_mx_buff_u
tilization
);
BOZO_check_integer
(
i_mx_strategy
,
3
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_mx_strategy
,
3
)
...
...
@@ -598,9 +598,9 @@ static int main_mx_buff_utilization_(void)
}
/* copyright */
static
int
main_copyright_
(
void
)
static
int
main_
mpeg_
copyright_
(
void
)
{
BOZO_VARS
(
copyright
);
BOZO_VARS
(
mpeg_
copyright
);
BOZO_START
(
copyright
);
...
...
@@ -609,7 +609,7 @@ static int main_copyright_(void)
BOZO_init_integer
(
i_copyright_identifier
,
0
);
BOZO_init_array
(
i_additional_length
);
BOZO_begin_integer
(
i_copyright_identifier
,
32
)
BOZO_DOJOB
(
C
opyright
);
BOZO_DOJOB
(
mpeg_c
opyright
);
BOZO_check_integer
(
i_copyright_identifier
,
32
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_copyright_identifier
,
32
)
...
...
@@ -620,7 +620,7 @@ static int main_copyright_(void)
BOZO_init_array
(
i_additional_length
);
BOZO_begin_array
(
i_additional_info
)
BOZO_loop_array_begin
(
i_additional_info
,
i_additional_length
,
0
)
BOZO_DOJOB
(
C
opyright
);
BOZO_DOJOB
(
mpeg_c
opyright
);
BOZO_check_array_begin
(
i_additional_info
,
i_additional_length
)
BOZO_check_array_gen
(
i_additional_info
,
i_additional_length
)
BOZO_CLEAN
();
...
...
@@ -634,16 +634,16 @@ static int main_copyright_(void)
}
/* maximum bitrate */
static
int
main_max_bitrate_
(
void
)
static
int
main_m
peg_m
ax_bitrate_
(
void
)
{
BOZO_VARS
(
max_bitrate
);
BOZO_VARS
(
m
peg_m
ax_bitrate
);
BOZO_START
(
maximum
bitrate
);
/* check i_max_bitrate */
BOZO_init_integer
(
i_max_bitrate
,
0
);
BOZO_begin_integer
(
i_max_bitrate
,
22
)
BOZO_DOJOB
(
MaxB
itrate
);
BOZO_DOJOB
(
mpeg_max_b
itrate
);
BOZO_check_integer
(
i_max_bitrate
,
22
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_max_bitrate
,
22
)
...
...
@@ -655,16 +655,16 @@ static int main_max_bitrate_(void)
}
/* private data indicator */
static
int
main_private_data_
(
void
)
static
int
main_
mpeg_
private_data_
(
void
)
{
BOZO_VARS
(
private_data
);
BOZO_VARS
(
mpeg_
private_data
);
BOZO_START
(
private
data
indicator
);
/* check i_private_data */
BOZO_init_integer
(
i_private_data
,
0
);
BOZO_begin_integer
(
i_private_data
,
32
)
BOZO_DOJOB
(
PrivateD
ata
);
BOZO_DOJOB
(
mpeg_private_d
ata
);
BOZO_check_integer
(
i_private_data
,
32
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_private_data
,
32
)
...
...
@@ -676,20 +676,20 @@ static int main_private_data_(void)
}
/* smoothing buffer */
static
int
main_smoothing_buffer_
(
void
)
static
int
main_
mpeg_
smoothing_buffer_
(
void
)
{
BOZO_VARS
(
smoothing_buffer
);
BOZO_VARS
(
mpeg_
smoothing_buffer
);
BOZO_START
(
smoothing
buffer
);
#define dvbpsi_
GenSmoothingBufferD
r(x,y) \
dvbpsi_
GenSmoothingBufferD
r(x)
#define dvbpsi_
gen_mpeg_smoothing_buffer_d
r(x,y) \
dvbpsi_
gen_mpeg_smoothing_buffer_d
r(x)
/* check i_sb_leak_rate */
BOZO_init_integer
(
i_sb_leak_rate
,
0
);
BOZO_init_integer
(
i_sb_size
,
0
);
BOZO_begin_integer
(
i_sb_leak_rate
,
22
)
BOZO_DOJOB
(
SmoothingB
uffer
);
BOZO_DOJOB
(
mpeg_smoothing_b
uffer
);
BOZO_check_integer
(
i_sb_leak_rate
,
22
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_sb_leak_rate
,
22
)
...
...
@@ -698,7 +698,7 @@ static int main_smoothing_buffer_(void)
BOZO_init_integer
(
i_sb_leak_rate
,
0
);
BOZO_init_integer
(
i_sb_size
,
0
);
BOZO_begin_integer
(
i_sb_size
,
22
)
BOZO_DOJOB
(
SmoothingB
uffer
);
BOZO_DOJOB
(
mpeg_smoothing_b
uffer
);
BOZO_check_integer
(
i_sb_size
,
22
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_sb_size
,
22
)
...
...
@@ -710,19 +710,19 @@ static int main_smoothing_buffer_(void)
}
/* STD */
static
int
main_std_
(
void
)
static
int
main_
mpeg_
std_
(
void
)
{
BOZO_VARS
(
std
);
BOZO_VARS
(
mpeg_
std
);
BOZO_START
(
STD
);
#define dvbpsi_
GenSTDD
r(x,y) \
dvbpsi_
GenSTDD
r(x)
#define dvbpsi_
gen_mpeg_std_d
r(x,y) \
dvbpsi_
gen_mpeg_std_d
r(x)
/* check b_leak_valid_flag */
BOZO_init_boolean
(
b_leak_valid_flag
,
0
);
BOZO_begin_boolean
(
b_leak_valid_flag
)
BOZO_DOJOB
(
STD
);
BOZO_DOJOB
(
mpeg_std
);
BOZO_check_boolean
(
b_leak_valid_flag
)
BOZO_CLEAN
();
BOZO_end_boolean
(
b_leak_valid_flag
)
...
...
@@ -734,21 +734,21 @@ static int main_std_(void)
}
/* IBP */
static
int
main_ibp_
(
void
)
static
int
main_
mpeg_
ibp_
(
void
)
{
BOZO_VARS
(
ibp
);
BOZO_VARS
(
mpeg_
ibp
);
BOZO_START
(
IBP
);
#define dvbpsi_
GenIBPD
r(x,y) \
dvbpsi_
GenIBPD
r(x)
#define dvbpsi_
gen_mpeg_ibp_d
r(x,y) \
dvbpsi_
gen_mpeg_ibp_d
r(x)
/* check b_closed_gop_flag */
BOZO_init_boolean
(
b_closed_gop_flag
,
0
);
BOZO_init_boolean
(
b_identical_gop_flag
,
0
);
BOZO_init_integer
(
i_max_gop_length
,
1
);
BOZO_begin_boolean
(
b_closed_gop_flag
)
BOZO_DOJOB
(
IBP
);
BOZO_DOJOB
(
mpeg_ibp
);
BOZO_check_boolean
(
b_closed_gop_flag
)
BOZO_CLEAN
();
BOZO_end_boolean
(
b_closed_gop_flag
)
...
...
@@ -758,7 +758,7 @@ static int main_ibp_(void)
BOZO_init_boolean
(
b_identical_gop_flag
,
0
);
BOZO_init_integer
(
i_max_gop_length
,
1
);
BOZO_begin_boolean
(
b_identical_gop_flag
)
BOZO_DOJOB
(
IBP
);
BOZO_DOJOB
(
mpeg_ibp
);
BOZO_check_boolean
(
b_identical_gop_flag
)
BOZO_CLEAN
();
BOZO_end_boolean
(
b_identical_gop_flag
)
...
...
@@ -768,7 +768,7 @@ static int main_ibp_(void)
BOZO_init_boolean
(
b_identical_gop_flag
,
0
);
BOZO_init_integer
(
i_max_gop_length
,
1
);
BOZO_begin_integer
(
i_max_gop_length
,
14
)
BOZO_DOJOB
(
IBP
);
BOZO_DOJOB
(
mpeg_ibp
);
BOZO_check_integer
(
i_max_gop_length
,
14
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_max_gop_length
,
14
)
...
...
@@ -780,19 +780,19 @@ static int main_ibp_(void)
}
/* MPEG-4 video */
static
int
main_mpeg4_video_
(
void
)
static
int
main_mpeg
_mpeg
4_video_
(
void
)
{
BOZO_VARS
(
mpeg4_video
);
BOZO_VARS
(
mpeg
_mpeg
4_video
);
BOZO_START
(
MPEG
-
4
video
);
#define dvbpsi_
GenMPEG4VideoD
r(x,y) \
dvbpsi_
GenMPEG4VideoD
r(x)
#define dvbpsi_
gen_mpeg_mpeg4_video_d
r(x,y) \
dvbpsi_
gen_mpeg_mpeg4_video_d
r(x)
/* check i_mpeg4_visual_profile_and_level */
BOZO_init_integer
(
i_mpeg4_visual_profile_and_level
,
0
);
BOZO_begin_integer
(
i_mpeg4_visual_profile_and_level
,
8
)
BOZO_DOJOB
(
MPEG4V
ideo
);
BOZO_DOJOB
(
mpeg_mpeg4_v
ideo
);
BOZO_check_integer
(
i_mpeg4_visual_profile_and_level
,
8
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_mpeg4_visual_profile_and_level
,
8
)
...
...
@@ -804,19 +804,19 @@ static int main_mpeg4_video_(void)
}
/* MPEG-4 audio */
static
int
main_mpeg4_audio_
(
void
)
static
int
main_mpeg
_mpeg
4_audio_
(
void
)
{
BOZO_VARS
(
mpeg4_audio
);
BOZO_VARS
(
mpeg
_mpeg
4_audio
);
BOZO_START
(
MPEG
-
4
audio
);
#define dvbpsi_
GenMPEG4AudioD
r(x,y) \
dvbpsi_
GenMPEG4AudioD
r(x)
#define dvbpsi_
gen_mpeg_mpeg4_audio_d
r(x,y) \
dvbpsi_
gen_mpeg_mpeg4_audio_d
r(x)
/* check i_mpeg4_audio_profile_and_level */
BOZO_init_integer
(
i_mpeg4_audio_profile_and_level
,
0
);
BOZO_begin_integer
(
i_mpeg4_audio_profile_and_level
,
8
)
BOZO_DOJOB
(
MPEG4A
udio
);
BOZO_DOJOB
(
mpeg_mpeg4_a
udio
);
BOZO_check_integer
(
i_mpeg4_audio_profile_and_level
,
8
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_mpeg4_audio_profile_and_level
,
8
)
...
...
@@ -828,17 +828,17 @@ static int main_mpeg4_audio_(void)
}
/* network name */
static
int
main_network_name_
(
void
)
static
int
main_
dvb_
network_name_
(
void
)
{
BOZO_VARS
(
network_name
);
BOZO_VARS
(
dvb_
network_name
);
BOZO_START
(
network
name
);
/* check i_name_byte */
BOZO_init_array
(
i_name_length
);
BOZO_begin_array
(
i_name_byte
)
BOZO_loop_array_begin
(
i_name_byte
,
i_name_length
,
0
)
BOZO_DOJOB
(
NetworkN
ame
);
BOZO_DOJOB
(
dvb_network_n
ame
);
BOZO_check_array_begin
(
i_name_byte
,
i_name_length
)
BOZO_check_array_gen
(
i_name_byte
,
i_name_length
)
BOZO_CLEAN
();
...
...
@@ -852,17 +852,17 @@ static int main_network_name_(void)
}
/* service list */
static
int
main_service_list_
(
void
)
static
int
main_
dvb_
service_list_
(
void
)
{
BOZO_VARS
(
service_list
);
BOZO_VARS
(
dvb_
service_list
);
BOZO_START
(
service
list
);
/* check i_service */
BOZO_init_array
(
i_service_count
);
BOZO_begin_array
(
i_service
)
BOZO_loop_array_begin
(
i_service
,
i_service_count
,
1
)
BOZO_DOJOB
(
ServiceL
ist
);
BOZO_DOJOB
(
dvb_service_l
ist
);
BOZO_check_array_begin
(
i_service
,
i_service_count
)
BOZO_check_array_cmp
(
i_service
,
i_service_count
,
dvbpsi_service_list_service_s
)
BOZO_CLEAN
();
...
...
@@ -876,17 +876,17 @@ static int main_service_list_(void)
}
/* stuffing */
static
int
main_stuffing_
(
void
)
static
int
main_
dvb_
stuffing_
(
void
)
{
BOZO_VARS
(
stuffing
);
BOZO_VARS
(
dvb_
stuffing
);
BOZO_START
(
stuffing
);
/* check i_stuffing_byte */
BOZO_init_array
(
i_stuffing_length
);
BOZO_begin_array
(
i_stuffing_byte
)
BOZO_loop_array_begin
(
i_stuffing_byte
,
i_stuffing_length
,
0
)
BOZO_DOJOB
(
S
tuffing
);
BOZO_DOJOB
(
dvb_s
tuffing
);
BOZO_check_array_begin
(
i_stuffing_byte
,
i_stuffing_length
)
BOZO_check_array_gen
(
i_stuffing_byte
,
i_stuffing_length
)
BOZO_CLEAN
();
...
...
@@ -900,12 +900,12 @@ static int main_stuffing_(void)
}
/* satellite delivery system */
static
int
main_sat_deliv_sys_
(
void
)
static
int
main_
dvb_
sat_deliv_sys_
(
void
)
{
BOZO_VARS
(
sat_deliv_sys
);
BOZO_VARS
(
dvb_
sat_deliv_sys
);
BOZO_START
(
satellite
delivery
system
);
/* check i_frequency */
BOZO_init_integer
(
i_frequency
,
0
);
BOZO_init_integer
(
i_orbital_position
,
0
);
...
...
@@ -917,7 +917,7 @@ static int main_sat_deliv_sys_(void)
BOZO_init_integer
(
i_symbol_rate
,
0
);
BOZO_init_integer
(
i_fec_inner
,
0
);
BOZO_begin_integer
(
i_frequency
,
32
)
BOZO_DOJOB
(
SatDelivS
ys
);
BOZO_DOJOB
(
dvb_sat_deliv_s
ys
);
BOZO_check_integer
(
i_frequency
,
32
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_frequency
,
32
)
...
...
@@ -933,7 +933,7 @@ static int main_sat_deliv_sys_(void)
BOZO_init_integer
(
i_symbol_rate
,
0
);
BOZO_init_integer
(
i_fec_inner
,
0
);
BOZO_begin_integer
(
i_orbital_position
,
16
)
BOZO_DOJOB
(
SatDelivS
ys
);
BOZO_DOJOB
(
dvb_sat_deliv_s
ys
);
BOZO_check_integer
(
i_orbital_position
,
16
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_orbital_position
,
16
)
...
...
@@ -949,7 +949,7 @@ static int main_sat_deliv_sys_(void)
BOZO_init_integer
(
i_symbol_rate
,
0
);
BOZO_init_integer
(
i_fec_inner
,
0
);
BOZO_begin_integer
(
i_west_east_flag
,
1
)
BOZO_DOJOB
(
SatDelivS
ys
);
BOZO_DOJOB
(
dvb_sat_deliv_s
ys
);
BOZO_check_integer
(
i_west_east_flag
,
1
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_west_east_flag
,
1
)
...
...
@@ -965,7 +965,7 @@ static int main_sat_deliv_sys_(void)
BOZO_init_integer
(
i_symbol_rate
,
0
);
BOZO_init_integer
(
i_fec_inner
,
0
);
BOZO_begin_integer
(
i_polarization
,
2
)
BOZO_DOJOB
(
SatDelivS
ys
);
BOZO_DOJOB
(
dvb_sat_deliv_s
ys
);
BOZO_check_integer
(
i_polarization
,
2
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_polarization
,
2
)
...
...
@@ -981,7 +981,7 @@ static int main_sat_deliv_sys_(void)
BOZO_init_integer
(
i_symbol_rate
,
0
);
BOZO_init_integer
(
i_fec_inner
,
0
);
BOZO_begin_integer
(
i_roll_off
,
2
)
BOZO_DOJOB
(
SatDelivS
ys
);
BOZO_DOJOB
(
dvb_sat_deliv_s
ys
);
BOZO_check_integer
(
i_roll_off
,
2
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_roll_off
,
2
)
...
...
@@ -997,7 +997,7 @@ static int main_sat_deliv_sys_(void)
BOZO_init_integer
(
i_symbol_rate
,
0
);
BOZO_init_integer
(
i_fec_inner
,
0
);
BOZO_begin_integer
(
i_modulation_system
,
1
)
BOZO_DOJOB
(
SatDelivS
ys
);
BOZO_DOJOB
(
dvb_sat_deliv_s
ys
);
BOZO_check_integer
(
i_modulation_system
,
1
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_modulation_system
,
1
)
...
...
@@ -1013,7 +1013,7 @@ static int main_sat_deliv_sys_(void)
BOZO_init_integer
(
i_symbol_rate
,
0
);
BOZO_init_integer
(
i_fec_inner
,
0
);
BOZO_begin_integer
(
i_modulation_type
,
2
)
BOZO_DOJOB
(
SatDelivS
ys
);
BOZO_DOJOB
(
dvb_sat_deliv_s
ys
);
BOZO_check_integer
(
i_modulation_type
,
2
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_modulation_type
,
2
)
...
...
@@ -1029,7 +1029,7 @@ static int main_sat_deliv_sys_(void)
BOZO_init_integer
(
i_symbol_rate
,
0
);
BOZO_init_integer
(
i_fec_inner
,
0
);
BOZO_begin_integer
(
i_symbol_rate
,
28
)
BOZO_DOJOB
(
SatDelivS
ys
);
BOZO_DOJOB
(
dvb_sat_deliv_s
ys
);
BOZO_check_integer
(
i_symbol_rate
,
28
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_symbol_rate
,
28
)
...
...
@@ -1045,7 +1045,7 @@ static int main_sat_deliv_sys_(void)
BOZO_init_integer
(
i_symbol_rate
,
0
);
BOZO_init_integer
(
i_fec_inner
,
0
);
BOZO_begin_integer
(
i_fec_inner
,
4
)
BOZO_DOJOB
(
SatDelivS
ys
);
BOZO_DOJOB
(
dvb_sat_deliv_s
ys
);
BOZO_check_integer
(
i_fec_inner
,
4
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_fec_inner
,
4
)
...
...
@@ -1057,12 +1057,12 @@ static int main_sat_deliv_sys_(void)
}
/* cable delivery system */
static
int
main_cable_deliv_sys_
(
void
)
static
int
main_
dvb_
cable_deliv_sys_
(
void
)
{
BOZO_VARS
(
cable_deliv_sys
);
BOZO_VARS
(
dvb_
cable_deliv_sys
);
BOZO_START
(
cable
delivery
system
);
/* check i_frequency */
BOZO_init_integer
(
i_frequency
,
0
);
BOZO_init_integer
(
i_modulation
,
0
);
...
...
@@ -1070,7 +1070,7 @@ static int main_cable_deliv_sys_(void)
BOZO_init_integer
(
i_fec_inner
,
0
);
BOZO_init_integer
(
i_fec_outer
,
0
);
BOZO_begin_integer
(
i_frequency
,
32
)
BOZO_DOJOB
(
CableDelivS
ys
);
BOZO_DOJOB
(
dvb_cable_deliv_s
ys
);
BOZO_check_integer
(
i_frequency
,
32
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_frequency
,
32
)
...
...
@@ -1082,7 +1082,7 @@ static int main_cable_deliv_sys_(void)
BOZO_init_integer
(
i_fec_inner
,
0
);
BOZO_init_integer
(
i_fec_outer
,
0
);
BOZO_begin_integer
(
i_modulation
,
8
)
BOZO_DOJOB
(
CableDelivS
ys
);
BOZO_DOJOB
(
dvb_cable_deliv_s
ys
);
BOZO_check_integer
(
i_modulation
,
8
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_modulation
,
8
)
...
...
@@ -1094,7 +1094,7 @@ static int main_cable_deliv_sys_(void)
BOZO_init_integer
(
i_fec_inner
,
0
);
BOZO_init_integer
(
i_fec_outer
,
0
);
BOZO_begin_integer
(
i_symbol_rate
,
28
)
BOZO_DOJOB
(
CableDelivS
ys
);
BOZO_DOJOB
(
dvb_cable_deliv_s
ys
);
BOZO_check_integer
(
i_symbol_rate
,
28
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_symbol_rate
,
28
)
...
...
@@ -1106,7 +1106,7 @@ static int main_cable_deliv_sys_(void)
BOZO_init_integer
(
i_fec_inner
,
0
);
BOZO_init_integer
(
i_fec_outer
,
0
);
BOZO_begin_integer
(
i_fec_inner
,
4
)
BOZO_DOJOB
(
CableDelivS
ys
);
BOZO_DOJOB
(
dvb_cable_deliv_s
ys
);
BOZO_check_integer
(
i_fec_inner
,
4
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_fec_inner
,
4
)
...
...
@@ -1118,7 +1118,7 @@ static int main_cable_deliv_sys_(void)
BOZO_init_integer
(
i_fec_inner
,
0
);
BOZO_init_integer
(
i_fec_outer
,
0
);
BOZO_begin_integer
(
i_fec_outer
,
4
)
BOZO_DOJOB
(
CableDelivS
ys
);
BOZO_DOJOB
(
dvb_cable_deliv_s
ys
);
BOZO_check_integer
(
i_fec_outer
,
4
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_fec_outer
,
4
)
...
...
@@ -1130,17 +1130,17 @@ static int main_cable_deliv_sys_(void)
}
/* bouquet name */
static
int
main_bouquet_name_
(
void
)
static
int
main_
dvb_
bouquet_name_
(
void
)
{
BOZO_VARS
(
bouquet_name
);
BOZO_VARS
(
dvb_
bouquet_name
);
BOZO_START
(
bouquet
name
);
/* check i_char */
BOZO_init_array
(
i_name_length
);
BOZO_begin_array
(
i_char
)
BOZO_loop_array_begin
(
i_char
,
i_name_length
,
0
)
BOZO_DOJOB
(
BouquetN
ame
);
BOZO_DOJOB
(
dvb_bouquet_n
ame
);
BOZO_check_array_begin
(
i_char
,
i_name_length
)
BOZO_check_array_gen
(
i_char
,
i_name_length
)
BOZO_CLEAN
();
...
...
@@ -1154,9 +1154,9 @@ static int main_bouquet_name_(void)
}
/* service (i_service_provider_name) */
static
int
main_service_1
(
void
)
static
int
main_
dvb_
service_1
(
void
)
{
BOZO_VARS
(
service
);
BOZO_VARS
(
dvb_
service
);
BOZO_START
(
service
(
i_service_provider_name
));
...
...
@@ -1165,7 +1165,7 @@ static int main_service_1(void)
BOZO_init_integer
(
i_service_type
,
0
);
BOZO_init_array
(
i_service_provider_name_length
);
BOZO_begin_integer
(
i_service_type
,
8
)
BOZO_DOJOB
(
S
ervice
);
BOZO_DOJOB
(
dvb_s
ervice
);
BOZO_check_integer
(
i_service_type
,
8
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_service_type
,
8
)
...
...
@@ -1176,7 +1176,7 @@ static int main_service_1(void)
BOZO_init_array
(
i_service_provider_name_length
);
BOZO_begin_array
(
i_service_provider_name
)
BOZO_loop_array_begin
(
i_service_provider_name
,
i_service_provider_name_length
,
0
)
BOZO_DOJOB
(
S
ervice
);
BOZO_DOJOB
(
dvb_s
ervice
);
BOZO_check_array_begin
(
i_service_provider_name
,
i_service_provider_name_length
)
BOZO_check_array_gen
(
i_service_provider_name
,
i_service_provider_name_length
)
BOZO_CLEAN
();
...
...
@@ -1190,18 +1190,18 @@ static int main_service_1(void)
}
/* service (i_service_name) */
static
int
main_service_2
(
void
)
static
int
main_
dvb_
service_2
(
void
)
{
BOZO_VARS
(
service
);
BOZO_VARS
(
dvb_
service
);
BOZO_START
(
service
(
i_service_name
));
/* check i_service_type */
s_decoded
.
i_service_provider_name_length
=
0
;
BOZO_init_integer
(
i_service_type
,
0
);
BOZO_init_array
(
i_service_name_length
);
BOZO_begin_integer
(
i_service_type
,
8
)
BOZO_DOJOB
(
S
ervice
);
BOZO_DOJOB
(
dvb_s
ervice
);
BOZO_check_integer
(
i_service_type
,
8
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_service_type
,
8
)
...
...
@@ -1212,7 +1212,7 @@ static int main_service_2(void)
BOZO_init_array
(
i_service_name_length
);
BOZO_begin_array
(
i_service_name
)
BOZO_loop_array_begin
(
i_service_name
,
i_service_name_length
,
0
)
BOZO_DOJOB
(
S
ervice
);
BOZO_DOJOB
(
dvb_s
ervice
);
BOZO_check_array_begin
(
i_service_name
,
i_service_name_length
)
BOZO_check_array_gen
(
i_service_name
,
i_service_name_length
)
BOZO_CLEAN
();
...
...
@@ -1226,19 +1226,19 @@ static int main_service_2(void)
}
/* service (both names) */
static
int
main_service_3
(
void
)
static
int
main_
dvb_
service_3
(
void
)
{
BOZO_VARS
(
service
);
BOZO_VARS
(
dvb_
service
);
BOZO_START
(
service
(
both
names
));
/* check i_service_type */
s_decoded
.
i_service_provider_name_length
=
0
;
BOZO_init_integer
(
i_service_type
,
0
);
BOZO_init_array
(
i_service_name_length
);
BOZO_init_array
(
i_service_provider_name_length
);
BOZO_begin_integer
(
i_service_type
,
8
)
BOZO_DOJOB
(
S
ervice
);
BOZO_DOJOB
(
dvb_s
ervice
);
BOZO_check_integer
(
i_service_type
,
8
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_service_type
,
8
)
...
...
@@ -1250,7 +1250,7 @@ static int main_service_3(void)
BOZO_init_array
(
i_service_provider_name_length
);
BOZO_begin_array
(
i_service_name
)
BOZO_loop_array_begin
(
i_service_name
,
i_service_name_length
,
0
)
BOZO_DOJOB
(
S
ervice
);
BOZO_DOJOB
(
dvb_s
ervice
);
BOZO_check_array_begin
(
i_service_name
,
i_service_name_length
)
BOZO_check_array_gen
(
i_service_name
,
i_service_name_length
)
BOZO_CLEAN
();
...
...
@@ -1264,7 +1264,7 @@ static int main_service_3(void)
BOZO_init_array
(
i_service_provider_name_length
);
BOZO_begin_array
(
i_service_provider_name
)
BOZO_loop_array_begin
(
i_service_provider_name
,
i_service_provider_name_length
,
0
)
BOZO_DOJOB
(
S
ervice
);
BOZO_DOJOB
(
dvb_s
ervice
);
BOZO_check_array_begin
(
i_service_provider_name
,
i_service_provider_name_length
)
BOZO_check_array_gen
(
i_service_provider_name
,
i_service_provider_name_length
)
BOZO_CLEAN
();
...
...
@@ -1278,61 +1278,61 @@ static int main_service_3(void)
}
/* linkage (information service) */
static
int
main_linkage_0
(
void
)
static
int
main_
dvb_
linkage_0
(
void
)
{
BOZO_VARS
(
linkage
);
BOZO_VARS
(
dvb_
linkage
);
BOZO_START
(
linkage
(
information
service
));
/* check i_transport_stream_id */
s_decoded
.
i_linkage_type
=
1
;
BOZO_init_integer
(
i_transport_stream_id
,
0
);
BOZO_init_integer
(
i_original_network_id
,
0
);
BOZO_init_integer
(
i_service_id
,
0
);
BOZO_init_array
(
i_private_data_length
);
BOZO_begin_integer
(
i_transport_stream_id
,
16
)
BOZO_DOJOB
(
L
inkage
);
BOZO_DOJOB
(
dvb_l
inkage
);
BOZO_check_integer
(
i_transport_stream_id
,
16
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_transport_stream_id
,
16
)
/* check i_original_network_id */
s_decoded
.
i_linkage_type
=
1
;
BOZO_init_integer
(
i_transport_stream_id
,
0
);
BOZO_init_integer
(
i_original_network_id
,
0
);
BOZO_init_integer
(
i_service_id
,
0
);
BOZO_init_array
(
i_private_data_length
);
BOZO_begin_integer
(
i_original_network_id
,
16
)
BOZO_DOJOB
(
L
inkage
);
BOZO_DOJOB
(
dvb_l
inkage
);
BOZO_check_integer
(
i_original_network_id
,
16
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_original_network_id
,
16
)
/* check i_service_id */
s_decoded
.
i_linkage_type
=
1
;
BOZO_init_integer
(
i_transport_stream_id
,
0
);
BOZO_init_integer
(
i_original_network_id
,
0
);
BOZO_init_integer
(
i_service_id
,
0
);
BOZO_init_array
(
i_private_data_length
);
BOZO_begin_integer
(
i_service_id
,
16
)
BOZO_DOJOB
(
L
inkage
);
BOZO_DOJOB
(
dvb_l
inkage
);
BOZO_check_integer
(
i_service_id
,
16
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_service_id
,
16
)
/* check i_private_data */
s_decoded
.
i_linkage_type
=
1
;
BOZO_init_integer
(
i_transport_stream_id
,
0
);
BOZO_init_integer
(
i_original_network_id
,
0
);
BOZO_init_integer
(
i_service_id
,
0
);
BOZO_init_array
(
i_private_data_length
);
BOZO_begin_array
(
i_private_data
)
BOZO_loop_array_begin
(
i_private_data
,
i_private_data_length
,
0
)
BOZO_DOJOB
(
L
inkage
);
BOZO_DOJOB
(
dvb_l
inkage
);
BOZO_check_array_begin
(
i_private_data
,
i_private_data_length
)
BOZO_check_array_gen
(
i_private_data
,
i_private_data_length
)
BOZO_CLEAN
();
...
...
@@ -1346,23 +1346,23 @@ static int main_linkage_0(void)
}
/* linkage (mobile handover, no extra data) */
static
int
main_linkage_1
(
void
)
static
int
main_
dvb_
linkage_1
(
void
)
{
BOZO_VARS
(
linkage
);
BOZO_VARS
(
dvb_
linkage
);
BOZO_START
(
linkage
(
mobile
handover
,
no
extra
data
));
/* check i_transport_stream_id */
s_decoded
.
i_linkage_type
=
8
;
s_decoded
.
i_handover_type
=
0
;
s_decoded
.
i_origin_type
=
1
;
BOZO_init_integer
(
i_transport_stream_id
,
0
);
BOZO_init_integer
(
i_original_network_id
,
0
);
BOZO_init_integer
(
i_service_id
,
0
);
BOZO_init_array
(
i_private_data_length
);
BOZO_begin_integer
(
i_transport_stream_id
,
16
)
BOZO_DOJOB
(
L
inkage
);
BOZO_DOJOB
(
dvb_l
inkage
);
BOZO_check_integer
(
i_transport_stream_id
,
16
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_transport_stream_id
,
16
)
...
...
@@ -1371,13 +1371,13 @@ static int main_linkage_1(void)
s_decoded
.
i_linkage_type
=
8
;
s_decoded
.
i_handover_type
=
0
;
s_decoded
.
i_origin_type
=
1
;
BOZO_init_integer
(
i_transport_stream_id
,
0
);
BOZO_init_integer
(
i_original_network_id
,
0
);
BOZO_init_integer
(
i_service_id
,
0
);
BOZO_init_array
(
i_private_data_length
);
BOZO_begin_integer
(
i_original_network_id
,
16
)
BOZO_DOJOB
(
L
inkage
);
BOZO_DOJOB
(
dvb_l
inkage
);
BOZO_check_integer
(
i_original_network_id
,
16
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_original_network_id
,
16
)
...
...
@@ -1386,13 +1386,13 @@ static int main_linkage_1(void)
s_decoded
.
i_linkage_type
=
8
;
s_decoded
.
i_handover_type
=
0
;
s_decoded
.
i_origin_type
=
1
;
BOZO_init_integer
(
i_transport_stream_id
,
0
);
BOZO_init_integer
(
i_original_network_id
,
0
);
BOZO_init_integer
(
i_service_id
,
0
);
BOZO_init_array
(
i_private_data_length
);
BOZO_begin_integer
(
i_service_id
,
16
)
BOZO_DOJOB
(
L
inkage
);
BOZO_DOJOB
(
dvb_l
inkage
);
BOZO_check_integer
(
i_service_id
,
16
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_service_id
,
16
)
...
...
@@ -1401,14 +1401,14 @@ static int main_linkage_1(void)
s_decoded
.
i_linkage_type
=
8
;
s_decoded
.
i_handover_type
=
0
;
s_decoded
.
i_origin_type
=
1
;
BOZO_init_integer
(
i_transport_stream_id
,
0
);
BOZO_init_integer
(
i_original_network_id
,
0
);
BOZO_init_integer
(
i_service_id
,
0
);
BOZO_init_array
(
i_private_data_length
);
BOZO_begin_array
(
i_private_data
)
BOZO_loop_array_begin
(
i_private_data
,
i_private_data_length
,
0
)
BOZO_DOJOB
(
L
inkage
);
BOZO_DOJOB
(
dvb_l
inkage
);
BOZO_check_array_begin
(
i_private_data
,
i_private_data_length
)
BOZO_check_array_gen
(
i_private_data
,
i_private_data_length
)
BOZO_CLEAN
();
...
...
@@ -1422,24 +1422,24 @@ static int main_linkage_1(void)
}
/* linkage (mobile handover, extra network_id) */
static
int
main_linkage_2
(
void
)
static
int
main_
dvb_
linkage_2
(
void
)
{
BOZO_VARS
(
linkage
);
BOZO_VARS
(
dvb_
linkage
);
BOZO_START
(
linkage
(
mobile
handover
,
extra
network_id
));
/* check i_transport_stream_id */
s_decoded
.
i_linkage_type
=
8
;
s_decoded
.
i_handover_type
=
1
;
s_decoded
.
i_origin_type
=
1
;
BOZO_init_integer
(
i_transport_stream_id
,
0
);
BOZO_init_integer
(
i_original_network_id
,
0
);
BOZO_init_integer
(
i_service_id
,
0
);
BOZO_init_integer
(
i_network_id
,
0
);
BOZO_init_array
(
i_private_data_length
);
BOZO_begin_integer
(
i_transport_stream_id
,
16
)
BOZO_DOJOB
(
L
inkage
);
BOZO_DOJOB
(
dvb_l
inkage
);
BOZO_check_integer
(
i_transport_stream_id
,
16
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_transport_stream_id
,
16
)
...
...
@@ -1448,14 +1448,14 @@ static int main_linkage_2(void)
s_decoded
.
i_linkage_type
=
8
;
s_decoded
.
i_handover_type
=
1
;
s_decoded
.
i_origin_type
=
1
;
BOZO_init_integer
(
i_transport_stream_id
,
0
);
BOZO_init_integer
(
i_original_network_id
,
0
);
BOZO_init_integer
(
i_service_id
,
0
);
BOZO_init_integer
(
i_network_id
,
0
);
BOZO_init_array
(
i_private_data_length
);
BOZO_begin_integer
(
i_original_network_id
,
16
)
BOZO_DOJOB
(
L
inkage
);
BOZO_DOJOB
(
dvb_l
inkage
);
BOZO_check_integer
(
i_original_network_id
,
16
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_original_network_id
,
16
)
...
...
@@ -1464,14 +1464,14 @@ static int main_linkage_2(void)
s_decoded
.
i_linkage_type
=
8
;
s_decoded
.
i_handover_type
=
1
;
s_decoded
.
i_origin_type
=
1
;
BOZO_init_integer
(
i_transport_stream_id
,
0
);
BOZO_init_integer
(
i_original_network_id
,
0
);
BOZO_init_integer
(
i_service_id
,
0
);
BOZO_init_integer
(
i_network_id
,
0
);
BOZO_init_array
(
i_private_data_length
);
BOZO_begin_integer
(
i_service_id
,
16
)
BOZO_DOJOB
(
L
inkage
);
BOZO_DOJOB
(
dvb_l
inkage
);
BOZO_check_integer
(
i_service_id
,
16
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_service_id
,
16
)
...
...
@@ -1480,14 +1480,14 @@ static int main_linkage_2(void)
s_decoded
.
i_linkage_type
=
8
;
s_decoded
.
i_handover_type
=
1
;
s_decoded
.
i_origin_type
=
1
;
BOZO_init_integer
(
i_transport_stream_id
,
0
);
BOZO_init_integer
(
i_original_network_id
,
0
);
BOZO_init_integer
(
i_service_id
,
0
);
BOZO_init_integer
(
i_network_id
,
0
);
BOZO_init_array
(
i_private_data_length
);
BOZO_begin_integer
(
i_network_id
,
16
)
BOZO_DOJOB
(
L
inkage
);
BOZO_DOJOB
(
dvb_l
inkage
);
BOZO_check_integer
(
i_network_id
,
16
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_network_id
,
16
)
...
...
@@ -1496,7 +1496,7 @@ static int main_linkage_2(void)
s_decoded
.
i_linkage_type
=
8
;
s_decoded
.
i_handover_type
=
1
;
s_decoded
.
i_origin_type
=
1
;
BOZO_init_integer
(
i_transport_stream_id
,
0
);
BOZO_init_integer
(
i_original_network_id
,
0
);
BOZO_init_integer
(
i_service_id
,
0
);
...
...
@@ -1504,7 +1504,7 @@ static int main_linkage_2(void)
BOZO_init_array
(
i_private_data_length
);
BOZO_begin_array
(
i_private_data
)
BOZO_loop_array_begin
(
i_private_data
,
i_private_data_length
,
0
)
BOZO_DOJOB
(
L
inkage
);
BOZO_DOJOB
(
dvb_l
inkage
);
BOZO_check_array_begin
(
i_private_data
,
i_private_data_length
)
BOZO_check_array_gen
(
i_private_data
,
i_private_data_length
)
BOZO_CLEAN
();
...
...
@@ -1518,24 +1518,24 @@ static int main_linkage_2(void)
}
/* linkage (mobile handover, extra initial_service_id) */
static
int
main_linkage_3
(
void
)
static
int
main_
dvb_
linkage_3
(
void
)
{
BOZO_VARS
(
linkage
);
BOZO_VARS
(
dvb_
linkage
);
BOZO_START
(
linkage
(
mobile
handover
,
extra
initial_service_id
));
/* check i_transport_stream_id */
s_decoded
.
i_linkage_type
=
8
;
s_decoded
.
i_handover_type
=
0
;
s_decoded
.
i_origin_type
=
0
;
BOZO_init_integer
(
i_transport_stream_id
,
0
);
BOZO_init_integer
(
i_original_network_id
,
0
);
BOZO_init_integer
(
i_service_id
,
0
);
BOZO_init_integer
(
i_initial_service_id
,
0
);
BOZO_init_array
(
i_private_data_length
);
BOZO_begin_integer
(
i_transport_stream_id
,
16
)
BOZO_DOJOB
(
L
inkage
);
BOZO_DOJOB
(
dvb_l
inkage
);
BOZO_check_integer
(
i_transport_stream_id
,
16
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_transport_stream_id
,
16
)
...
...
@@ -1544,14 +1544,14 @@ static int main_linkage_3(void)
s_decoded
.
i_linkage_type
=
8
;
s_decoded
.
i_handover_type
=
0
;
s_decoded
.
i_origin_type
=
0
;
BOZO_init_integer
(
i_transport_stream_id
,
0
);
BOZO_init_integer
(
i_original_network_id
,
0
);
BOZO_init_integer
(
i_service_id
,
0
);
BOZO_init_integer
(
i_initial_service_id
,
0
);
BOZO_init_array
(
i_private_data_length
);
BOZO_begin_integer
(
i_original_network_id
,
16
)
BOZO_DOJOB
(
L
inkage
);
BOZO_DOJOB
(
dvb_l
inkage
);
BOZO_check_integer
(
i_original_network_id
,
16
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_original_network_id
,
16
)
...
...
@@ -1560,14 +1560,14 @@ static int main_linkage_3(void)
s_decoded
.
i_linkage_type
=
8
;
s_decoded
.
i_handover_type
=
0
;
s_decoded
.
i_origin_type
=
0
;
BOZO_init_integer
(
i_transport_stream_id
,
0
);
BOZO_init_integer
(
i_original_network_id
,
0
);
BOZO_init_integer
(
i_service_id
,
0
);
BOZO_init_integer
(
i_initial_service_id
,
0
);
BOZO_init_array
(
i_private_data_length
);
BOZO_begin_integer
(
i_service_id
,
16
)
BOZO_DOJOB
(
L
inkage
);
BOZO_DOJOB
(
dvb_l
inkage
);
BOZO_check_integer
(
i_service_id
,
16
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_service_id
,
16
)
...
...
@@ -1576,14 +1576,14 @@ static int main_linkage_3(void)
s_decoded
.
i_linkage_type
=
8
;
s_decoded
.
i_handover_type
=
0
;
s_decoded
.
i_origin_type
=
0
;
BOZO_init_integer
(
i_transport_stream_id
,
0
);
BOZO_init_integer
(
i_original_network_id
,
0
);
BOZO_init_integer
(
i_service_id
,
0
);
BOZO_init_integer
(
i_initial_service_id
,
0
);
BOZO_init_array
(
i_private_data_length
);
BOZO_begin_integer
(
i_initial_service_id
,
16
)
BOZO_DOJOB
(
L
inkage
);
BOZO_DOJOB
(
dvb_l
inkage
);
BOZO_check_integer
(
i_initial_service_id
,
16
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_initial_service_id
,
16
)
...
...
@@ -1592,7 +1592,7 @@ static int main_linkage_3(void)
s_decoded
.
i_linkage_type
=
8
;
s_decoded
.
i_handover_type
=
0
;
s_decoded
.
i_origin_type
=
0
;
BOZO_init_integer
(
i_transport_stream_id
,
0
);
BOZO_init_integer
(
i_original_network_id
,
0
);
BOZO_init_integer
(
i_service_id
,
0
);
...
...
@@ -1600,7 +1600,7 @@ static int main_linkage_3(void)
BOZO_init_array
(
i_private_data_length
);
BOZO_begin_array
(
i_private_data
)
BOZO_loop_array_begin
(
i_private_data
,
i_private_data_length
,
0
)
BOZO_DOJOB
(
L
inkage
);
BOZO_DOJOB
(
dvb_l
inkage
);
BOZO_check_array_begin
(
i_private_data
,
i_private_data_length
)
BOZO_check_array_gen
(
i_private_data
,
i_private_data_length
)
BOZO_CLEAN
();
...
...
@@ -1614,17 +1614,17 @@ static int main_linkage_3(void)
}
/* linkage (mobile handover, extra network_id and initial_service_id) */
static
int
main_linkage_4
(
void
)
static
int
main_
dvb_
linkage_4
(
void
)
{
BOZO_VARS
(
linkage
);
BOZO_VARS
(
dvb_
linkage
);
BOZO_START
(
linkage
(
mobile
handover
,
extra
network_id
and
initial_service_id
));
/* check i_transport_stream_id */
s_decoded
.
i_linkage_type
=
8
;
s_decoded
.
i_handover_type
=
1
;
s_decoded
.
i_origin_type
=
0
;
BOZO_init_integer
(
i_transport_stream_id
,
0
);
BOZO_init_integer
(
i_original_network_id
,
0
);
BOZO_init_integer
(
i_service_id
,
0
);
...
...
@@ -1632,7 +1632,7 @@ static int main_linkage_4(void)
BOZO_init_integer
(
i_initial_service_id
,
0
);
BOZO_init_array
(
i_private_data_length
);
BOZO_begin_integer
(
i_transport_stream_id
,
16
)
BOZO_DOJOB
(
L
inkage
);
BOZO_DOJOB
(
dvb_l
inkage
);
BOZO_check_integer
(
i_transport_stream_id
,
16
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_transport_stream_id
,
16
)
...
...
@@ -1641,7 +1641,7 @@ static int main_linkage_4(void)
s_decoded
.
i_linkage_type
=
8
;
s_decoded
.
i_handover_type
=
1
;
s_decoded
.
i_origin_type
=
0
;
BOZO_init_integer
(
i_transport_stream_id
,
0
);
BOZO_init_integer
(
i_original_network_id
,
0
);
BOZO_init_integer
(
i_service_id
,
0
);
...
...
@@ -1649,7 +1649,7 @@ static int main_linkage_4(void)
BOZO_init_integer
(
i_initial_service_id
,
0
);
BOZO_init_array
(
i_private_data_length
);
BOZO_begin_integer
(
i_original_network_id
,
16
)
BOZO_DOJOB
(
L
inkage
);
BOZO_DOJOB
(
dvb_l
inkage
);
BOZO_check_integer
(
i_original_network_id
,
16
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_original_network_id
,
16
)
...
...
@@ -1658,7 +1658,7 @@ static int main_linkage_4(void)
s_decoded
.
i_linkage_type
=
8
;
s_decoded
.
i_handover_type
=
1
;
s_decoded
.
i_origin_type
=
0
;
BOZO_init_integer
(
i_transport_stream_id
,
0
);
BOZO_init_integer
(
i_original_network_id
,
0
);
BOZO_init_integer
(
i_service_id
,
0
);
...
...
@@ -1666,7 +1666,7 @@ static int main_linkage_4(void)
BOZO_init_integer
(
i_initial_service_id
,
0
);
BOZO_init_array
(
i_private_data_length
);
BOZO_begin_integer
(
i_service_id
,
16
)
BOZO_DOJOB
(
L
inkage
);
BOZO_DOJOB
(
dvb_l
inkage
);
BOZO_check_integer
(
i_service_id
,
16
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_service_id
,
16
)
...
...
@@ -1675,7 +1675,7 @@ static int main_linkage_4(void)
s_decoded
.
i_linkage_type
=
8
;
s_decoded
.
i_handover_type
=
1
;
s_decoded
.
i_origin_type
=
0
;
BOZO_init_integer
(
i_transport_stream_id
,
0
);
BOZO_init_integer
(
i_original_network_id
,
0
);
BOZO_init_integer
(
i_service_id
,
0
);
...
...
@@ -1683,7 +1683,7 @@ static int main_linkage_4(void)
BOZO_init_integer
(
i_initial_service_id
,
0
);
BOZO_init_array
(
i_private_data_length
);
BOZO_begin_integer
(
i_network_id
,
16
)
BOZO_DOJOB
(
L
inkage
);
BOZO_DOJOB
(
dvb_l
inkage
);
BOZO_check_integer
(
i_network_id
,
16
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_network_id
,
16
)
...
...
@@ -1692,7 +1692,7 @@ static int main_linkage_4(void)
s_decoded
.
i_linkage_type
=
8
;
s_decoded
.
i_handover_type
=
1
;
s_decoded
.
i_origin_type
=
0
;
BOZO_init_integer
(
i_transport_stream_id
,
0
);
BOZO_init_integer
(
i_original_network_id
,
0
);
BOZO_init_integer
(
i_service_id
,
0
);
...
...
@@ -1700,7 +1700,7 @@ static int main_linkage_4(void)
BOZO_init_integer
(
i_initial_service_id
,
0
);
BOZO_init_array
(
i_private_data_length
);
BOZO_begin_integer
(
i_initial_service_id
,
16
)
BOZO_DOJOB
(
L
inkage
);
BOZO_DOJOB
(
dvb_l
inkage
);
BOZO_check_integer
(
i_initial_service_id
,
16
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_initial_service_id
,
16
)
...
...
@@ -1709,7 +1709,7 @@ static int main_linkage_4(void)
s_decoded
.
i_linkage_type
=
8
;
s_decoded
.
i_handover_type
=
1
;
s_decoded
.
i_origin_type
=
0
;
BOZO_init_integer
(
i_transport_stream_id
,
0
);
BOZO_init_integer
(
i_original_network_id
,
0
);
BOZO_init_integer
(
i_service_id
,
0
);
...
...
@@ -1718,7 +1718,7 @@ static int main_linkage_4(void)
BOZO_init_array
(
i_private_data_length
);
BOZO_begin_array
(
i_private_data
)
BOZO_loop_array_begin
(
i_private_data
,
i_private_data_length
,
0
)
BOZO_DOJOB
(
L
inkage
);
BOZO_DOJOB
(
dvb_l
inkage
);
BOZO_check_array_begin
(
i_private_data
,
i_private_data_length
)
BOZO_check_array_gen
(
i_private_data
,
i_private_data_length
)
BOZO_CLEAN
();
...
...
@@ -1732,15 +1732,15 @@ static int main_linkage_4(void)
}
/* linkage (event linkage) */
static
int
main_linkage_5
(
void
)
static
int
main_
dvb_
linkage_5
(
void
)
{
BOZO_VARS
(
linkage
);
BOZO_VARS
(
dvb_
linkage
);
BOZO_START
(
linkage
(
event
linkage
));
/* check i_transport_stream_id */
s_decoded
.
i_linkage_type
=
13
;
BOZO_init_integer
(
i_transport_stream_id
,
0
);
BOZO_init_integer
(
i_original_network_id
,
0
);
BOZO_init_integer
(
i_service_id
,
0
);
...
...
@@ -1749,14 +1749,14 @@ static int main_linkage_5(void)
BOZO_init_boolean
(
b_event_simulcast
,
0
);
BOZO_init_array
(
i_private_data_length
);
BOZO_begin_integer
(
i_transport_stream_id
,
16
)
BOZO_DOJOB
(
L
inkage
);
BOZO_DOJOB
(
dvb_l
inkage
);
BOZO_check_integer
(
i_transport_stream_id
,
16
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_transport_stream_id
,
16
)
/* check i_original_network_id */
s_decoded
.
i_linkage_type
=
13
;
BOZO_init_integer
(
i_transport_stream_id
,
0
);
BOZO_init_integer
(
i_original_network_id
,
0
);
BOZO_init_integer
(
i_service_id
,
0
);
...
...
@@ -1765,14 +1765,14 @@ static int main_linkage_5(void)
BOZO_init_boolean
(
b_event_simulcast
,
0
);
BOZO_init_array
(
i_private_data_length
);
BOZO_begin_integer
(
i_original_network_id
,
16
)
BOZO_DOJOB
(
L
inkage
);
BOZO_DOJOB
(
dvb_l
inkage
);
BOZO_check_integer
(
i_original_network_id
,
16
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_original_network_id
,
16
)
/* check i_service_id */
s_decoded
.
i_linkage_type
=
13
;
BOZO_init_integer
(
i_transport_stream_id
,
0
);
BOZO_init_integer
(
i_original_network_id
,
0
);
BOZO_init_integer
(
i_service_id
,
0
);
...
...
@@ -1781,14 +1781,14 @@ static int main_linkage_5(void)
BOZO_init_boolean
(
b_event_simulcast
,
0
);
BOZO_init_array
(
i_private_data_length
);
BOZO_begin_integer
(
i_service_id
,
16
)
BOZO_DOJOB
(
L
inkage
);
BOZO_DOJOB
(
dvb_l
inkage
);
BOZO_check_integer
(
i_service_id
,
16
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_service_id
,
16
)
/* check i_target_event_id */
s_decoded
.
i_linkage_type
=
13
;
BOZO_init_integer
(
i_transport_stream_id
,
0
);
BOZO_init_integer
(
i_original_network_id
,
0
);
BOZO_init_integer
(
i_service_id
,
0
);
...
...
@@ -1797,14 +1797,14 @@ static int main_linkage_5(void)
BOZO_init_boolean
(
b_event_simulcast
,
0
);
BOZO_init_array
(
i_private_data_length
);
BOZO_begin_integer
(
i_target_event_id
,
16
)
BOZO_DOJOB
(
L
inkage
);
BOZO_DOJOB
(
dvb_l
inkage
);
BOZO_check_integer
(
i_target_event_id
,
16
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_target_event_id
,
16
)
/* check b_target_listed */
s_decoded
.
i_linkage_type
=
13
;
BOZO_init_integer
(
i_transport_stream_id
,
0
);
BOZO_init_integer
(
i_original_network_id
,
0
);
BOZO_init_integer
(
i_service_id
,
0
);
...
...
@@ -1813,14 +1813,14 @@ static int main_linkage_5(void)
BOZO_init_boolean
(
b_event_simulcast
,
0
);
BOZO_init_array
(
i_private_data_length
);
BOZO_begin_boolean
(
b_target_listed
)
BOZO_DOJOB
(
L
inkage
);
BOZO_DOJOB
(
dvb_l
inkage
);
BOZO_check_boolean
(
b_target_listed
)
BOZO_CLEAN
();
BOZO_end_boolean
(
b_target_listed
)
/* check b_event_simulcast */
s_decoded
.
i_linkage_type
=
13
;
BOZO_init_integer
(
i_transport_stream_id
,
0
);
BOZO_init_integer
(
i_original_network_id
,
0
);
BOZO_init_integer
(
i_service_id
,
0
);
...
...
@@ -1829,14 +1829,14 @@ static int main_linkage_5(void)
BOZO_init_boolean
(
b_event_simulcast
,
0
);
BOZO_init_array
(
i_private_data_length
);
BOZO_begin_boolean
(
b_event_simulcast
)
BOZO_DOJOB
(
L
inkage
);
BOZO_DOJOB
(
dvb_l
inkage
);
BOZO_check_boolean
(
b_event_simulcast
)
BOZO_CLEAN
();
BOZO_end_boolean
(
b_event_simulcast
)
/* check i_private_data */
s_decoded
.
i_linkage_type
=
13
;
BOZO_init_integer
(
i_transport_stream_id
,
0
);
BOZO_init_integer
(
i_original_network_id
,
0
);
BOZO_init_integer
(
i_service_id
,
0
);
...
...
@@ -1846,7 +1846,7 @@ static int main_linkage_5(void)
BOZO_init_array
(
i_private_data_length
);
BOZO_begin_array
(
i_private_data
)
BOZO_loop_array_begin
(
i_private_data
,
i_private_data_length
,
0
)
BOZO_DOJOB
(
L
inkage
);
BOZO_DOJOB
(
dvb_l
inkage
);
BOZO_check_array_begin
(
i_private_data
,
i_private_data_length
)
BOZO_check_array_gen
(
i_private_data
,
i_private_data_length
)
BOZO_CLEAN
();
...
...
@@ -1860,17 +1860,17 @@ static int main_linkage_5(void)
}
/* Near Video On Demand reference */
static
int
main_nvod_ref_
(
void
)
static
int
main_
dvb_
nvod_ref_
(
void
)
{
BOZO_VARS
(
nvod_ref
);
BOZO_VARS
(
dvb_
nvod_ref
);
BOZO_START
(
Near
Video
On
Demand
reference
);
/* check p_nvod_refs */
BOZO_init_array
(
i_references
);
BOZO_begin_array
(
p_nvod_refs
)
BOZO_loop_array_begin
(
p_nvod_refs
,
i_references
,
1
)
BOZO_DOJOB
(
NVODReference
);
BOZO_DOJOB
(
dvb_nvod_ref
);
BOZO_check_array_begin
(
p_nvod_refs
,
i_references
)
BOZO_check_array_cmp
(
p_nvod_refs
,
i_references
,
dvbpsi_nvod_ref_t
)
BOZO_CLEAN
();
...
...
@@ -1884,16 +1884,16 @@ static int main_nvod_ref_(void)
}
/* time shifted service */
static
int
main_tshifted_service_
(
void
)
static
int
main_
dvb_
tshifted_service_
(
void
)
{
BOZO_VARS
(
tshifted_service
);
BOZO_VARS
(
dvb_
tshifted_service
);
BOZO_START
(
time
shifted
service
);
/* check i_ref_service_id */
BOZO_init_integer
(
i_ref_service_id
,
0
);
BOZO_begin_integer
(
i_ref_service_id
,
16
)
BOZO_DOJOB
(
TimeShiftedS
ervice
);
BOZO_DOJOB
(
dvb_tshifted_s
ervice
);
BOZO_check_integer
(
i_ref_service_id
,
16
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_ref_service_id
,
16
)
...
...
@@ -1905,31 +1905,31 @@ static int main_tshifted_service_(void)
}
/* short event (event_name) */
static
int
main_short_event_0
(
void
)
static
int
main_
dvb_
short_event_0
(
void
)
{
BOZO_VARS
(
short_event
);
BOZO_VARS
(
dvb_
short_event
);
BOZO_START
(
short
event
(
event_name
));
/* check i_iso_639_code */
s_decoded
.
i_text_length
=
0
;
BOZO_fill_array
(
s_decoded
.
i_iso_639_code
,
sizeof
(
s_decoded
.
i_iso_639_code
));
BOZO_init_array
(
i_event_name_length
);
i_loop_count
=
0
;
BOZO_begin_array
(
i_iso_639_code
)
BOZO_DOJOB
(
ShortE
vent
);
BOZO_DOJOB
(
dvb_short_e
vent
);
BOZO_check_carray
(
i_iso_639_code
)
BOZO_end_array
/* check i_event_name */
s_decoded
.
i_text_length
=
0
;
BOZO_fill_array
(
s_decoded
.
i_iso_639_code
,
sizeof
(
s_decoded
.
i_iso_639_code
));
BOZO_init_array
(
i_event_name_length
);
BOZO_begin_array
(
i_event_name
)
BOZO_loop_array_begin
(
i_event_name
,
i_event_name_length
,
0
)
BOZO_DOJOB
(
ShortE
vent
);
BOZO_DOJOB
(
dvb_short_e
vent
);
BOZO_check_array_begin
(
i_event_name
,
i_event_name_length
)
BOZO_check_array_gen
(
i_event_name
,
i_event_name_length
)
BOZO_CLEAN
();
...
...
@@ -1943,31 +1943,31 @@ static int main_short_event_0(void)
}
/* short event (i_text) */
static
int
main_short_event_1
(
void
)
static
int
main_
dvb_
short_event_1
(
void
)
{
BOZO_VARS
(
short_event
);
BOZO_VARS
(
dvb_
short_event
);
BOZO_START
(
short
event
(
i_text
));
/* check i_iso_639_code */
s_decoded
.
i_event_name_length
=
0
;
BOZO_fill_array
(
s_decoded
.
i_iso_639_code
,
sizeof
(
s_decoded
.
i_iso_639_code
));
BOZO_init_array
(
i_text_length
);
i_loop_count
=
0
;
BOZO_begin_array
(
i_iso_639_code
)
BOZO_DOJOB
(
ShortE
vent
);
BOZO_DOJOB
(
dvb_short_e
vent
);
BOZO_check_carray
(
i_iso_639_code
)
BOZO_end_array
/* check i_text */
s_decoded
.
i_event_name_length
=
0
;
BOZO_fill_array
(
s_decoded
.
i_iso_639_code
,
sizeof
(
s_decoded
.
i_iso_639_code
));
BOZO_init_array
(
i_text_length
);
BOZO_begin_array
(
i_text
)
BOZO_loop_array_begin
(
i_text
,
i_text_length
,
0
)
BOZO_DOJOB
(
ShortE
vent
);
BOZO_DOJOB
(
dvb_short_e
vent
);
BOZO_check_array_begin
(
i_text
,
i_text_length
)
BOZO_check_array_gen
(
i_text
,
i_text_length
)
BOZO_CLEAN
();
...
...
@@ -1981,19 +1981,19 @@ static int main_short_event_1(void)
}
/* short event (both) */
static
int
main_short_event_2
(
void
)
static
int
main_
dvb_
short_event_2
(
void
)
{
BOZO_VARS
(
short_event
);
BOZO_VARS
(
dvb_
short_event
);
BOZO_START
(
short
event
(
both
));
/* check i_iso_639_code */
BOZO_fill_array
(
s_decoded
.
i_iso_639_code
,
sizeof
(
s_decoded
.
i_iso_639_code
));
BOZO_init_array
(
i_text_length
);
BOZO_init_array
(
i_event_name_length
);
i_loop_count
=
0
;
BOZO_begin_array
(
i_iso_639_code
)
BOZO_DOJOB
(
ShortE
vent
);
BOZO_DOJOB
(
dvb_short_e
vent
);
BOZO_check_carray
(
i_iso_639_code
)
BOZO_end_array
...
...
@@ -2003,7 +2003,7 @@ static int main_short_event_2(void)
BOZO_init_array
(
i_event_name_length
);
BOZO_begin_array
(
i_text
)
BOZO_loop_array_begin
(
i_text
,
i_text_length
,
0
)
BOZO_DOJOB
(
ShortE
vent
);
BOZO_DOJOB
(
dvb_short_e
vent
);
BOZO_check_array_begin
(
i_text
,
i_text_length
)
BOZO_check_array_gen
(
i_text
,
i_text_length
)
BOZO_CLEAN
();
...
...
@@ -2016,7 +2016,7 @@ static int main_short_event_2(void)
BOZO_init_array
(
i_event_name_length
);
BOZO_begin_array
(
i_event_name
)
BOZO_loop_array_begin
(
i_event_name
,
i_event_name_length
,
0
)
BOZO_DOJOB
(
ShortE
vent
);
BOZO_DOJOB
(
dvb_short_e
vent
);
BOZO_check_array_begin
(
i_event_name
,
i_event_name_length
)
BOZO_check_array_gen
(
i_event_name
,
i_event_name_length
)
BOZO_CLEAN
();
...
...
@@ -2030,17 +2030,17 @@ static int main_short_event_2(void)
}
/* time shifted event */
static
int
main_tshifted_ev_
(
void
)
static
int
main_
dvb_
tshifted_ev_
(
void
)
{
BOZO_VARS
(
tshifted_ev
);
BOZO_VARS
(
dvb_
tshifted_ev
);
BOZO_START
(
time
shifted
event
);
/* check i_ref_service_id */
BOZO_init_integer
(
i_ref_service_id
,
0
);
BOZO_init_integer
(
i_ref_event_id
,
0
);
BOZO_begin_integer
(
i_ref_service_id
,
16
)
BOZO_DOJOB
(
TimeShiftedEvent
);
BOZO_DOJOB
(
dvb_tshifted_ev
);
BOZO_check_integer
(
i_ref_service_id
,
16
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_ref_service_id
,
16
)
...
...
@@ -2049,7 +2049,7 @@ static int main_tshifted_ev_(void)
BOZO_init_integer
(
i_ref_service_id
,
0
);
BOZO_init_integer
(
i_ref_event_id
,
0
);
BOZO_begin_integer
(
i_ref_event_id
,
16
)
BOZO_DOJOB
(
TimeShiftedEvent
);
BOZO_DOJOB
(
dvb_tshifted_ev
);
BOZO_check_integer
(
i_ref_event_id
,
16
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_ref_event_id
,
16
)
...
...
@@ -2061,16 +2061,16 @@ static int main_tshifted_ev_(void)
}
/* stream identifier */
static
int
main_stream_identifier_
(
void
)
static
int
main_
dvb_
stream_identifier_
(
void
)
{
BOZO_VARS
(
stream_identifier
);
BOZO_VARS
(
dvb_
stream_identifier
);
BOZO_START
(
stream
identifier
);
/* check i_component_tag */
BOZO_init_integer
(
i_component_tag
,
0
);
BOZO_begin_integer
(
i_component_tag
,
8
)
BOZO_DOJOB
(
StreamI
dentifier
);
BOZO_DOJOB
(
dvb_stream_i
dentifier
);
BOZO_check_integer
(
i_component_tag
,
8
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_component_tag
,
8
)
...
...
@@ -2082,17 +2082,17 @@ static int main_stream_identifier_(void)
}
/* CA identifier */
static
int
main_ca_identifier_
(
void
)
static
int
main_
dvb_
ca_identifier_
(
void
)
{
BOZO_VARS
(
ca_identifier
);
BOZO_VARS
(
dvb_
ca_identifier
);
BOZO_START
(
CA
identifier
);
/* check p_system */
BOZO_init_array
(
i_number
);
BOZO_begin_array
(
p_system
)
BOZO_loop_array_begin
(
p_system
,
i_number
,
1
)
BOZO_DOJOB
(
CAI
dentifier
);
BOZO_DOJOB
(
dvb_ca_i
dentifier
);
BOZO_check_array_begin
(
p_system
,
i_number
)
BOZO_check_array_cmp
(
p_system
,
i_number
,
dvbpsi_ca_system_t
)
BOZO_CLEAN
();
...
...
@@ -2106,17 +2106,17 @@ static int main_ca_identifier_(void)
}
/* content */
static
int
main_content_
(
void
)
static
int
main_
dvb_
content_
(
void
)
{
BOZO_VARS
(
content
);
BOZO_VARS
(
dvb_
content
);
BOZO_START
(
content
);
/* check p_content */
BOZO_init_array
(
i_contents_number
);
BOZO_begin_array
(
p_content
)
BOZO_loop_array_begin
(
p_content
,
i_contents_number
,
1
)
BOZO_DOJOB
(
C
ontent
);
BOZO_DOJOB
(
dvb_c
ontent
);
BOZO_check_array_begin
(
p_content
,
i_contents_number
)
BOZO_check_array_cmp
(
p_content
,
i_contents_number
,
dvbpsi_content_t
)
BOZO_CLEAN
();
...
...
@@ -2130,17 +2130,17 @@ static int main_content_(void)
}
/* parental rating */
static
int
main_parental_rating_
(
void
)
static
int
main_
dvb_
parental_rating_
(
void
)
{
BOZO_VARS
(
parental_rating
);
BOZO_VARS
(
dvb_
parental_rating
);
BOZO_START
(
parental
rating
);
/* check p_parental_rating */
BOZO_init_array
(
i_ratings_number
);
BOZO_begin_array
(
p_parental_rating
)
BOZO_loop_array_begin
(
p_parental_rating
,
i_ratings_number
,
1
)
BOZO_DOJOB
(
ParentalR
ating
);
BOZO_DOJOB
(
dvb_parental_r
ating
);
BOZO_check_array_begin
(
p_parental_rating
,
i_ratings_number
)
BOZO_check_array_cmp
(
p_parental_rating
,
i_ratings_number
,
dvbpsi_parental_rating_t
)
BOZO_CLEAN
();
...
...
@@ -2154,17 +2154,17 @@ static int main_parental_rating_(void)
}
/* teletext */
static
int
main_teletext_
(
void
)
static
int
main_
dvb_
teletext_
(
void
)
{
BOZO_VARS
(
teletext
);
BOZO_VARS
(
dvb_
teletext
);
BOZO_START
(
teletext
);
/* check p_pages */
BOZO_init_array
(
i_pages_number
);
BOZO_begin_array
(
p_pages
)
BOZO_loop_array_begin
(
p_pages
,
i_pages_number
,
1
)
BOZO_DOJOB
(
T
eletext
);
BOZO_DOJOB
(
dvb_t
eletext
);
BOZO_check_array_begin
(
p_pages
,
i_pages_number
)
BOZO_check_array_cmp
(
p_pages
,
i_pages_number
,
dvbpsi_teletextpage_t
)
BOZO_CLEAN
();
...
...
@@ -2178,17 +2178,17 @@ static int main_teletext_(void)
}
/* local time offset */
static
int
main_local_time_offset_
(
void
)
static
int
main_
dvb_
local_time_offset_
(
void
)
{
BOZO_VARS
(
local_time_offset
);
BOZO_VARS
(
dvb_
local_time_offset
);
BOZO_START
(
local
time
offset
);
/* check p_local_time_offset */
BOZO_init_array
(
i_local_time_offsets_number
);
BOZO_begin_array
(
p_local_time_offset
)
BOZO_loop_array_begin
(
p_local_time_offset
,
i_local_time_offsets_number
,
1
)
BOZO_DOJOB
(
LocalTimeO
ffset
);
BOZO_DOJOB
(
dvb_local_time_o
ffset
);
BOZO_check_array_begin
(
p_local_time_offset
,
i_local_time_offsets_number
)
BOZO_check_array_cmp
(
p_local_time_offset
,
i_local_time_offsets_number
,
dvbpsi_local_time_offset_t
)
BOZO_CLEAN
();
...
...
@@ -2202,17 +2202,17 @@ static int main_local_time_offset_(void)
}
/* subtitling */
static
int
main_subtitling_
(
void
)
static
int
main_
dvb_
subtitling_
(
void
)
{
BOZO_VARS
(
subtitling
);
BOZO_VARS
(
dvb_
subtitling
);
BOZO_START
(
subtitling
);
/* check p_subtitle */
BOZO_init_array
(
i_subtitles_number
);
BOZO_begin_array
(
p_subtitle
)
BOZO_loop_array_begin
(
p_subtitle
,
i_subtitles_number
,
1
)
BOZO_DOJOB
(
S
ubtitling
);
BOZO_DOJOB
(
dvb_s
ubtitling
);
BOZO_check_array_begin
(
p_subtitle
,
i_subtitles_number
)
BOZO_check_array_cmp
(
p_subtitle
,
i_subtitles_number
,
dvbpsi_subtitle_t
)
BOZO_CLEAN
();
...
...
@@ -2226,12 +2226,12 @@ static int main_subtitling_(void)
}
/* terrestial delivery system */
static
int
main_terr_deliv_sys_
(
void
)
static
int
main_
dvb_
terr_deliv_sys_
(
void
)
{
BOZO_VARS
(
terr_deliv_sys
);
BOZO_VARS
(
dvb_
terr_deliv_sys
);
BOZO_START
(
terrestial
delivery
system
);
/* check i_centre_frequency */
BOZO_init_integer
(
i_centre_frequency
,
0
);
BOZO_init_integer
(
i_bandwidth
,
0
);
...
...
@@ -2246,7 +2246,7 @@ static int main_terr_deliv_sys_(void)
BOZO_init_integer
(
i_transmission_mode
,
0
);
BOZO_init_integer
(
i_other_frequency_flag
,
0
);
BOZO_begin_integer
(
i_centre_frequency
,
32
)
BOZO_DOJOB
(
TerrDelivS
ys
);
BOZO_DOJOB
(
dvb_terr_deliv_s
ys
);
BOZO_check_integer
(
i_centre_frequency
,
32
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_centre_frequency
,
32
)
...
...
@@ -2265,7 +2265,7 @@ static int main_terr_deliv_sys_(void)
BOZO_init_integer
(
i_transmission_mode
,
0
);
BOZO_init_integer
(
i_other_frequency_flag
,
0
);
BOZO_begin_integer
(
i_bandwidth
,
3
)
BOZO_DOJOB
(
TerrDelivS
ys
);
BOZO_DOJOB
(
dvb_terr_deliv_s
ys
);
BOZO_check_integer
(
i_bandwidth
,
3
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_bandwidth
,
3
)
...
...
@@ -2284,7 +2284,7 @@ static int main_terr_deliv_sys_(void)
BOZO_init_integer
(
i_transmission_mode
,
0
);
BOZO_init_integer
(
i_other_frequency_flag
,
0
);
BOZO_begin_integer
(
i_priority
,
1
)
BOZO_DOJOB
(
TerrDelivS
ys
);
BOZO_DOJOB
(
dvb_terr_deliv_s
ys
);
BOZO_check_integer
(
i_priority
,
1
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_priority
,
1
)
...
...
@@ -2303,7 +2303,7 @@ static int main_terr_deliv_sys_(void)
BOZO_init_integer
(
i_transmission_mode
,
0
);
BOZO_init_integer
(
i_other_frequency_flag
,
0
);
BOZO_begin_integer
(
i_time_slice_indicator
,
1
)
BOZO_DOJOB
(
TerrDelivS
ys
);
BOZO_DOJOB
(
dvb_terr_deliv_s
ys
);
BOZO_check_integer
(
i_time_slice_indicator
,
1
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_time_slice_indicator
,
1
)
...
...
@@ -2322,7 +2322,7 @@ static int main_terr_deliv_sys_(void)
BOZO_init_integer
(
i_transmission_mode
,
0
);
BOZO_init_integer
(
i_other_frequency_flag
,
0
);
BOZO_begin_integer
(
i_mpe_fec_indicator
,
1
)
BOZO_DOJOB
(
TerrDelivS
ys
);
BOZO_DOJOB
(
dvb_terr_deliv_s
ys
);
BOZO_check_integer
(
i_mpe_fec_indicator
,
1
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_mpe_fec_indicator
,
1
)
...
...
@@ -2341,7 +2341,7 @@ static int main_terr_deliv_sys_(void)
BOZO_init_integer
(
i_transmission_mode
,
0
);
BOZO_init_integer
(
i_other_frequency_flag
,
0
);
BOZO_begin_integer
(
i_constellation
,
2
)
BOZO_DOJOB
(
TerrDelivS
ys
);
BOZO_DOJOB
(
dvb_terr_deliv_s
ys
);
BOZO_check_integer
(
i_constellation
,
2
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_constellation
,
2
)
...
...
@@ -2360,7 +2360,7 @@ static int main_terr_deliv_sys_(void)
BOZO_init_integer
(
i_transmission_mode
,
0
);
BOZO_init_integer
(
i_other_frequency_flag
,
0
);
BOZO_begin_integer
(
i_hierarchy_information
,
3
)
BOZO_DOJOB
(
TerrDelivS
ys
);
BOZO_DOJOB
(
dvb_terr_deliv_s
ys
);
BOZO_check_integer
(
i_hierarchy_information
,
3
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_hierarchy_information
,
3
)
...
...
@@ -2379,7 +2379,7 @@ static int main_terr_deliv_sys_(void)
BOZO_init_integer
(
i_transmission_mode
,
0
);
BOZO_init_integer
(
i_other_frequency_flag
,
0
);
BOZO_begin_integer
(
i_code_rate_hp_stream
,
3
)
BOZO_DOJOB
(
TerrDelivS
ys
);
BOZO_DOJOB
(
dvb_terr_deliv_s
ys
);
BOZO_check_integer
(
i_code_rate_hp_stream
,
3
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_code_rate_hp_stream
,
3
)
...
...
@@ -2398,7 +2398,7 @@ static int main_terr_deliv_sys_(void)
BOZO_init_integer
(
i_transmission_mode
,
0
);
BOZO_init_integer
(
i_other_frequency_flag
,
0
);
BOZO_begin_integer
(
i_code_rate_lp_stream
,
3
)
BOZO_DOJOB
(
TerrDelivS
ys
);
BOZO_DOJOB
(
dvb_terr_deliv_s
ys
);
BOZO_check_integer
(
i_code_rate_lp_stream
,
3
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_code_rate_lp_stream
,
3
)
...
...
@@ -2417,7 +2417,7 @@ static int main_terr_deliv_sys_(void)
BOZO_init_integer
(
i_transmission_mode
,
0
);
BOZO_init_integer
(
i_other_frequency_flag
,
0
);
BOZO_begin_integer
(
i_guard_interval
,
2
)
BOZO_DOJOB
(
TerrDelivS
ys
);
BOZO_DOJOB
(
dvb_terr_deliv_s
ys
);
BOZO_check_integer
(
i_guard_interval
,
2
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_guard_interval
,
2
)
...
...
@@ -2436,7 +2436,7 @@ static int main_terr_deliv_sys_(void)
BOZO_init_integer
(
i_transmission_mode
,
0
);
BOZO_init_integer
(
i_other_frequency_flag
,
0
);
BOZO_begin_integer
(
i_transmission_mode
,
2
)
BOZO_DOJOB
(
TerrDelivS
ys
);
BOZO_DOJOB
(
dvb_terr_deliv_s
ys
);
BOZO_check_integer
(
i_transmission_mode
,
2
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_transmission_mode
,
2
)
...
...
@@ -2455,7 +2455,7 @@ static int main_terr_deliv_sys_(void)
BOZO_init_integer
(
i_transmission_mode
,
0
);
BOZO_init_integer
(
i_other_frequency_flag
,
0
);
BOZO_begin_integer
(
i_other_frequency_flag
,
1
)
BOZO_DOJOB
(
TerrDelivS
ys
);
BOZO_DOJOB
(
dvb_terr_deliv_s
ys
);
BOZO_check_integer
(
i_other_frequency_flag
,
1
)
BOZO_CLEAN
();
BOZO_end_integer
(
i_other_frequency_flag
,
1
)
...
...
@@ -2473,55 +2473,55 @@ int main(void)
int
i_err
=
0
;
srand
(
time
(
NULL
));
i_err
|=
main_vstream_1
();
i_err
|=
main_vstream_2
();
i_err
|=
main_astream_
();
i_err
|=
main_hierarchy_
();
i_err
|=
main_registration_
();
i_err
|=
main_ds_alignment_
();
i_err
|=
main_target_bg_grid_
();
i_err
|=
main_vwindow_
();
i_err
|=
main_ca_
();
i_err
|=
main_iso639_
();
i_err
|=
main_system_clock_
();
i_err
|=
main_mx_buff_utilization_
();
i_err
|=
main_copyright_
();
i_err
|=
main_max_bitrate_
();
i_err
|=
main_private_data_
();
i_err
|=
main_smoothing_buffer_
();
i_err
|=
main_std_
();
i_err
|=
main_ibp_
();
i_err
|=
main_mpeg4_video_
();
i_err
|=
main_mpeg4_audio_
();
i_err
|=
main_network_name_
();
i_err
|=
main_service_list_
();
i_err
|=
main_stuffing_
();
i_err
|=
main_sat_deliv_sys_
();
i_err
|=
main_cable_deliv_sys_
();
i_err
|=
main_bouquet_name_
();
i_err
|=
main_service_1
();
i_err
|=
main_service_2
();
i_err
|=
main_service_3
();
i_err
|=
main_linkage_0
();
i_err
|=
main_linkage_1
();
i_err
|=
main_linkage_2
();
i_err
|=
main_linkage_3
();
i_err
|=
main_linkage_4
();
i_err
|=
main_linkage_5
();
i_err
|=
main_nvod_ref_
();
i_err
|=
main_tshifted_service_
();
i_err
|=
main_short_event_0
();
i_err
|=
main_short_event_1
();
i_err
|=
main_short_event_2
();
i_err
|=
main_tshifted_ev_
();
i_err
|=
main_stream_identifier_
();
i_err
|=
main_ca_identifier_
();
i_err
|=
main_content_
();
i_err
|=
main_parental_rating_
();
i_err
|=
main_teletext_
();
i_err
|=
main_local_time_offset_
();
i_err
|=
main_subtitling_
();
i_err
|=
main_terr_deliv_sys_
();
i_err
|=
main_
mpeg_
vstream_1
();
i_err
|=
main_
mpeg_
vstream_2
();
i_err
|=
main_
mpeg_
astream_
();
i_err
|=
main_
mpeg_
hierarchy_
();
i_err
|=
main_
mpeg_
registration_
();
i_err
|=
main_
mpeg_
ds_alignment_
();
i_err
|=
main_
mpeg_
target_bg_grid_
();
i_err
|=
main_
mpeg_
vwindow_
();
i_err
|=
main_
mpeg_
ca_
();
i_err
|=
main_
mpeg_
iso639_
();
i_err
|=
main_
mpeg_
system_clock_
();
i_err
|=
main_m
peg_m
x_buff_utilization_
();
i_err
|=
main_
mpeg_
copyright_
();
i_err
|=
main_m
peg_m
ax_bitrate_
();
i_err
|=
main_
mpeg_
private_data_
();
i_err
|=
main_
mpeg_
smoothing_buffer_
();
i_err
|=
main_
mpeg_
std_
();
i_err
|=
main_
mpeg_
ibp_
();
i_err
|=
main_mpeg
_mpeg
4_video_
();
i_err
|=
main_mpeg
_mpeg
4_audio_
();
i_err
|=
main_
dvb_
network_name_
();
i_err
|=
main_
dvb_
service_list_
();
i_err
|=
main_
dvb_
stuffing_
();
i_err
|=
main_
dvb_
sat_deliv_sys_
();
i_err
|=
main_
dvb_
cable_deliv_sys_
();
i_err
|=
main_
dvb_
bouquet_name_
();
i_err
|=
main_
dvb_
service_1
();
i_err
|=
main_
dvb_
service_2
();
i_err
|=
main_
dvb_
service_3
();
i_err
|=
main_
dvb_
linkage_0
();
i_err
|=
main_
dvb_
linkage_1
();
i_err
|=
main_
dvb_
linkage_2
();
i_err
|=
main_
dvb_
linkage_3
();
i_err
|=
main_
dvb_
linkage_4
();
i_err
|=
main_
dvb_
linkage_5
();
i_err
|=
main_
dvb_
nvod_ref_
();
i_err
|=
main_
dvb_
tshifted_service_
();
i_err
|=
main_
dvb_
short_event_0
();
i_err
|=
main_
dvb_
short_event_1
();
i_err
|=
main_
dvb_
short_event_2
();
i_err
|=
main_
dvb_
tshifted_ev_
();
i_err
|=
main_
dvb_
stream_identifier_
();
i_err
|=
main_
dvb_
ca_identifier_
();
i_err
|=
main_
dvb_
content_
();
i_err
|=
main_
dvb_
parental_rating_
();
i_err
|=
main_
dvb_
teletext_
();
i_err
|=
main_
dvb_
local_time_offset_
();
i_err
|=
main_
dvb_
subtitling_
();
i_err
|=
main_
dvb_
terr_deliv_sys_
();
if
(
i_err
)
fprintf
(
stderr
,
"At least one test has FAILED !!!
\n
"
);
...
...
misc/test_dr.h
View file @
d1d2e934
...
...
@@ -37,12 +37,12 @@
#define BOZO_CLEAN() \
dvbpsi_DeleteDescriptors(p_descriptor);
#define BOZO_DOJOB(
fname)
\
#define BOZO_DOJOB(
sname)
\
if(!(i_loop_count & 0xffff)) \
fprintf(stdout, "\r iteration count: %22"PRI64d, i_loop_count); \
i_loop_count++; \
p_descriptor = dvbpsi_
Gen##fname##D
r(&s_decoded, 0); \
p_new_decoded = dvbpsi_
Decode##fname##D
r(p_descriptor);
p_descriptor = dvbpsi_
gen_##sname##_d
r(&s_decoded, 0); \
p_new_decoded = dvbpsi_
decode_##sname##_d
r(p_descriptor);
#define BOZO_START(name) \
fprintf(stdout, "\"%s\" descriptor check:\n", #name);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment