Mercurial > libavcodec.hg
comparison pnm.h @ 10460:059265d3cc65 libavcodec
Move PNM init/end functions to the PNM common code.
This is done in preparation for the PNM encoder/decoder split.
author | diego |
---|---|
date | Tue, 27 Oct 2009 17:15:05 +0000 |
parents | 04423b2f6e0b |
children | d6860312274c |
comparison
equal
deleted
inserted
replaced
10459:a6bb56636f90 | 10460:059265d3cc65 |
---|---|
31 AVFrame picture; | 31 AVFrame picture; |
32 int maxval; ///< maximum value of a pixel | 32 int maxval; ///< maximum value of a pixel |
33 } PNMContext; | 33 } PNMContext; |
34 | 34 |
35 int ff_pnm_decode_header(AVCodecContext *avctx, PNMContext * const s); | 35 int ff_pnm_decode_header(AVCodecContext *avctx, PNMContext * const s); |
36 av_cold int ff_pnm_end(AVCodecContext *avctx); | |
37 av_cold int ff_pnm_init(AVCodecContext *avctx); | |
36 | 38 |
37 #endif /* AVCODEC_PNM_H */ | 39 #endif /* AVCODEC_PNM_H */ |