summaryrefslogtreecommitdiff
Diffstat
-rw-r--r--v3/Android.mk4
-rw-r--r--v3/EmulatedCamera3.cpp2
-rw-r--r--v3/EmulatedFakeCamera3.cpp99
-rw-r--r--v3/EmulatedFakeCamera3.h1
-rw-r--r--[-rwxr-xr-x]v3/EmulatedFakeCamera3Info.cpp1
-rw-r--r--[-rwxr-xr-x]v3/VendorTags.cpp7
-rw-r--r--v3/fake-pipeline2/Base.h2
-rw-r--r--v3/fake-pipeline2/JpegCompressor.cpp689
-rw-r--r--v3/fake-pipeline2/JpegCompressor.h26
-rw-r--r--v3/fake-pipeline2/Sensor.cpp45
-rw-r--r--v3/fake-pipeline2/Sensor.h2
11 files changed, 789 insertions, 89 deletions
diff --git a/v3/fake-pipeline2/Sensor.h b/v3/fake-pipeline2/Sensor.h
index 1f6e77f..15f9459 100644
--- a/v3/fake-pipeline2/Sensor.h
+++ b/v3/fake-pipeline2/Sensor.h
@@ -198,7 +198,7 @@ class Sensor: private Thread, public virtual RefBase {
int getPictureSizes(int32_t picSizes[], int size, bool preview);
int getStreamConfigurations(uint32_t picSizes[], const int32_t kAvailableFormats[], int size);
int64_t getMinFrameDuration();
- int getStreamConfigurationDurations(uint32_t picSizes[], int64_t duration[], int size);
+ int getStreamConfigurationDurations(uint32_t picSizes[], int64_t duration[], int size, bool flag);
bool isStreaming();
bool isNeedRestart(uint32_t width, uint32_t height, uint32_t pixelformat);
status_t IoctlStateProbe(void);