diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2018-11-02 15:33:20 -0400 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2018-11-05 12:39:23 -0500 |
commit | d37faad0cdbb5577b6ce72625847cae5bf110db9 (patch) | |
tree | 11319725eb49cd95b4d52dbba3cf6f6b5be8c1f5 /libavcodec/profiles.c | |
parent | aefbb2bf029f3a01cc4198c9470550f7b007e868 (diff) | |
download | ffmpeg-d37faad0cdbb5577b6ce72625847cae5bf110db9.tar.gz |
mjpeg: Use profile names in the encoder and decoder
Diffstat (limited to 'libavcodec/profiles.c')
-rw-r--r-- | libavcodec/profiles.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libavcodec/profiles.c b/libavcodec/profiles.c index 8a4447e438..e6f937fdb4 100644 --- a/libavcodec/profiles.c +++ b/libavcodec/profiles.c @@ -161,4 +161,13 @@ const AVProfile ff_prores_profiles[] = { { FF_PROFILE_UNKNOWN } }; +const AVProfile ff_mjpeg_profiles[] = { + { FF_PROFILE_MJPEG_HUFFMAN_BASELINE_DCT, "Baseline" }, + { FF_PROFILE_MJPEG_HUFFMAN_EXTENDED_SEQUENTIAL_DCT, "Sequential" }, + { FF_PROFILE_MJPEG_HUFFMAN_PROGRESSIVE_DCT, "Progressive" }, + { FF_PROFILE_MJPEG_HUFFMAN_LOSSLESS, "Lossless" }, + { FF_PROFILE_MJPEG_JPEG_LS, "JPEG LS" }, + { FF_PROFILE_UNKNOWN } +}; + #endif /* !CONFIG_SMALL */ |