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

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, 7 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 #include "chromecast/public/media/decoder_config.h"
9 #include "media/base/audio_decoder_config.h"
10 #include "media/base/video_decoder_config.h"
11
12 namespace chromecast {
13 namespace media {
14
15 class DecoderConfigAdapter {
16 public:
17 // Converts ::media::AudioDecoderConfig to chromecast::media::AudioConfig.
18 static AudioConfig ToAudioConfig(
lcwu1 2015/05/05 23:46:22 Maybe rename it to 'ToCastAudioConfig' to make it
erickung1 2015/05/06 01:17:11 Done.
19 const ::media::AudioDecoderConfig& config);
20
21 // Converts ::media::VideoDecoderConfig to chromecast::media::VideoConfig.
22 static VideoConfig ToVideoConfig(
23 const ::media::VideoDecoderConfig& config);
24 };
25
26 } // namespace media
27 } // namespace chromecast
28
29 #endif // CHROMECAST_MEDIA_CMA_BASE_DECODER_CONFIG_ADAPTER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698