~ubuntu-branches/debian/experimental/gpac/experimental

« back to all changes in this revision

Viewing changes to modules/isom_in/isom_in.h

  • Committer: Package Import Robot
  • Author(s): Reinhard Tartler
  • Date: 2014-02-22 18:15:00 UTC
  • mfrom: (1.2.2) (3.1.6 sid)
  • Revision ID: package-import@ubuntu.com-20140222181500-b4phupo05gjpmopa
Tags: 0.5.0+svn5104~dfsg1-1
* New  upstream version 0.5.0+svn5104~dfsg1:
  - src/utils/sha1.c is relicensed under LGPLv2.1, Closes: #730759
* Don't install modules in multi-arch directories, Closes: #730497
* Add libusb-1.0.0-dev headers because libfreenect requires this
* Fix install rule
* Follow upstream soname bump
  - Drop the symbols file for now until it has been revised thourougly
* Let binaries produce the correct svn revision
* Refresh patches
* Patch and build against libav10, Closes: #739321
* Bump standards version, no changes necessary

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
 
40
40
*/
41
41
 
 
42
//#define DASH_USE_PULL
 
43
 
42
44
typedef struct
43
45
{
44
46
        GF_InputService *input;
55
57
        /*remote file handling*/
56
58
        GF_DownloadSession * dnload;
57
59
        u64 missing_bytes, last_size;
58
 
 
59
60
        Bool no_service_desc;
60
61
        u32 base_track_id;
61
62
 
62
63
        /*0: not fragmented - 1 fragmented - 2 fragmented and last fragment received*/
63
64
        u32 frag_type;
64
 
 
 
65
        Bool waiting_for_data;
65
66
        GF_Mutex *segment_mutex;
66
67
 
 
68
        Bool use_memory;
 
69
        /*0: segment is not opened - 1: segment is opened but can be refreshed incomplete file) - 2: segment is fully parsed, no need for refresh*/
 
70
        u32 seg_opened;
 
71
        Bool drop_next_segment;
 
72
        Bool in_data_flush;
 
73
        s32 has_pending_segments;
 
74
 
 
75
        Bool clock_discontinuity;
67
76
} ISOMReader;
68
77
 
69
78
 
97
106
        Bool to_init, is_playing, has_rap;
98
107
        u8 streamType;
99
108
        
100
 
        Bool is_encrypted;
 
109
        Bool is_encrypted, is_cenc;
101
110
 
102
111
        /*cache stuff*/
103
112
        u64 cache_seed_ts;
104
113
        u32 frame_cts_offset;
105
114
        u64 prev_dts, max_cts;
106
115
        GF_ISOSample *cache_sample;
 
116
 
 
117
        Bool buffering;
 
118
        u32 buffer_min, buffer_max;
107
119
} ISOMChannel;
108
120
void isor_reset_reader(ISOMChannel *ch);
109
121
void isor_reader_get_sample(ISOMChannel *ch);
121
133
void isor_declare_objects(ISOMReader *read);
122
134
 
123
135
 
 
136
void send_proxy_command(ISOMReader *read, Bool is_disconnect, Bool is_add_media, GF_Err e, GF_Descriptor *desc, LPNETCHANNEL channel);
 
137
 
 
138
void isor_send_cenc_config(ISOMChannel *ch);
 
139
 
 
140
void isor_flush_data(ISOMReader *read, Bool check_buffer_level, Bool is_chunk_flush);
 
141
 
124
142
#ifndef GPAC_DISABLE_ISOM_WRITE
125
143
GF_BaseInterface *isow_load_cache();
126
144
void isow_delete_cache(GF_BaseInterface *bi);