Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 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 AVCodecContext *avcodec_alloc_context(void); | 7 AVCodecContext *avcodec_alloc_context(void); |
| 8 AVCodec *avcodec_find_decoder(enum CodecID id); | 8 AVCodec *avcodec_find_decoder(enum CodecID id); |
| 9 AVFrame *avcodec_alloc_frame(void); | 9 AVFrame *avcodec_alloc_frame(void); |
| 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, const AVPacket *avpkt); | 12 int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture, int *got_pict ure_ptr, const AVPacket *avpkt); |
| 13 int avcodec_open2(AVCodecContext *avctx, AVCodec *codec, AVDictionary **options) ; | 13 int avcodec_open2(AVCodecContext *avctx, AVCodec *codec, AVDictionary **options) ; |
| 14 int avcodec_close(AVCodecContext *avctx); | 14 int avcodec_close(AVCodecContext *avctx); |
| 15 void av_free_packet(AVPacket *pkt); | 15 void av_free_packet(AVPacket *pkt); |
| 16 void av_init_packet(AVPacket *pkt); | 16 void av_init_packet(AVPacket *pkt); |
| 17 int av_dup_packet(AVPacket *pkt); | 17 int av_dup_packet(AVPacket *pkt); |
| 18 void avcodec_flush_buffers(AVCodecContext *avctx); | 18 void avcodec_flush_buffers(AVCodecContext *avctx); |
| 19 void av_register_bitstream_filter(AVBitStreamFilter *bsf); | 19 void av_register_bitstream_filter(AVBitStreamFilter *bsf); |
| 20 AVBitStreamFilterContext *av_bitstream_filter_init(const char *name); | 20 AVBitStreamFilterContext *av_bitstream_filter_init(const char *name); |
| 21 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); | 21 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 void av_bitstream_filter_close(AVBitStreamFilterContext *bsf); | 22 void av_bitstream_filter_close(AVBitStreamFilterContext *bsf); |
| 23 void av_destruct_packet(AVPacket *pkt); | 23 void av_destruct_packet(AVPacket *pkt); |
| 24 int av_lockmgr_register(AVLockMgrOperation cb); | 24 int av_lockmgr_register(AVLockMgrOperation cb); |
| 25 int avcodec_default_get_buffer(AVCodecContext *s, AVFrame *pic); | |
|
Ami GONE FROM CHROMIUM
2012/05/28 18:30:01
See my comments on the other CL; hopefully you can
| |
| 26 void avcodec_default_release_buffer(AVCodecContext *s, AVFrame *pic); | |
| 27 void avcodec_align_dimensions(AVCodecContext *s, int *width, int *height); | |
| 25 | 28 |
| 26 # RDFT functions. | 29 # RDFT functions. |
| 27 RDFTContext *av_rdft_init(int nbits, enum RDFTransformType trans); | 30 RDFTContext *av_rdft_init(int nbits, enum RDFTransformType trans); |
| 28 void av_rdft_calc(RDFTContext *s, FFTSample *data); | 31 void av_rdft_calc(RDFTContext *s, FFTSample *data); |
| 29 void av_rdft_end(RDFTContext *s); | 32 void av_rdft_end(RDFTContext *s); |
| OLD | NEW |