Searched refs:src_size_mjpg (Results 1 – 2 of 2) sorted by relevance
/external/libyuv/files/source/ |
D | mjpeg_validate.cc | 21 static LIBYUV_BOOL ScanEOI(const uint8_t* src_mjpg, size_t src_size_mjpg) { in ScanEOI() argument 22 if (src_size_mjpg >= 2) { in ScanEOI() 23 const uint8_t* end = src_mjpg + src_size_mjpg - 1; in ScanEOI() 42 LIBYUV_BOOL ValidateJpeg(const uint8_t* src_mjpg, size_t src_size_mjpg) { in ValidateJpeg() argument 46 if (src_size_mjpg < 64 || src_size_mjpg > kMaxJpegSize || !src_mjpg) { in ValidateJpeg() 57 if (src_size_mjpg > kBackSearchSize) { in ValidateJpeg() 58 if (ScanEOI(src_mjpg + src_size_mjpg - kBackSearchSize, kBackSearchSize)) { in ValidateJpeg() 62 src_size_mjpg = src_size_mjpg - kBackSearchSize + 1; in ValidateJpeg() 65 return ScanEOI(src_mjpg + 2, src_size_mjpg - 2); in ValidateJpeg()
|
D | convert_jpeg.cc | 93 size_t src_size_mjpg, in MJPGSize() argument 97 LIBYUV_BOOL ret = mjpeg_decoder.LoadFrame(src_mjpg, src_size_mjpg); in MJPGSize() 111 size_t src_size_mjpg, in MJPGToI420() argument 122 if (src_size_mjpg == kUnknownDataSize) { in MJPGToI420() 129 LIBYUV_BOOL ret = mjpeg_decoder.LoadFrame(src_mjpg, src_size_mjpg); in MJPGToI420() 253 size_t src_size_mjpg, in MJPGToNV21() argument 262 if (src_size_mjpg == kUnknownDataSize) { in MJPGToNV21() 269 LIBYUV_BOOL ret = mjpeg_decoder.LoadFrame(src_mjpg, src_size_mjpg); in MJPGToNV21() 386 size_t src_size_mjpg, in MJPGToARGB() argument 393 if (src_size_mjpg == kUnknownDataSize) { in MJPGToARGB() [all …]
|