What I want to do is
- 1.decode h264 to NV12
- 2.transform NV12 to RGB
- 3.edit the RGB.
now I am stocking in transform NV12 to RGB
I wonder if I should use VideoProcessor.
- 1.I have got the
IMFMediaBuffer
which contains NV12 data. - 2.can I
CreateVideoProcessorInputView
usingIMFMediaBuffer
? - 3.I searched that maybe I can use
IMFDXGIBuffer
but i should make sure it is backed by surface and I do not know how to make sure it.
the CreateVideoProcessorInputView
receives ID3D11Resource
and I it be IMFMediaBuffer?