Chromium Code Reviews| OLD | NEW |
|---|---|
| (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( | |
|
johngro
2016/01/20 00:25:32
re: style
We are not supposed to be passing mutabl
dalesat
2016/01/25 17:47:29
Regarding references, I understand and will comply
dalesat
2016/01/25 23:29:37
Done.
| |
| 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_ | |
| OLD | NEW |