OSDN Git Service

Camera3: Separate the video and preview size filtering
authorZhijun He <zhijunhe@google.com>
Wed, 28 May 2014 21:57:54 +0000 (14:57 -0700)
committerZhijun He <zhijunhe@google.com>
Tue, 10 Jun 2014 17:20:23 +0000 (10:20 -0700)
commit0cbfbf3624c67cf40a18d5405a46d002aa12a048
tree3dc20024b634925744d71b0fe4b38a8ddb15d680
parentd8754e07e23eecb68068c0c392aeb0428c529e4e
Camera3: Separate the video and preview size filtering

Supported video sizes were generated from supported preview sizes, which
effectively filtered out sizes larger than 1080p. This change filters the
supported video sizes based on the media profiles supported h.264 max video
frame width and height.

Bug: 15287656

Change-Id: Ifbd9d37fb775371e2a4ee5cf80abbf83a75ffd65
services/camera/libcameraservice/api1/client2/Parameters.cpp
services/camera/libcameraservice/api1/client2/Parameters.h