[FFmpeg-devel] [PATCH] AV1 VDPAU hwaccel Decode support

2022-05-16 Thread ManojGuptaBonda
Support for VDPAU accelerated AV1 decoding was added with libvdpau-1.5. Support for the same in ffmpeg is added with this patch. Profiles related to VDPAU AV1 can be found in latest vdpau.h present in libvdpau-1.5. Add AV1 VDPAU to list of hwaccels and supported formats Added file vdpau_av1.c and

[FFmpeg-devel] [PATCH] VP9 Profile 2 VDPAU support

2020-10-07 Thread ManojGuptaBonda
Added VDPAU to list of supported formats for VP9 420 10 and 12 bit formats. Add VP9 10/12 Bit support for VDPAU --- libavcodec/vp9.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/libavcodec/vp9.c b/libavcodec/vp9.c index fd0bab14a2..8b89fd68e2 100644 --- a/libavcodec/vp9.c +++ b/libavc

[FFmpeg-devel] [PATCH] Set AVSTREAM_PARSE_HEADERS flag for AV1 MP4 streams.

2020-08-19 Thread ManojGuptaBonda
From: Vikas Agarwal It allow AV1 header parsing and help initialize chroma format and other info properly. Chroma format wasn't correct if we use below code: avformat_find_stream_info(fmtc, NULL); iVideoStream = av_find_best_stream(fmtc, AVMEDIA_TYPE_VIDEO, -1, -1, NULL, 0); eChromaFormat = (AV

[FFmpeg-devel] [PATCH 2/2] Add VDPAU to list of supported formats

2020-06-27 Thread ManojGuptaBonda
Added VDPAU to list of supported formats for HEVC10 and 12 bit formats also added 42010 bit to surface_parameters and new VDP chroma formats to VDPAUPixFmtMaps Add HEVC 420 10/12 Bit and 444 10/12 Bit support for VDPAU YUV444P10 is defined as the 444 surface with 10bit valid data in LSBs but H/

[FFmpeg-devel] [PATCH 0/2] VDPAU HEVC 10/12 Bit Decode Support

2020-06-27 Thread ManojGuptaBonda
NVIDIA R450 driver added VDPAU support for HEVC 10/12 bit Decoding adding the same in ffmpeg. Updated version with #ifdef guards to continue compiling with older releases ManojGuptaBonda (2): lavc/vdpau_hevc: add function to find exact vdp_profile for REXT Add VDPAU to list of supported

[FFmpeg-devel] [PATCH 1/2] lavc/vdpau_hevc: add function to find exact vdp_profile for REXT

2020-06-27 Thread ManojGuptaBonda
Add vdpau_parse_rext_profile and use profile constraint flags to determine the exact vdp_profile for HEVC_REXT. If profile mismatch is allowed, select Main profile by default. Add build object in Makefile for h265_profile_level dependency. --- libavcodec/Makefile | 2 +- libavcodec/vdpau_he

[FFmpeg-devel] [PATCH 1/2] lavc/vdpau_hevc: add function to find exact vdp_profile for REXT

2020-06-26 Thread ManojGuptaBonda
Add vdpau_parse_rext_profile and use profile constraint flags to determine the exact vdp_profile for HEVC_REXT. If profile mismatch is allowed, select Main profile by default. Add build object in Makefile for h265_profile_level dependency. --- libavcodec/Makefile | 2 +- libavcodec/vdpau_he

[FFmpeg-devel] [PATCH 2/2] Add VDPAU to list of supported formats

2020-06-26 Thread ManojGuptaBonda
Added VDPAU to list of supported formats for HEVC10 and 12 bit formats also added 42010 bit to surface_parameters and new VDP chroma formats to VDPAUPixFmtMaps Add HEVC 420 10/12 Bit and 444 10/12 Bit support for VDPAU YUV444P10 is defined as the 444 surface with 10bit valid data in LSBs but H/

[FFmpeg-devel] [PATCH 0/2] VDPAU HEVC 10/12 Bit Decode Support

2020-06-26 Thread ManojGuptaBonda
NVIDIA R450 driver added VDPAU support for HEVC 10/12 bit Decoding adding the same in ffmpeg. Updated version with #ifdef guards to continue compiling with older releases ManojGuptaBonda (2): lavc/vdpau_hevc: add function to find exact vdp_profile for REXT Add VDPAU to list of supported

[FFmpeg-devel] [PATCH 1/2] lavc/vdpau_hevc: add function to find exact vdp_profile for REXT

2020-06-25 Thread ManojGuptaBonda
Add vdpau_parse_rext_profile and use profile constraint flags to determine the exact vdp_profile for HEVC_REXT. If profile mismatch is allowed, select Main profile by default. Add build object in Makefile for h265_profile_level dependency. --- libavcodec/Makefile | 2 +- libavcodec/vdpau_he

[FFmpeg-devel] [PATCH 0/2] VDPAU HEVC 10/12 Bit Decode Support

2020-06-25 Thread ManojGuptaBonda
NVIDIA R450 driver added VDPAU support for HEVC 10/12 bit Decoding adding the same in ffmpeg ManojGuptaBonda (2): lavc/vdpau_hevc: add function to find exact vdp_profile for REXT Add VDPAU to list of supported formats libavcodec/Makefile | 2 +- libavcodec/hevcdec.c| 6

[FFmpeg-devel] [PATCH 2/2] Add VDPAU to list of supported formats

2020-06-25 Thread ManojGuptaBonda
Added VDPAU to list of supported formats for HEVC10 and 12 bit formats also added 42010 bit to surface_parameters and new VDP chroma formats to VDPAUPixFmtMaps Add HEVC 420 10/12 Bit and 444 10/12 Bit support for VDPAU YUV444P10 is defined as the 444 surface with 10bit valid data in LSBs but H/

[FFmpeg-devel] [PATCH] initialize avctx->pix_fmt in av1 parser.

2020-06-19 Thread ManojGuptaBonda
Initialize avctx->pix_fmt in av1_parser.c AV1 Chroma format is invalid when quering using below code: iVideoStream = av_find_best_stream(fmtc, AVMEDIA_TYPE_VIDEO, -1, -1, > NULL, 0); eChromaFormat = (AVPixelFormat)fmtc->streams[iVideoStream]->codecpar-> >format; --- libavcodec/av1_parser.c | 1 +

[FFmpeg-devel] [PATCH] configure: enable ffnvcodec, nvenc, nvdec for aarch64

2020-04-22 Thread ManojGuptaBonda
Adding the support to build FFMPEG with HW accelerated decode(nvdec) and encode on aarch64 architecture. --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 6533b43250..080d93a129 100755 --- a/configure +++ b/configure @@ -6675,7 +6675,7 @@

[FFmpeg-devel] [PATCH v2] Add support for VP9 VDPAU hwaccel decode

2019-10-24 Thread ManojGuptaBonda
Support for VDPAU accelerated VP9 decoding was added with libvdpau-1.3. Support for the same in ffmpeg is added with this patch. Profiles related to VDPAU VP9 can be found in latest vdpau.h present in libvdpau-1.3. DRC clips are not supported yet due to http://trac.ffmpeg.org/ticket/8068 Add VP9 V

[FFmpeg-devel] [PATCH] Add support for VP9 VDPAU hwaccel decode

2019-10-22 Thread ManojGuptaBonda
Support for VDPAU accelerated VP9 decoding was added with libvdpau-1.3. Support for the same in ffmpeg is added with this patch. Profiles related to VDPAU VP9 can be found in latest vdpau.h present in libvdpau-1.3. DRC clips are not supported yet due to http://trac.ffmpeg.org/ticket/8068 Add VP9 V

[FFmpeg-devel] [PATCH 1/2] Add VP9 VDPAU to list of hwaccels and supported formats

2019-10-21 Thread ManojGuptaBonda
Added file vdpau_vp9.c for supporting VDPAU VP9 decoding in FFmpeg with stub functions. Modified configure to add VDPAU VP9 support. Mapped VP9 profiles to VDPAU VP9 profiles. Support for VDPAU accelerated VP9 decoding was added with libvdpau-1.3 version. Profiles related to VDPAU VP9 can be found

[FFmpeg-devel] [PATCH 2/2] Add decode support for VDPAU VP9.

2019-10-21 Thread ManojGuptaBonda
Populate the codec specific params that need to be passed to VDPAU. --- libavcodec/vdpau_vp9.c | 155 - 1 file changed, 153 insertions(+), 2 deletions(-) diff --git a/libavcodec/vdpau_vp9.c b/libavcodec/vdpau_vp9.c index d8f629d135..f1ee4ac5e0 100644 --- a/

[FFmpeg-devel] [PATCH 2/2] Add decode support for VDPAU VP9.

2019-10-21 Thread ManojGuptaBonda
Populate the codec specific params that need to be passed to VDPAU. --- libavcodec/vdpau_vp9.c | 155 - 1 file changed, 153 insertions(+), 2 deletions(-) diff --git a/libavcodec/vdpau_vp9.c b/libavcodec/vdpau_vp9.c index d8f629d135..f1ee4ac5e0 100644 --- a/

[FFmpeg-devel] [PATCH 0/2] *** Add Support for VDPAU accelerated VP9 decoding ***

2019-10-21 Thread ManojGuptaBonda
Support for VDPAU accelerated VP9 decoding was added with libvdpau-1.3. Support for the same in ffmpeg is being added with these patches. DRC clips are not supported yet due to http://trac.ffmpeg.org/ticket/8068 ManojGuptaBonda (2): Add VP9 VDPAU to list of hwaccels and supported formats

[FFmpeg-devel] [PATCH 0/2] *** Add Support for VDPAU accelerated VP9 decoding ***

2019-10-21 Thread ManojGuptaBonda
Support for VDPAU accelerated VP9 decoding was added with libvdpau-1.3. Support for the same in ffmpeg is being added with these patches. DRC clips are not supported yet due to http://trac.ffmpeg.org/ticket/8068 ManojGuptaBonda (2): Add VP9 VDPAU to list of hwaccels and supported formats

[FFmpeg-devel] [PATCH 1/2] Add VP9 VDPAU to list of hwaccels and supported formats

2019-10-21 Thread ManojGuptaBonda
Added file vdpau_vp9.c for supporting VDPAU VP9 decoding in FFmpeg with stub functions. Modified configure to add VDPAU VP9 support. Mapped VP9 profiles to VDPAU VP9 profiles. Support for VDPAU accelerated VP9 decoding was added with libvdpau-1.3 version. Profiles related to VDPAU VP9 can be found

[FFmpeg-devel] [PATCH 3/3 v2] Map 444 pix fmts to new VdpYCbCr types defined in VDPAU.

2019-05-03 Thread ManojGuptaBonda
New VdpYCbCr Formats VDP_YCBCR_FORMAT_Y_U_V_444 and, VDP_YCBCR_FORMAT_Y_UV_444 have been added in VDPAU with libvdpau-1.2 to be used in get/putbits for YUV 4:4:4 surfaces. Earlier mapping of AV_PIX_FMT_YUV444P to VDP_YCBCR_FORMAT_YV12 is not valid. Hence this Change maps AV_PIX_FMT_YUV444P to VDP_

[FFmpeg-devel] [PATCH 2/3] Pass sps and pps range extension flags to VDPAU.

2019-04-25 Thread ManojGuptaBonda
Pass SPS, PPS range extensions to VDPAU layer via VdpPictureInfoHEVC444. Added VdpPictureInfoHEVC444 struct to VdpPictureInfo union to populate the range extension params. Mapped FF_PROFILE_HEVC_REXT to VDP_DECODER_PROFILE_HEVC_MAIN_444. --- libavcodec/vdpau_hevc.c | 41 +++

[FFmpeg-devel] [PATCH 3/3] Map 444 pix fmts to new VdpYCbCr types defined in VDPAU.

2019-04-25 Thread ManojGuptaBonda
New VdpYCbCr Formats VDP_YCBCR_FORMAT_Y_U_V_444 and, VDP_YCBCR_FORMAT_Y_UV_444 have been added in VDPAU to be used in get/putbits for YUV 4:4:4 surfaces. Earlier mapping of AV_PIX_FMT_YUV444P to VDP_YCBCR_FORMAT_YV12 is not valid. Hence this Change maps AV_PIX_FMT_YUV444P to VDP_YCBCR_FORMAT_Y_U_V

[FFmpeg-devel] [PATCH 0/3] *** VDPAU: HEVC YUV 4:4:4 Support ***

2019-04-25 Thread ManojGuptaBonda
Latest generation video decoder on Turing Chips supports decoding HEVC 4:4:4 decoding. These changes adds support for the same for VDPAU ManojGuptaBonda (3): VDPAU: Add support for decoding HEVC 4:4:4 content Pass sps and pps range extension flags to VDPAU. Map 444 pix fmts to new VdpYCbCr

[FFmpeg-devel] [PATCH 1/3] VDPAU: Add support for decoding HEVC 4:4:4 content

2019-04-25 Thread ManojGuptaBonda
The latest generation video decoder on the Turing chips supports decoding HEVC 4:4:4. This change adds AV_PIX_FMT_VDPAU as a valid format for HEVC 4:4:4 8 bit. --- libavcodec/hevcdec.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/libavcodec/hevcdec.c b/libavcodec/hev

[FFmpeg-devel] [PATCH 0/3] *** VDPAU: HEVC YUV 4:4:4 Support ***

2019-04-25 Thread ManojGuptaBonda
Latest generation video decoder on Turing Chips supports decoding HEVC 4:4:4 decoding. These changes adds support for the same for VDPAU ManojGuptaBonda (3): VDPAU: Add support for decoding HEVC 4:4:4 content Pass sps and pps range extension flags to VDPAU. Map 444 pix fmts to new VdpYCbCr