8 #ifndef CSCORE_JPEGUTIL_H_ 9 #define CSCORE_JPEGUTIL_H_ 13 #include <wpi/StringRef.h> 25 bool JpegNeedsDHT(
const char* data,
size_t*
size,
size_t* locSOF);
29 bool ReadJpeg(
wpi::raw_istream& is, std::string& buf,
int* width,
int* height);
33 #endif // CSCORE_JPEGUTIL_H_ Definition: CvSourceImpl.h:19
namespace to hold default to_json function
Definition: json_binary_writer.cpp:39
Definition: raw_istream.h:26
auto size(R &&Range, typename std::enable_if< std::is_same< typename std::iterator_traits< decltype(Range.begin())>::iterator_category, std::random_access_iterator_tag >::value, void >::type *=nullptr) -> decltype(std::distance(Range.begin(), Range.end()))
Get the size of a range.
Definition: STLExtras.h:999
StringRef - Represent a constant reference to a string, i.e.
Definition: StringRef.h:49