Home for hardware-accelerated vpx decoder. The API functions equired by gpu_video_decode_accelerator are implemented. The code incorporates the solution to hardware decoder failure caused by moving ANGLE to D3D11.  The details are in https://code.google.com/p/chromium/issues/detail?id=330271 . In particular, check e.g. #14 post for diagnosis. AMD's Chromium-WebCL repository requires D3D11-based ANGLE because of CL-GL interop reqirements (not supported in 9), therefore we moved to D3D11 in ANGLE early on. Decoding results from software libvpx is copied into a YV12 d3d9 texture by locking the texture and using the pointer. The YV12 texture is transfer to the final PictureBuffer (output texture) which is RGBA format.

There is an extra copy of input buffer when the input buffer cannot be immediately processed and has to be put in the pending_input_buffers_ structure. The extra allocation and copying should be avoided if possible.