OSDN Git Service

dxva2: get the slice number directly from the surface in D3D11VA
authorSteve Lhomme <robux4@gmail.com>
Fri, 13 Jan 2017 13:01:06 +0000 (14:01 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 16 Jan 2017 01:54:04 +0000 (02:54 +0100)
commit153b36fc62849e0e1540a43829794e0503994ebb
treeed4d8132520f32dfd7ad518361b7a7fcaeb31b22
parent77742c75c5503c848447814a96f16abc6b9aa5f4
dxva2: get the slice number directly from the surface in D3D11VA

No need to loop through the known surfaces, we'll use the requested surface
anyway.

The loop is only done for DXVA2.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/dxva2.c