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

Side by Side Diff: services/media/framework/conversion_pipeline_builder.h

Issue 1577953002: Motown in-proc streaming framework used to implement media services. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Fixes based on feedback. Created 4 years, 10 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 2016 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 SERVICES_MEDIA_FRAMEWORK_CONVERSION_PIPELINE_BUILDER_H_
6 #define SERVICES_MEDIA_FRAMEWORK_CONVERSION_PIPELINE_BUILDER_H_
7
8 #include "services/media/framework/engine.h"
9 #include "services/media/framework/packet.h"
10 #include "services/media/framework/stream_type.h"
11
12 namespace mojo {
13 namespace media {
14
15 // Attempts to add transforms to the given pipeline to convert in_type to a
16 // type compatible with out_type_sets. If it succeeds, returns true, updates
jeffbrown 2016/02/02 05:35:46 I feel like there's a parameter missing here to pr
dalesat 2016/02/02 21:46:38 Yes, this can be expanded to accommodate more scen
17 // *output and delivers the resulting output type via *out_type. If it fails,
18 // returns false, sets *out_type to nullptr and leaves *output unchanged.
19 bool BuildConversionPipeline(
20 const StreamTypePtr& in_type,
21 const StreamTypeSetsPtr& out_type_sets,
jeffbrown 2016/02/02 05:35:46 So this captures one-to-many demux cases but not m
dalesat 2016/02/02 21:46:38 That's currently out of scope for this function. I
22 Engine* engine,
23 Engine::Output* output,
24 StreamTypePtr* out_type);
25
26 } // namespace media
27 } // namespace mojo
28
29 #endif // SERVICES_MEDIA_FRAMEWORK_CONVERSION_PIPELINE_BUILDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698