OLD | NEW |
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 # | 4 # |
5 # Functions from avcodec used in chromium code. | 5 # Functions from avcodec used in chromium code. |
6 | 6 |
7 AVCodec *avcodec_find_decoder(enum CodecID id); | 7 AVCodec *avcodec_find_decoder(enum CodecID id); |
8 AVFrame *avcodec_alloc_frame(void); | 8 AVFrame *avcodec_alloc_frame(void); |
9 int av_get_bits_per_sample_format(enum SampleFormat sample_fmt); | 9 int av_get_bits_per_sample_format(enum SampleFormat sample_fmt); |
10 int av_new_packet(AVPacket *pkt, int size); | 10 int av_new_packet(AVPacket *pkt, int size); |
11 int avcodec_decode_audio3(AVCodecContext *avctx, int16_t *samples, int *frame_si
ze_ptr, AVPacket *avpkt); | 11 int avcodec_decode_audio3(AVCodecContext *avctx, int16_t *samples, int *frame_si
ze_ptr, AVPacket *avpkt); |
12 int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture, int *got_pict
ure_ptr, AVPacket *avpkt); | 12 int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture, int *got_pict
ure_ptr, AVPacket *avpkt); |
13 int avcodec_open(AVCodecContext *avctx, AVCodec *codec); | 13 int avcodec_open(AVCodecContext *avctx, AVCodec *codec); |
14 int avcodec_close(AVCodecContext *avctx); | 14 int avcodec_close(AVCodecContext *avctx); |
15 int avcodec_thread_init(AVCodecContext *s, int thread_count); | 15 int avcodec_thread_init(AVCodecContext *s, int thread_count); |
16 void av_free_packet(AVPacket *pkt); | 16 void av_free_packet(AVPacket *pkt); |
17 void av_init_packet(AVPacket *pkt); | 17 void av_init_packet(AVPacket *pkt); |
18 int av_dup_packet(AVPacket *pkt); | 18 int av_dup_packet(AVPacket *pkt); |
19 void avcodec_flush_buffers(AVCodecContext *avctx); | 19 void avcodec_flush_buffers(AVCodecContext *avctx); |
20 void avcodec_init(void); | 20 void avcodec_init(void); |
21 AVBitStreamFilterContext *av_bitstream_filter_init(const char *name); | 21 AVBitStreamFilterContext *av_bitstream_filter_init(const char *name); |
22 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); | 22 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); |
23 void av_bitstream_filter_close(AVBitStreamFilterContext *bsf); | 23 void av_bitstream_filter_close(AVBitStreamFilterContext *bsf); |
24 void av_destruct_packet(AVPacket *pkt); | 24 void av_destruct_packet(AVPacket *pkt); |
| 25 int av_lockmgr_register(AVLockMgrOperation cb); |
OLD | NEW |