83 return getMaximumTextPlainLength()+getMaximumTextItemizedLength(separation1, separation2)+strlen(separation2);
87 int size = getMaximumTextLength(separation1, separation2);
88 char *
text=
new char[size];
89 return getText(
text, size, separation1, separation2);
94 for (
int i=0;i<length;i++) {
99 len = strlen(buffer+index);
104 int sepLen1 = strlen(separation1);
105 int sepLen2 = strlen(separation2);
106 bool separated =
false;
107 for (
int i=0;i<length;i++) {
114 if (!separated && size > sepLen2) {
115 strcpy(buffer+index, separation2);
122 len = strlen(buffer+index);
125 if (size > sepLen1) {
126 strcpy(buffer+index, separation1);
132 len = strlen(buffer+index);
135 if (size > sepLen2) {
136 strcpy(buffer+index, separation2);
149 for (
int i=0;i<length;i++) {
150 ExtendedEventDescriptor *d=(ExtendedEventDescriptor *)array[i];
159 int size = getMaximumTextPlainLength();
160 char *
text=
new char[size];
161 return getTextPlain(
text, size);
166 for (
int i=0;i<length;i++) {
171 len = strlen(buffer+index);
181 int sepLength=strlen(separation1)+strlen(separation2);
182 for (
int i=0;i<length;i++) {
183 ExtendedEventDescriptor *d=(ExtendedEventDescriptor *)array[i];
187 ret+=d->
itemLoop.getLength()+sepLength;
193 int size = getMaximumTextItemizedLength(separation1, separation2);
194 char *
text=
new char[size];
195 return getTextItemized(
text, size, separation1, separation2);
200 int sepLen1 = strlen(separation1);
201 int sepLen2 = strlen(separation2);
202 for (
int i=0;i<length;i++) {
210 len = strlen(buffer+index);
213 if (size > sepLen1) {
214 strcpy(buffer+index, separation1);
220 len = strlen(buffer+index);
223 if (size > sepLen2) {
224 strcpy(buffer+index, separation2);
241 int index=(it.i & 0x780) >> 7;
244 for (;index<length;index++) {
245 ExtendedEventDescriptor *d=(ExtendedEventDescriptor *)array[index];
250 if (d->itemLoop.getNext(item, it)) {
251 item.
item.
getText(itemDescription, sizeItemDescription);
262 it.i |= (index & 0xF) << 7;
268 return HILO(
s->reference_service_id);
272 return HILO(
s->reference_event_id);
285 return s->content_nibble_level_1;
289 return s->content_nibble_level_2;
293 return s->user_nibble_1;
297 return s->user_nibble_2;
339 return s->magazine_number;
343 return s->page_number;
347 return HILO(
s->CA_type);
351 return HILO(
s->CA_PID);
362 return s->component_tag;
378 return (
HILO(
s->carousel_id_hi) << 16) |
HILO(
s->carousel_id_lo);
394 return HILO(
s->service_id);
398 return s->service_type;
406 return (
HILO(
s->frequency_hi) << 16) |
HILO(
s->frequency_lo);
410 return HILO(
s->orbital_position);
414 return s->west_east_flag;
418 return s->polarization;
422 return s->modulation_system;
426 return s->modulation_type;
434 return (
HILO(
s->symbol_rate_hi) << 12) | (
s->symbol_rate_lo_1 << 4) |
s->symbol_rate_lo_2;
446 return (
HILO(
s->frequency_hi) << 16) |
HILO(
s->frequency_lo);
454 return s->modulation;
458 return (
HILO(
s->symbol_rate_hi) << 12) | (
s->symbol_rate_lo_1 << 4) |
s->symbol_rate_lo_2;
470 return (
HILO(
s->frequency_hi) << 16) |
HILO(
s->frequency_lo);
478 return s->time_slicing_indicator;
482 return s->mpe_fec_indicator;
490 return s->constellation;
498 return s->code_rate_HP;
502 return s->code_rate_LP;
506 return s->guard_interval;
510 return s->transmission_mode;
514 return s->other_frequency_flag;
522 return s->service_type;
528 providerName.setDataAndOffset(
data+offset,
s->provider_name_length, offset);
539 return HILO(
s->transport_stream_id);
543 return HILO(
s->original_network_id);
547 return HILO(
s->service_id);
555 return HILO(
s->reference_service_id);
563 return s->stream_content;
567 return s->component_type;
571 return s->component_tag;
589 return (
HILO(
s->private_data_specifier_hi) << 16) |
HILO(
s->private_data_specifier_lo);
593 subtitlingLoop.setData(
data+
sizeof(descr_subtitling),
getLength()-
sizeof(descr_subtitling));
597 return s->subtitling_type;
601 return HILO(
s->composition_page_id);
605 return HILO(
s->ancillary_page_id);
617 return HILO(
s->new_original_network_id);
621 return HILO(
s->new_transport_stream_id);
625 return HILO(
s->new_service_id);
633 return s->coding_type;
653 if (
s->crid_location == 0) {
654 identifier.setData(
data+(offset-1),
s->crid_length);
657 identifier.setData(
data+(offset-1), 2);
666 return s->crid_location;
685 name.setData(
data+offset,
s->text_length);
689 return s->component_tag;
710 providerName.setDataAndOffset(
data+offset,
s->text_length, offset);
721 return s->country_region_id;
725 return s->local_time_offset_polarity;
729 return (
s->local_time_offset_h << 8) |
s->local_time_offset_m;
733 return DVBTime::getTime(
s->time_of_change_mjd_hi,
s->time_of_change_mjd_lo,
s->time_of_change_time_h,
s->time_of_change_time_m,
s->time_of_change_time_s);
737 return (
s->next_time_offset_h << 8) |
s->next_time_offset_m;
742 countryCode[0]=
s->country_code1;
743 countryCode[1]=
s->country_code2;
744 countryCode[2]=
s->country_code3;
760 return HILO(
s->transport_stream_id);
764 return HILO(
s->original_network_id);
768 return HILO(
s->service_id);
776 return s1 == NULL ? 0 : s1->hand_over_type;
780 return s1 == NULL ? 0 : s1->origin_type;
784 return s1 == NULL ? 0 :
HILO(s1->id);
793 if (languageLoop.getNext(first, it)) {
820 return ((
s->pil0 & 0x0F) << 1) | ((
s->pil1 & 0x80) >> 7);
824 return (
s->pil1 >> 3) & 0x0F;
828 return ((
s->pil1 & 0x07) << 2) | ((
s->pil2 & 0xC0) >> 6);
832 return s->pil2 & 0x3F;
841 return s->ancillary_data_identifier;
846 input_stream_identifier=0;
848 if (
s->scrambling_sequence_selector)
850 if (
s->multiple_input_stream_flag)
855 return s->scrambling_sequence_selector;
859 return s->multiple_input_stream_flag;
863 return s->backwards_compatibility_indicator;
877 return extended_data_flag;
881 return s->descriptor_tag_extension;
891 return extended_data_flag;
895 return s->descriptor_tag_extension;
903 return HILO(
s->t2_system_id);
907 return extended_data_flag ?
s->siso_miso : -1;
911 return extended_data_flag ?
s->bandwidth : -1;
915 return extended_data_flag ?
s->guard_interval : -1;
919 return extended_data_flag ?
s->transmission_mode : -1;
923 return extended_data_flag ?
s->other_frequency_flag : -1;
927 return extended_data_flag ?
s->tfs_flag : -1;
940 return s->visible_service_flag;
944 return HILO(
s->logical_channel_number);
961 return s->visible_service_flag;
965 return HILO(
s->logical_channel_number);
973 return HILO(
s->original_network_id);
977 return HILO(
s->transport_stream_id);
981 return HILO(
s->service_id);
994 return s->start_time_loop;
1019 return HILO(
s->application_type);
1023 return s->AIT_version_number;
1031 return s->service_bound_flag;
1035 return s->visibility;
1039 return s->application_priority;
1056 return s->version_major;
1060 return s->version_minor;
1064 return s->version_micro;
1086 return HILO(
s->protocol_id);
1090 return s->transport_protocol_label;
1098 return componentTag;
1102 return UrlBase.getText(buffer, size);
1110 if (getProtocolId() == ObjectCarousel) {
1123 }
else if (getProtocolId() == HTTPoverInteractionChannel) {
1124 const transport_via_http *http;
1126 UrlBase.setDataAndOffset(
data+offset, http->url_base_length, offset);
1136 const descr_url_extension_entry *
s;
1138 UrlExtension.setData(
data,
s->url_extension_length);
1142 applicationLoop.setData(
data+
sizeof(descr_dvbj_application),
getLength()-
sizeof(descr_dvbj_application));
1162 return HILO(
s->icon_flags);
1174 return location.getText(buffer, size);
1196 return s->profile_idc;
1200 return s->constraint_set0_flag;
1204 return s->constraint_set1_flag;
1208 return s->constraint_set2_flag;
1212 return s->constraint_set3_flag;
1216 return s->constraint_set4_flag;
1220 return s->constraint_set5_flag;
1224 return s->avc_compatible_flags;
1228 return s->level_idc;
1232 return s->avc_still_present;
1236 return s->avc_24_hour_picture_flag;
1240 return s->frame_packing_sei_not_present_flag;