On 04/05/17 07:44, wm4 wrote: > The actual hwaccel code will need to access an internal context instead > of avctx->hwaccel_context, so add a new DXVA_CONTEXT() macro, that will > dispatch between the "old" external and the new internal context. > > Also, the new API requires a new D3D11 pixfmt, so all places which check > for the pixfmt need to be adjusted. Introduce a ff_dxva2_is_d3d11() > function, which does the check. > --- > libavcodec/dxva2.c | 33 +++++++++++++++++++++------------ > libavcodec/dxva2_h264.c | 14 +++++++------- > libavcodec/dxva2_hevc.c | 10 +++++----- > libavcodec/dxva2_internal.h | 22 +++++++++++++--------- > libavcodec/dxva2_mpeg2.c | 10 +++++----- > libavcodec/dxva2_vc1.c | 10 +++++----- > 6 files changed, 56 insertions(+), 43 deletions(-)
Ok. (Interesting part is good; mechanical part looks fine.) _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
