Page Speed Optimization Libraries  1.13.35.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
jpeg_optimizer_test_helper.h
1 // Copyright 2011 Google Inc.
18 
19 #ifndef PAGESPEED_KERNEL_IMAGE_JPEG_OPTIMIZER_TEST_HELPER_H_
20 #define PAGESPEED_KERNEL_IMAGE_JPEG_OPTIMIZER_TEST_HELPER_H_
21 
23 
24 namespace pagespeed_testing {
25 namespace image_compression {
26 
28 bool GetJpegNumComponentsAndSamplingFactors(
29  const GoogleString& jpeg,
30  int* out_num_components,
31  int* out_h_samp_factor,
32  int* out_v_samp_factor);
33 
35 bool IsJpegSegmentPresent(const GoogleString& data, int segment);
36 
38 int GetNumScansInJpeg(const GoogleString& data);
39 
41 int GetColorProfileMarker();
42 
44 int GetExifDataMarker();
45 
46 }
47 }
48 
49 #endif
std::string GoogleString
PAGESPEED_KERNEL_BASE_STRING_H_.
Definition: string.h:24