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

« back to all changes in this revision

Viewing changes to applications/ts2hds/ts2hds.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:
1
 
/*
2
 
 *                      GPAC - Multimedia Framework C SDK
3
 
 *
4
 
 *                      Author: Romain Bouqueau
5
 
 *                      Copyright (c) Romain Bouqueau 2012-
6
 
 *                              All rights reserved
7
 
 *
8
 
 *          Note: this development was kindly sponsorized by Vizion'R (http://vizionr.com)
9
 
 *
10
 
 *  This file is part of GPAC / TS to HDS (ts2hds) application
11
 
 *
12
 
 *  GPAC is free software; you can redistribute it and/or modify
13
 
 *  it under the terms of the GNU Lesser General Public License as published by
14
 
 *  the Free Software Foundation; either version 2, or (at your option)
15
 
 *  any later version.
16
 
 *   
17
 
 *  GPAC is distributed in the hope that it will be useful,
18
 
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
19
 
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20
 
 *  GNU Lesser General Public License for more details.
21
 
 *   
22
 
 *  You should have received a copy of the GNU Lesser General Public
23
 
 *  License along with this library; see the file COPYING.  If not, write to
24
 
 *  the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 
25
 
 *
26
 
 */
27
 
 
28
 
#include <gpac/media_tools.h>
29
 
 
30
 
//f4m
31
 
typedef struct __tag_adobe_stream AdobeStream;
32
 
typedef struct __tag_adobe_multirate AdobeMultirate;
33
 
AdobeMultirate *adobe_alloc_multirate_manifest(char *id);
34
 
void adobe_free_multirate_manifest(AdobeMultirate *am);
35
 
GF_Err adobe_gen_multirate_manifest(AdobeMultirate* am, char *bootstrap, size_t bootstrap_size);
36
 
 
37
 
//context
38
 
typedef struct
39
 
{
40
 
        u64 curr_time;
41
 
        u32 segnum;
42
 
        char *bootstrap;
43
 
        size_t bootstrap_size;
44
 
        AdobeMultirate *multirate_manifest;
45
 
} AdobeHDSCtx;
46
 
 
47
 
//f4v
48
 
GF_Err adobize_segment(GF_ISOFile *isom_file, AdobeHDSCtx *ctx);
 
1
/*
 
2
 *                      GPAC - Multimedia Framework C SDK
 
3
 *
 
4
 *                      Author: Romain Bouqueau
 
5
 *                      Copyright (c) Romain Bouqueau 2012-
 
6
 *                              All rights reserved
 
7
 *
 
8
 *          Note: this development was kindly sponsorized by Vizion'R (http://vizionr.com)
 
9
 *
 
10
 *  This file is part of GPAC / TS to HDS (ts2hds) application
 
11
 *
 
12
 *  GPAC is free software; you can redistribute it and/or modify
 
13
 *  it under the terms of the GNU Lesser General Public License as published by
 
14
 *  the Free Software Foundation; either version 2, or (at your option)
 
15
 *  any later version.
 
16
 *   
 
17
 *  GPAC is distributed in the hope that it will be useful,
 
18
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
19
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
20
 *  GNU Lesser General Public License for more details.
 
21
 *   
 
22
 *  You should have received a copy of the GNU Lesser General Public
 
23
 *  License along with this library; see the file COPYING.  If not, write to
 
24
 *  the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 
 
25
 *
 
26
 */
 
27
 
 
28
#include <gpac/media_tools.h>
 
29
 
 
30
//f4m
 
31
typedef struct __tag_adobe_stream AdobeStream;
 
32
typedef struct __tag_adobe_multirate AdobeMultirate;
 
33
AdobeMultirate *adobe_alloc_multirate_manifest(char *id);
 
34
void adobe_free_multirate_manifest(AdobeMultirate *am);
 
35
GF_Err adobe_gen_multirate_manifest(AdobeMultirate* am, char *bootstrap, size_t bootstrap_size);
 
36
 
 
37
//context
 
38
typedef struct
 
39
{
 
40
        u64 curr_time;
 
41
        u32 segnum;
 
42
        char *bootstrap;
 
43
        size_t bootstrap_size;
 
44
        AdobeMultirate *multirate_manifest;
 
45
} AdobeHDSCtx;
 
46
 
 
47
//f4v
 
48
GF_Err adobize_segment(GF_ISOFile *isom_file, AdobeHDSCtx *ctx);