Unified · Split
| @@ -49,7 +49,7 @@ top-field-first is assumed · 48 unmodified lines | |||
| 49 | 49 | ||
| 50 | @section libdavs2 | 50 | @section libdavs2 |
| 51 | 51 | ||
| 52 | AVS2/IEEE 1857.4 video decoder wrapper. | 52 | AVS2-P2/IEEE1857.4 video decoder wrapper. |
| 53 | 53 | ||
| 54 | This decoder allows libavcodec to decode AVS2 streams with davs2 library. | 54 | This decoder allows libavcodec to decode AVS2 streams with davs2 library. |
| 55 | 55 | ||
| @@ -19,7 +19,7 @@ explicitly requested by passing the appropriate flags to · 18 unmodified lines | |||
| 19 | 19 | ||
| 20 | @section libdavs2 | 20 | @section libdavs2 |
| 21 | 21 | ||
| 22 | FFmpeg can make use of the davs2 library for AVS2/IEEE 1857.4 video decoding. | 22 | FFmpeg can make use of the davs2 library for AVS2-P2/IEEE1857.4 video decoding. |
| 23 | 23 | ||
| 24 | Go to @url{https://github.com/pkuvcl/davs2} and follow the instructions for | 24 | Go to @url{https://github.com/pkuvcl/davs2} and follow the instructions for |
| 25 | installing the library. Then pass @code{--enable-libdavs2} to configure to | 25 | installing the library. Then pass @code{--enable-libdavs2} to configure to |
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * AVS2/IEEE 1857.4 video parser. | 2 | * AVS2-P2/IEEE1857.4 video parser. |
| 3 | * Copyright (c) 2018 Huiwen Ren <hwrenx@gmail.com> | 3 | * Copyright (c) 2018 Huiwen Ren <hwrenx@gmail.com> |
| 4 | * | 4 | * |
| 5 | * This file is part of FFmpeg. | 5 | * This file is part of FFmpeg. |
| @@ -1398,7 +1398,7 @@ static const AVCodecDescriptor codec_descriptors[] = { · 1397 unmodified lines | |||
| 1398 | .id = AV_CODEC_ID_AVS2, | 1398 | .id = AV_CODEC_ID_AVS2, |
| 1399 | .type = AVMEDIA_TYPE_VIDEO, | 1399 | .type = AVMEDIA_TYPE_VIDEO, |
| 1400 | .name = "avs2", | 1400 | .name = "avs2", |
| 1401 | .long_name = NULL_IF_CONFIG_SMALL("AVS2/IEEE 1857.4"), | 1401 | .long_name = NULL_IF_CONFIG_SMALL("AVS2-P2/IEEE1857.4"), |
| 1402 | .props = AV_CODEC_PROP_LOSSY, | 1402 | .props = AV_CODEC_PROP_LOSSY, |
| 1403 | }, | 1403 | }, |
| 1404 | { | 1404 | { |
| @@ -163,7 +163,7 @@ static int davs2_decode_frame(AVCodecContext *avctx, void *data, · 162 unmodified lines | |||
| 163 | 163 | ||
| 164 | AVCodec ff_libdavs2_decoder = { | 164 | AVCodec ff_libdavs2_decoder = { |
| 165 | .name = "libdavs2", | 165 | .name = "libdavs2", |
| 166 | .long_name = NULL_IF_CONFIG_SMALL("Decoder for AVS2/IEEE 1857.4"), | 166 | .long_name = NULL_IF_CONFIG_SMALL("libdavs2 AVS2-P2/IEEE1857.4"), |
| 167 | .type = AVMEDIA_TYPE_VIDEO, | 167 | .type = AVMEDIA_TYPE_VIDEO, |
| 168 | .id = AV_CODEC_ID_AVS2, | 168 | .id = AV_CODEC_ID_AVS2, |
| 169 | .priv_data_size = sizeof(DAVS2Context), | 169 | .priv_data_size = sizeof(DAVS2Context), |