Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(306)

Issue 258783007: Mac AVFoundation: Allow use of all camera's supported resolutions. (Closed)

Created:
6 years, 7 months ago by mcasas
Modified:
6 years, 7 months ago
CC:
chromium-reviews, fischman+watch_chromium.org, feature-media-reviews_chromium.org, wjia+watch_chromium.org, mcasas+watch_chromium.org
Visibility:
Public.

Description

Mac AVFoundation: Allow use of all camera's supported resolutions. Historically, QTKit had the camera resolutions limited to QVGA/VGA/HD due to some internal rescaling not respecting aspect ratio in those systems. AVFoundation has not shown such problems, to the best of the author's knowledge, and the limited resolutions prevent using all the camera's capabilities. This CL enables the use of all resolutions listed by the camera as supported. QTKit implementation remains untouched. Tested: Locally using C910 and Facetime HD alternatively. This CL solves the attached bugs 367668, 367670. [1] https://code.google.com/p/chromium/codesearch#chromium/src/media/video/capture/mac/video_capture_device_mac.mm&sq=package:chromium&l=189 BUG=288562, 367668, 367670 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266845

Patch Set 1 #

Total comments: 4

Patch Set 2 : Removed sessionPreset logic. #

Total comments: 2

Patch Set 3 : bemasc@ nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -68 lines) Patch
M media/video/capture/mac/avfoundation_glue.h View 1 3 chunks +0 lines, -7 lines 0 comments Download
M media/video/capture/mac/avfoundation_glue.mm View 1 4 chunks +0 lines, -27 lines 0 comments Download
M media/video/capture/mac/video_capture_device_avfoundation_mac.mm View 1 2 1 chunk +6 lines, -33 lines 0 comments Download
M media/video/capture/mac/video_capture_device_mac.mm View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 14 (0 generated)
mcasas
bemasc@ PTAL since you wrote the QTKit resolution deciding code. rsesek@ PTAL. tommi@ PTAL/owners stamp.
6 years, 7 months ago (2014-04-28 12:16:58 UTC) #1
tommi (sloooow) - chröme
rs lgtm
6 years, 7 months ago (2014-04-28 12:42:05 UTC) #2
Robert Sesek
lgtm
6 years, 7 months ago (2014-04-28 14:14:45 UTC) #3
bemasc
https://codereview.chromium.org/258783007/diff/1/media/video/capture/mac/video_capture_device_avfoundation_mac.mm File media/video/capture/mac/video_capture_device_avfoundation_mac.mm (right): https://codereview.chromium.org/258783007/diff/1/media/video/capture/mac/video_capture_device_avfoundation_mac.mm#newcode178 media/video/capture/mac/video_capture_device_avfoundation_mac.mm:178: // Identify the sessionPreset that corresponds to the desired ...
6 years, 7 months ago (2014-04-28 17:17:32 UTC) #4
mcasas
bemasc@, PTAL. https://codereview.chromium.org/258783007/diff/1/media/video/capture/mac/video_capture_device_avfoundation_mac.mm File media/video/capture/mac/video_capture_device_avfoundation_mac.mm (right): https://codereview.chromium.org/258783007/diff/1/media/video/capture/mac/video_capture_device_avfoundation_mac.mm#newcode178 media/video/capture/mac/video_capture_device_avfoundation_mac.mm:178: // Identify the sessionPreset that corresponds to ...
6 years, 7 months ago (2014-04-28 19:01:36 UTC) #5
bemasc
lgtm https://codereview.chromium.org/258783007/diff/10001/media/video/capture/mac/video_capture_device_avfoundation_mac.mm File media/video/capture/mac/video_capture_device_avfoundation_mac.mm (right): https://codereview.chromium.org/258783007/diff/10001/media/video/capture/mac/video_capture_device_avfoundation_mac.mm#newcode179 media/video/capture/mac/video_capture_device_avfoundation_mac.mm:179: // detailing that setting the sessionPreset is enough. ...
6 years, 7 months ago (2014-04-28 19:18:03 UTC) #6
mcasas
https://codereview.chromium.org/258783007/diff/10001/media/video/capture/mac/video_capture_device_avfoundation_mac.mm File media/video/capture/mac/video_capture_device_avfoundation_mac.mm (right): https://codereview.chromium.org/258783007/diff/10001/media/video/capture/mac/video_capture_device_avfoundation_mac.mm#newcode179 media/video/capture/mac/video_capture_device_avfoundation_mac.mm:179: // detailing that setting the sessionPreset is enough. The ...
6 years, 7 months ago (2014-04-29 06:56:31 UTC) #7
mcasas
The CQ bit was checked by mcasas@chromium.org
6 years, 7 months ago (2014-04-29 06:56:38 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mcasas@chromium.org/258783007/30001
6 years, 7 months ago (2014-04-29 06:57:06 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-29 07:00:53 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_rel
6 years, 7 months ago (2014-04-29 07:00:54 UTC) #11
mcasas
The CQ bit was checked by mcasas@chromium.org
6 years, 7 months ago (2014-04-29 07:21:01 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mcasas@chromium.org/258783007/30001
6 years, 7 months ago (2014-04-29 07:23:16 UTC) #13
commit-bot: I haz the power
6 years, 7 months ago (2014-04-29 11:21:22 UTC) #14
Message was sent while issue was closed.
Change committed as 266845

Powered by Google App Engine
This is Rietveld 408576698