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

Side by Side Diff: media/capture/video/chromeos/pixel_format_utils.h

Issue 2936373002: Revert of media: add video capture device for ARC++ camera HAL v3 (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef MEDIA_CAPTURE_VIDEO_CHROMEOS_PIXEL_FORMAT_UTILS_H_
6 #define MEDIA_CAPTURE_VIDEO_CHROMEOS_PIXEL_FORMAT_UTILS_H_
7
8 #include "media/capture/video/chromeos/mojo/arc_camera3.mojom.h"
9 #include "media/capture/video_capture_types.h"
10
11 namespace media {
12
13 // Converts the HAL pixel format |from| to Chromium pixel format. Returns
14 // PIXEL_FORMAT_UNKNOWN if |from| is not supported.
15 VideoPixelFormat PixFormatHalToChromium(arc::mojom::HalPixelFormat from);
16
17 // Converts the Chromium pixel format |from| to DRM pixel format. Returns 0
18 // if |from| is not supported.
19 uint32_t PixFormatChromiumToDrm(VideoPixelFormat from);
20
21 } // namespace media
22
23 #endif // MEDIA_CAPTURE_VIDEO_CHROMEOS_PIXEL_FORMAT_UTILS_H_
OLDNEW
« no previous file with comments | « media/capture/video/chromeos/mojo/camera_metadata_tags.mojom ('k') | media/capture/video/chromeos/pixel_format_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698