mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-12-26 11:17:44 +01:00
[cmake]: add codec option
Use mpp/codecs.cmake to enable/disable codecs in order to reduce library size. All decoder and encoder can be disbaled now. Default all open. Change-Id: I3307460df12f2f3fc82898d823ab2da12002d6c6 Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
This commit is contained in:
parent
2ee1843c54
commit
30c6bd08c1
28 changed files with 479 additions and 287 deletions
|
|
@ -43,14 +43,30 @@ static const ParserApi *parsers[] = {
|
|||
#if HAVE_AVSD
|
||||
&api_avsd_parser,
|
||||
#endif
|
||||
#if HAVE_H263D
|
||||
&api_h263d_parser,
|
||||
#endif
|
||||
#if HAVE_H264D
|
||||
&api_h264d_parser,
|
||||
#endif
|
||||
#if HAVE_H265D
|
||||
&api_h265d_parser,
|
||||
#endif
|
||||
#if HAVE_MPEG2D
|
||||
&api_m2vd_parser,
|
||||
#endif
|
||||
#if HAVE_MPEG4D
|
||||
&api_mpg4d_parser,
|
||||
#endif
|
||||
#if HAVE_VP8D
|
||||
&api_vp8d_parser,
|
||||
#endif
|
||||
#if HAVE_VP9D
|
||||
&api_vp9d_parser,
|
||||
#endif
|
||||
#if HAVE_JPEGD
|
||||
&api_jpegd_parser,
|
||||
#endif
|
||||
&dummy_dec_parser,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue