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

Side by Side Diff: chromecast/media/cma/base/decoder_config_adapter.h

Issue 1074383002: Introduce VideoConfig/AudioConfig class for CMA backend (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 2015 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 CHROMECAST_MEDIA_CMA_BASE_DECODER_CONFIG_ADAPTER_H_
6 #define CHROMECAST_MEDIA_CMA_BASE_DECODER_CONFIG_ADAPTER_H_
7
8 namespace media {
9 class AudioDecoderConfig;
10 class VideoDecoderConfig;
11 } // namespace media
12
13 namespace chromecast {
14 namespace media {
15
16 class AudioConfig;
17 class VideoConfig;
18
19 class DecoderConfigAdapter {
20 public:
21 // Converts ::media::AudioDecoderConfig to chromecast::media::AudioConfig
22 static AudioConfig ToAudioConfig(const ::media::AudioDecoderConfig& config);
23
24 // Converts ::media::VideoDecoderConfig to chromecast::media::VideoConfig
25 static VideoConfig ToVideoConfig(const ::media::VideoDecoderConfig& config);
26 };
27
28 } // namespace media
29 } // namespace chromecast
30
31 #endif // CHROMECAST_MEDIA_CMA_BASE_DECODER_CONFIG_ADAPTER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698