mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-14 21:06:58 +08:00
lavc/cbs: Add JPEG support
This commit is contained in:
@@ -35,6 +35,9 @@ static const CodedBitstreamType *cbs_type_table[] = {
|
||||
#if CONFIG_CBS_H265
|
||||
&ff_cbs_type_h265,
|
||||
#endif
|
||||
#if CONFIG_CBS_JPEG
|
||||
&ff_cbs_type_jpeg,
|
||||
#endif
|
||||
#if CONFIG_CBS_MPEG2
|
||||
&ff_cbs_type_mpeg2,
|
||||
#endif
|
||||
@@ -50,6 +53,9 @@ const enum AVCodecID ff_cbs_all_codec_ids[] = {
|
||||
#if CONFIG_CBS_H265
|
||||
AV_CODEC_ID_H265,
|
||||
#endif
|
||||
#if CONFIG_CBS_JPEG
|
||||
AV_CODEC_ID_MJPEG,
|
||||
#endif
|
||||
#if CONFIG_CBS_MPEG2
|
||||
AV_CODEC_ID_MPEG2VIDEO,
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user