Quoting Diego Biurrun (2016-12-15 10:58:52) > On Thu, Dec 15, 2016 at 10:32:09AM +0100, Anton Khirnov wrote: > > Partially based on a patch by Timo Rothenpieler <[email protected]> > > --- > > Changelog | 2 +- > > configure | 3 + > > libavcodec/Makefile | 1 + > > libavcodec/allcodecs.c | 1 + > > libavcodec/hevcdec.c | 6 +- > > libavcodec/vaapi_decode.c | 1 + > > libavcodec/vaapi_hevc.c | 443 > > ++++++++++++++++++++++++++++++++++++++++++++++ > > 7 files changed, 455 insertions(+), 2 deletions(-) > > create mode 100644 libavcodec/vaapi_hevc.c > > version bump?
for what purpose? > > > --- a/configure > > +++ b/configure > > @@ -2152,6 +2152,8 @@ hevc_d3d11va_hwaccel_deps="d3d11va > > DXVA_PicParams_HEVC" > > hevc_dxva2_hwaccel_deps="dxva2 DXVA_PicParams_HEVC" > > hevc_dxva2_hwaccel_select="hevc_decoder" > > +hevc_vaapi_hwaccel_deps="vaapi VAPictureParameterBufferHEVC" > > +hevc_vaapi_hwaccel_select="hevc_decoder" > > hevc_qsv_hwaccel_deps="libmfx" > > order > > > @@ -4567,6 +4569,7 @@ check_type "windows.h d3d11.h" "ID3D11VideoDecoder" > > check_type "d3d9.h dxva2api.h" DXVA2_ConfigPictureDecode > > -D_WIN32_WINNT=0x0602 > > > > check_type "va/va.h va/va_dec_vp8.h" "VAPictureParameterBufferVP8" > > +check_type "va/va.h va/va_dec_hevc.h" "VAPictureParameterBufferHEVC" > > check_type "va/va.h va/va_vpp.h" "VAProcPipelineParameterBuffer" > > same > > > --- /dev/null > > +++ b/libavcodec/vaapi_hevc.c > > @@ -0,0 +1,443 @@ > > +static int vaapi_hevc_decode_slice(AVCodecContext *avctx, > > + const uint8_t *buffer, > > + uint32_t size) > > size_t size ;-p stab You could look at the context in which this function is used first. -- Anton Khirnov _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
