Re: [FFmpeg-devel] [PATCH v3 1/3] lavc,doc: add avs2 codec

2018-06-01 Thread hwren
Hi, these samples may be helpful: https://gitee.com/hwren/avs2_samples .


Best Wishes,
hwren












At 2018-05-31 05:43:56, "Jan Ekström"  wrote:
>On Wed, May 30, 2018 at 4:19 AM, hwren  wrote:
>> Signed-off-by: hwren 
>> ---
>>  doc/APIchanges  | 3 +++
>>  libavcodec/avcodec.h| 1 +
>>  libavcodec/codec_desc.c | 7 +++
>>  libavcodec/version.h| 4 ++--
>>  4 files changed, 13 insertions(+), 2 deletions(-)
>>
>> diff --git a/doc/APIchanges b/doc/APIchanges
>> index efe15ba..3d08bb9 100644
>> --- a/doc/APIchanges
>> +++ b/doc/APIchanges
>> @@ -15,6 +15,9 @@ libavutil: 2017-10-21
>>
>>  API changes, most recent first:
>>
>> +2018-05-xx - xx - lavc 58.20.100 - avcodec.h
>> +  Add AV_CODEC_ID_AVS2.
>> +
>>  2018-05-xx - xx - lavf 58.15.100 - avformat.h
>>Add pmt_version field to AVProgram
>>
>> diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
>> index fb0c6fa..ce5f307 100644
>> --- a/libavcodec/avcodec.h
>> +++ b/libavcodec/avcodec.h
>> @@ -409,6 +409,7 @@ enum AVCodecID {
>>  AV_CODEC_ID_DXV,
>>  AV_CODEC_ID_SCREENPRESSO,
>>  AV_CODEC_ID_RSCC,
>> +AV_CODEC_ID_AVS2,
>>
>>  AV_CODEC_ID_Y41P = 0x8000,
>>  AV_CODEC_ID_AVRP,
>> diff --git a/libavcodec/codec_desc.c b/libavcodec/codec_desc.c
>> index 79552a9..e85492e 100644
>> --- a/libavcodec/codec_desc.c
>> +++ b/libavcodec/codec_desc.c
>> @@ -1395,6 +1395,13 @@ static const AVCodecDescriptor codec_descriptors[] = {
>>  .props = AV_CODEC_PROP_LOSSLESS,
>>  },
>>  {
>> +.id= AV_CODEC_ID_AVS2,
>> +.type  = AVMEDIA_TYPE_VIDEO,
>> +.name  = "avs2",
>> +.long_name = NULL_IF_CONFIG_SMALL("AVS2/IEEE 1857.4"),
>> +.props = AV_CODEC_PROP_LOSSY,
>> +},
>
>Hi,
>
>Are there any reference sample sets available for GY/T 299.1-2016 aka
>IEEE 1857.4 aka AVS2?
>
>I tried to search around and while I found some info that 92 samples
>were available on some semi-closed FTP, I couldn't really find any
>real test samples that could make a reference test suite.
>
>Best regards,
>Jan
>___
>ffmpeg-devel mailing list
>ffmpeg-devel@ffmpeg.org
>http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


Re: [FFmpeg-devel] [PATCH v3 1/3] lavc,doc: add avs2 codec

2018-05-30 Thread Jan Ekström
On Wed, May 30, 2018 at 4:19 AM, hwren  wrote:
> Signed-off-by: hwren 
> ---
>  doc/APIchanges  | 3 +++
>  libavcodec/avcodec.h| 1 +
>  libavcodec/codec_desc.c | 7 +++
>  libavcodec/version.h| 4 ++--
>  4 files changed, 13 insertions(+), 2 deletions(-)
>
> diff --git a/doc/APIchanges b/doc/APIchanges
> index efe15ba..3d08bb9 100644
> --- a/doc/APIchanges
> +++ b/doc/APIchanges
> @@ -15,6 +15,9 @@ libavutil: 2017-10-21
>
>  API changes, most recent first:
>
> +2018-05-xx - xx - lavc 58.20.100 - avcodec.h
> +  Add AV_CODEC_ID_AVS2.
> +
>  2018-05-xx - xx - lavf 58.15.100 - avformat.h
>Add pmt_version field to AVProgram
>
> diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
> index fb0c6fa..ce5f307 100644
> --- a/libavcodec/avcodec.h
> +++ b/libavcodec/avcodec.h
> @@ -409,6 +409,7 @@ enum AVCodecID {
>  AV_CODEC_ID_DXV,
>  AV_CODEC_ID_SCREENPRESSO,
>  AV_CODEC_ID_RSCC,
> +AV_CODEC_ID_AVS2,
>
>  AV_CODEC_ID_Y41P = 0x8000,
>  AV_CODEC_ID_AVRP,
> diff --git a/libavcodec/codec_desc.c b/libavcodec/codec_desc.c
> index 79552a9..e85492e 100644
> --- a/libavcodec/codec_desc.c
> +++ b/libavcodec/codec_desc.c
> @@ -1395,6 +1395,13 @@ static const AVCodecDescriptor codec_descriptors[] = {
>  .props = AV_CODEC_PROP_LOSSLESS,
>  },
>  {
> +.id= AV_CODEC_ID_AVS2,
> +.type  = AVMEDIA_TYPE_VIDEO,
> +.name  = "avs2",
> +.long_name = NULL_IF_CONFIG_SMALL("AVS2/IEEE 1857.4"),
> +.props = AV_CODEC_PROP_LOSSY,
> +},

Hi,

Are there any reference sample sets available for GY/T 299.1-2016 aka
IEEE 1857.4 aka AVS2?

I tried to search around and while I found some info that 92 samples
were available on some semi-closed FTP, I couldn't really find any
real test samples that could make a reference test suite.

Best regards,
Jan
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


[FFmpeg-devel] [PATCH v3 1/3] lavc,doc: add avs2 codec

2018-05-29 Thread hwren
Signed-off-by: hwren 
---
 doc/APIchanges  | 3 +++
 libavcodec/avcodec.h| 1 +
 libavcodec/codec_desc.c | 7 +++
 libavcodec/version.h| 4 ++--
 4 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/doc/APIchanges b/doc/APIchanges
index efe15ba..3d08bb9 100644
--- a/doc/APIchanges
+++ b/doc/APIchanges
@@ -15,6 +15,9 @@ libavutil: 2017-10-21
 
 API changes, most recent first:
 
+2018-05-xx - xx - lavc 58.20.100 - avcodec.h
+  Add AV_CODEC_ID_AVS2.
+
 2018-05-xx - xx - lavf 58.15.100 - avformat.h
   Add pmt_version field to AVProgram
 
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index fb0c6fa..ce5f307 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -409,6 +409,7 @@ enum AVCodecID {
 AV_CODEC_ID_DXV,
 AV_CODEC_ID_SCREENPRESSO,
 AV_CODEC_ID_RSCC,
+AV_CODEC_ID_AVS2,
 
 AV_CODEC_ID_Y41P = 0x8000,
 AV_CODEC_ID_AVRP,
diff --git a/libavcodec/codec_desc.c b/libavcodec/codec_desc.c
index 79552a9..e85492e 100644
--- a/libavcodec/codec_desc.c
+++ b/libavcodec/codec_desc.c
@@ -1395,6 +1395,13 @@ static const AVCodecDescriptor codec_descriptors[] = {
 .props = AV_CODEC_PROP_LOSSLESS,
 },
 {
+.id= AV_CODEC_ID_AVS2,
+.type  = AVMEDIA_TYPE_VIDEO,
+.name  = "avs2",
+.long_name = NULL_IF_CONFIG_SMALL("AVS2/IEEE 1857.4"),
+.props = AV_CODEC_PROP_LOSSY,
+},
+{
 .id= AV_CODEC_ID_Y41P,
 .type  = AVMEDIA_TYPE_VIDEO,
 .name  = "y41p",
diff --git a/libavcodec/version.h b/libavcodec/version.h
index f65346a..b9752ce 100644
--- a/libavcodec/version.h
+++ b/libavcodec/version.h
@@ -28,8 +28,8 @@
 #include "libavutil/version.h"
 
 #define LIBAVCODEC_VERSION_MAJOR  58
-#define LIBAVCODEC_VERSION_MINOR  19
-#define LIBAVCODEC_VERSION_MICRO 104
+#define LIBAVCODEC_VERSION_MINOR  20
+#define LIBAVCODEC_VERSION_MICRO 100
 
 #define LIBAVCODEC_VERSION_INT  AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
LIBAVCODEC_VERSION_MINOR, \
-- 
2.7.4

___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel