| 1 | #include <cvd/videosource.h> |
| 2 | |
| 3 | namespace CVD |
| 4 | { |
| 5 | |
| 6 | template <> |
| 7 | VideoBuffer<byte>* makeV4LBuffer(const std::string&, const ImageRef&, int, bool, bool) |
| 8 | { |
| 9 | throw VideoSourceException("V4LBuffer is not compiled in to libcvd."); |
| 10 | } |
| 11 | |
| 12 | template <> |
| 13 | VideoBuffer<bayer_grbg>* makeV4LBuffer(const std::string&, const ImageRef&, int, bool, bool) |
| 14 | { |
| 15 | throw VideoSourceException("V4LBuffer is not compiled in to libcvd."); |
| 16 | } |
| 17 | |
| 18 | template <> |
| 19 | VideoBuffer<yuv422>* makeV4LBuffer(const std::string&, const ImageRef&, int, bool, bool) |
| 20 | { |
| 21 | throw VideoSourceException("V4LBuffer is not compiled in to libcvd."); |
| 22 | } |
| 23 | |
| 24 | template <> |
| 25 | VideoBuffer<vuy422>* makeV4LBuffer(const std::string&, const ImageRef&, int, bool, bool) |
| 26 | { |
| 27 | throw VideoSourceException("V4LBuffer is not compiled in to libcvd."); |
| 28 | } |
| 29 | |
| 30 | template <> |
| 31 | VideoBuffer<Rgb<byte>>* makeV4LBuffer(const std::string&, const ImageRef&, int, bool, bool) |
| 32 | { |
| 33 | throw VideoSourceException("V4LBuffer is not compiled in to libcvd."); |
| 34 | } |
| 35 | |
| 36 | template <> |
| 37 | VideoBuffer<Rgb8>* makeV4LBuffer(const std::string&, const ImageRef&, int, bool, bool) |
| 38 | { |
| 39 | throw VideoSourceException("V4LBuffer is not compiled in to libcvd."); |
| 40 | } |
| 41 | |
| 42 | template <> |
| 43 | VideoBuffer<yuv420p>* makeV4LBuffer(const std::string&, const ImageRef&, int, bool, bool) |
| 44 | { |
| 45 | throw VideoSourceException("V4LBuffer is not compiled in to libcvd."); |
| 46 | } |
| 47 | |
| 48 | } |