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

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: sync 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
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,
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
« no previous file with comments | « services/media/framework/allocator.cc ('k') | services/media/framework/conversion_pipeline_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698