I have a Chrome CL that needs to include vp8dx.h to get vp8 decoder
functionality. It has to include like this:
extern "C" {
#define VPX_CODEC_DISABLE_COMPAT 1
#include "third_party/libvpx/source/libvpx/vpx/vpx_encoder.h"
#include "third_party/libvpx/source/libvpx/vpx/vp8cx.h"
}
The encoder header seems to be necessary to pull in the image structure
definition, IIRC. Unfortunately this header order breaks Chrome's header
ordering style.
Really vp8cx/hdx.h should include any necessary dependencies, though. :)
Original issue reported on code.google.com by wez@chromium.org on 21 Oct 2013 at 10:45
Original issue reported on code.google.com by
wez@chromium.org
on 21 Oct 2013 at 10:45