OLD | NEW |
| (Empty) |
1 # Copyright (c) 2010 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 # Functions from avcodec used in chromium code. | |
6 | |
7 AVCodecContext *avcodec_alloc_context(void); | |
8 AVCodec *avcodec_find_decoder(enum CodecID id); | |
9 AVFrame *avcodec_alloc_frame(void); | |
10 int av_get_bits_per_sample_fmt(enum SampleFormat sample_fmt); | |
11 int av_new_packet(AVPacket *pkt, int size); | |
12 int avcodec_decode_audio3(AVCodecContext *avctx, int16_t *samples, int *frame_si
ze_ptr, AVPacket *avpkt); | |
13 int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture, int *got_pict
ure_ptr, AVPacket *avpkt); | |
14 int avcodec_open(AVCodecContext *avctx, AVCodec *codec); | |
15 int avcodec_close(AVCodecContext *avctx); | |
16 int avcodec_thread_init(AVCodecContext *s, int thread_count); | |
17 void av_free_packet(AVPacket *pkt); | |
18 void av_init_packet(AVPacket *pkt); | |
19 int av_dup_packet(AVPacket *pkt); | |
20 void avcodec_flush_buffers(AVCodecContext *avctx); | |
21 void avcodec_init(void); | |
22 AVBitStreamFilterContext *av_bitstream_filter_init(const char *name); | |
23 int av_bitstream_filter_filter(AVBitStreamFilterContext *bsfc, AVCodecContext *a
vctx, const char *args, uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf
, int buf_size, int keyframe); | |
24 void av_bitstream_filter_close(AVBitStreamFilterContext *bsf); | |
25 void av_destruct_packet(AVPacket *pkt); | |
26 int av_lockmgr_register(AVLockMgrOperation cb); | |
27 | |
28 # RDFT functions. | |
29 RDFTContext *av_rdft_init(int nbits, enum RDFTransformType trans); | |
30 void av_rdft_calc(RDFTContext *s, FFTSample *data); | |
31 void av_rdft_end(RDFTContext *s); | |
OLD | NEW |