DescriptionChanged mft_h264_decoder's API to match with video_decode_engine.h. Also changed the example and unittests.
Implementation of mft_h264_decoder.cc is similar to ffmpeg_video_decode_engine.cc. For now, a d3d surface output from the decoder is converted from NV12 to YV12 and stored in regular memory. So rendering with --enable-dxva is a bit
slower for now. Once we figure out how to connect with ANGLE, we won't need the conversion / transfer.
basic_renderer.* is now replaced with a simpler implementation of EventHandler inside the example code. d3d_util.* is also removed because d3d9 initialization is now moved inside the initialization of the decoder and it is the only place where it is used.
BUG=none
TEST=included in this patch
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=57261
Patch Set 1 #
Total comments: 5
Messages
Total messages: 5 (0 generated)
|