~ubuntu-branches/ubuntu/trusty/gst-libav1.0/trusty-proposed

« back to all changes in this revision

Viewing changes to gst-libs/ext/libav/libavcodec/aac_ac3_parser.h

  • Committer: Package Import Robot
  • Author(s): Sebastian Dröge
  • Date: 2013-09-24 17:07:00 UTC
  • mfrom: (1.1.17) (7.1.9 experimental)
  • Revision ID: package-import@ubuntu.com-20130924170700-4dg62s3pwl0pdakz
Tags: 1.2.0-1
* New upstream stable release:
  + debian/control:
    - Build depend on GStreamer and gst-plugins-base >= 1.2.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
#include "parser.h"
29
29
 
30
30
typedef enum {
31
 
    AAC_AC3_PARSE_ERROR_SYNC        = -1,
32
 
    AAC_AC3_PARSE_ERROR_BSID        = -2,
33
 
    AAC_AC3_PARSE_ERROR_SAMPLE_RATE = -3,
34
 
    AAC_AC3_PARSE_ERROR_FRAME_SIZE  = -4,
35
 
    AAC_AC3_PARSE_ERROR_FRAME_TYPE  = -5,
36
 
    AAC_AC3_PARSE_ERROR_CRC         = -6,
37
 
    AAC_AC3_PARSE_ERROR_CHANNEL_CFG = -7,
 
31
    AAC_AC3_PARSE_ERROR_SYNC        = -0x1030c0a,
 
32
    AAC_AC3_PARSE_ERROR_BSID        = -0x2030c0a,
 
33
    AAC_AC3_PARSE_ERROR_SAMPLE_RATE = -0x3030c0a,
 
34
    AAC_AC3_PARSE_ERROR_FRAME_SIZE  = -0x4030c0a,
 
35
    AAC_AC3_PARSE_ERROR_FRAME_TYPE  = -0x5030c0a,
 
36
    AAC_AC3_PARSE_ERROR_CRC         = -0x6030c0a,
 
37
    AAC_AC3_PARSE_ERROR_CHANNEL_CFG = -0x7030c0a,
38
38
} AACAC3ParseError;
39
39
 
40
40
typedef struct AACAC3ParseContext {
55
55
    uint64_t state;
56
56
 
57
57
    int need_next_header;
58
 
    enum CodecID codec_id;
 
58
    enum AVCodecID codec_id;
59
59
} AACAC3ParseContext;
60
60
 
61
61
int ff_aac_ac3_parse(AVCodecParserContext *s1,