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_thread_init(AVCodecContext *s, int thread_count); | 15 int avcodec_thread_init(AVCodecContext *s, int thread_count); |
15 void av_free_packet(AVPacket *pkt); | 16 void av_free_packet(AVPacket *pkt); |
16 void av_init_packet(AVPacket *pkt); | 17 void av_init_packet(AVPacket *pkt); |
17 void avcodec_flush_buffers(AVCodecContext *avctx); | 18 void avcodec_flush_buffers(AVCodecContext *avctx); |
18 void avcodec_init(void); | 19 void avcodec_init(void); |
OLD | NEW |