[FFmpeg-devel] [PATCH] avcodec: Implement mpeg2 nvdec hwaccel
Timo Rothenpieler
timo at rothenpieler.org
Sun Nov 19 01:16:05 EET 2017
Am 18.11.2017 um 17:38 schrieb Carl Eugen Hoyos:
> 2017-11-16 17:36 GMT+01:00 Philip Langdale <philipl at overt.org>:
>
>> +AVHWAccel ff_mpeg2_nvdec_hwaccel = {
>> + .name = "mpeg2_nvdec",
>> + .type = AVMEDIA_TYPE_VIDEO,
>> + .id = AV_CODEC_ID_MPEG2VIDEO,
>> + .pix_fmt = AV_PIX_FMT_CUDA,
>> + .start_frame = nvdec_mpeg12_start_frame,
>> + .end_frame = nvdec_mpeg12_end_frame,
>> + .decode_slice = nvdec_mpeg12_decode_slice,
>> + .frame_params = nvdec_mpeg12_frame_params,
>> + .init = ff_nvdec_decode_init,
>> + .uninit = ff_nvdec_decode_uninit,
>> + .priv_data_size = sizeof(NVDECContext),
>> +};
>> +#endif
>> diff --git a/libavcodec/version.h b/libavcodec/version.h
>> index a75c885768..5b25a9a8ac 100644
>> --- a/libavcodec/version.h
>> +++ b/libavcodec/version.h
>> @@ -29,7 +29,7 @@
>>
>> #define LIBAVCODEC_VERSION_MAJOR 58
>> #define LIBAVCODEC_VERSION_MINOR 3
>> -#define LIBAVCODEC_VERSION_MICRO 102
>> +#define LIBAVCODEC_VERSION_MICRO 103
>
> It doesn't really matter but we usually do a minor
> bump when adding a hwaccel/encoder/demuxer/...
Doing a bunch of minor bumps for all the nvdec hwaccels that are coming
in in short succession seems a bit too forward to me. Which is why I
opted for micro bumps so far.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3994 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20171119/8e59568d/attachment.bin>
More information about the ffmpeg-devel
mailing list