Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / ffmpeg / chromium / ffmpegsumo.sigs
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 #------------------------------------------------
6 # Functions from avcodec used in chromium code.
7 #------------------------------------------------
8 AVCodecContext *avcodec_alloc_context3(const AVCodec *codec);
9 AVCodec *avcodec_find_decoder(enum AVCodecID id);
10 int av_new_packet(AVPacket *pkt, int size);
11 int avcodec_decode_audio4(AVCodecContext *avctx, AVFrame *frame, int *got_frame_ptr, const AVPacket *avpkt);
12 int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture, int *got_picture_ptr, const AVPacket *avpkt);
13 int avcodec_open2(AVCodecContext *avctx, const AVCodec *codec, AVDictionary **options);
14 int avcodec_close(AVCodecContext *avctx);
15 const char *avcodec_get_name(enum AVCodecID id);
16 void av_free_packet(AVPacket *pkt);
17 void av_init_packet(AVPacket *pkt);
18 int av_dup_packet(AVPacket *pkt);
19 void avcodec_flush_buffers(AVCodecContext *avctx);
20 void av_register_bitstream_filter(AVBitStreamFilter *bsf);
21 AVBitStreamFilterContext *av_bitstream_filter_init(const char *name);
22 int av_bitstream_filter_filter(AVBitStreamFilterContext *bsfc, AVCodecContext *avctx, const char *args, uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size, int keyframe);
23 void av_bitstream_filter_close(AVBitStreamFilterContext *bsf);
24 void av_destruct_packet(AVPacket *pkt);
25 int av_lockmgr_register(AVLockMgrOperation cb);
26 void avcodec_get_frame_defaults(AVFrame *pic);
27 void avcodec_align_dimensions(AVCodecContext *s, int *width, int *height);
28 int av_packet_split_side_data(AVPacket *pkt);
29 uint8_t *av_packet_get_side_data(AVPacket *pkt, enum AVPacketSideDataType type, int *size);
30 void av_frame_unref(AVFrame *frame);
31 void av_frame_free(AVFrame **frame);
32 void avcodec_free_frame(AVFrame **frame);
33 AVFrame* av_frame_alloc();
34
35 # RDFT functions.
36 RDFTContext *av_rdft_init(int nbits, enum RDFTransformType trans);
37 void av_rdft_calc(RDFTContext *s, FFTSample *data);
38 void av_rdft_end(RDFTContext *s);
39
40
41 #------------------------------------------------
42 # Functions from avformat used in chromium code.
43 #------------------------------------------------
44 void avformat_close_input(AVFormatContext **s);
45 int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options);
46 int av_index_search_timestamp(AVStream *st, int64_t wanted_timestamp, int flags);
47 int avformat_open_input(AVFormatContext **ps, const char *filename, AVInputFormat *fmt, AVDictionary **options);
48 int av_read_frame(AVFormatContext *s, AVPacket *pkt);
49 void av_register_all(void);
50 int av_seek_frame(AVFormatContext *s, int stream_index, int64_t timestamp, int flags);
51 AVFormatContext *avformat_alloc_context(void);
52 void avformat_free_context(AVFormatContext *s);
53 AVIOContext *avio_alloc_context(unsigned char *buffer, int buffer_size, int write_flag, void *opaque, AVIOReadWriteOperation read_packet, AVIOReadWriteOperation write_packet, AVIOSeekOperation seek);
54 int avio_close(AVIOContext *s);
55
56
57 #------------------------------------------------
58 # Functions from avutil used in chromium code.
59 #------------------------------------------------
60 int av_get_bytes_per_sample(enum AVSampleFormat sample_fmt);
61 int64_t av_rescale_q(int64_t a, AVRational bq, AVRational cq);
62 void *av_malloc(size_t size);
63 void av_free(void *ptr);
64 void av_log_set_level(int level);
65 int av_dict_set(AVDictionary **pm, const char *key, const char *value, int flags);
66 AVDictionaryEntry *av_dict_get(AVDictionary *m, const char *key, const AVDictionaryEntry *prev, int flags);
67 int av_samples_get_buffer_size(int *linesize, int nb_channels, int nb_samples, enum AVSampleFormat sample_fmt, int align);
68 int av_image_check_size(unsigned int w, unsigned int h, int log_offset, void *log_ctx);
69 int av_image_fill_linesizes(int *linesizes, enum PixelFormat pix_fmt, int width);
70 AVBufferRef *av_buffer_create(uint8_t *data, int size, AVFreeOperation free, void *opaque, int flags);
71 int avcodec_fill_audio_frame(AVFrame *frame, int nb_channels, enum AVSampleFormat sample_fmt, const uint8_t *buf, int buf_size, int align);
72 void *av_buffer_get_opaque(const AVBufferRef *buf);