Skip to content

Commit 5ce4e4d

Browse files
authored
[TC-AVSM-2.10] Fix Camera default resolution for CaptureSnapshot (#41729)
* [TC-AVSM-2.10] Fix Camera default resultion for CaptureSnapshot * Update comments
1 parent 3548c02 commit 5ce4e4d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

examples/camera-app/linux/include/camera-device.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ static constexpr uint32_t kMaxEncodedPixelRate = 248832000; // 1080p at 12
4545
static constexpr uint8_t kMicrophoneMinLevel = 1;
4646
static constexpr uint8_t kMicrophoneMaxLevel = 254; // Spec constraint
4747
static constexpr uint8_t kMicrophoneMaxChannelCount = 8; // Spec Constraint in AudioStreamAllocate
48-
static constexpr uint16_t kMinResolutionWidth = 640; // Low SD resolution
49-
static constexpr uint16_t kMinResolutionHeight = 360; // Low SD resolution
48+
static constexpr uint16_t kMinResolutionWidth = 640; // Low VGA resolution
49+
static constexpr uint16_t kMinResolutionHeight = 480; // Low VGA resolution
5050
static constexpr uint16_t k720pResolutionWidth = 1280; // 720p resolution
5151
static constexpr uint16_t k720pResolutionHeight = 720; // 720p resolution
5252
static constexpr uint16_t kMaxResolutionWidth = 1920; // 1080p resolution

examples/camera-controller/device-manager/AVStreamManagement.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ constexpr uint16_t kMaxFrameRate = 120;
2828
constexpr uint32_t kDefaultBitRate = 10000; // bits per second
2929
constexpr uint16_t kKeyFrameInterval = 4000;
3030
constexpr uint16_t kMinWidth = 640;
31-
constexpr uint16_t kMinHeight = 360;
31+
constexpr uint16_t kMinHeight = 480;
3232
constexpr uint16_t kMaxWidth = 1920;
3333
constexpr uint16_t kMaxHeight = 1080;
3434

0 commit comments

Comments
 (0)