OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef SERVICES_MEDIA_FRAMEWORK_FFMPEG_FFMPEG_AUDIO_DECODER_H_ | 5 #ifndef SERVICES_MEDIA_FRAMEWORK_FFMPEG_FFMPEG_AUDIO_DECODER_H_ |
6 #define SERVICES_MEDIA_FRAMEWORK_FFMPEG_FFMPEG_AUDIO_DECODER_H_ | 6 #define SERVICES_MEDIA_FRAMEWORK_FFMPEG_FFMPEG_AUDIO_DECODER_H_ |
7 | 7 |
8 #include "services/media/framework/lpcm_util.h" | 8 #include "services/media/framework/lpcm_util.h" |
9 #include "services/media/framework_ffmpeg/ffmpeg_decoder_base.h" | 9 #include "services/media/framework_ffmpeg/ffmpeg_decoder_base.h" |
10 | 10 |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 // avcodec_decode_audio4. | 105 // avcodec_decode_audio4. |
106 PayloadAllocator* allocator_; | 106 PayloadAllocator* allocator_; |
107 | 107 |
108 // For interleaving, if needed. | 108 // For interleaving, if needed. |
109 std::unique_ptr<LpcmUtil> lpcm_util_; | 109 std::unique_ptr<LpcmUtil> lpcm_util_; |
110 | 110 |
111 // For interleaving, if needed. | 111 // For interleaving, if needed. |
112 std::unique_ptr<StreamType> stream_type_; | 112 std::unique_ptr<StreamType> stream_type_; |
113 | 113 |
114 // Used to supply missing PTS. | 114 // Used to supply missing PTS. |
115 int64_t next_presentation_time_= Packet::kUnknownPresentationTime; | 115 int64_t next_pts_= Packet::kUnknownPts; |
116 }; | 116 }; |
117 | 117 |
118 } // namespace media | 118 } // namespace media |
119 } // namespace mojo | 119 } // namespace mojo |
120 | 120 |
121 #endif // SERVICES_MEDIA_FRAMEWORK_FFMPEG_FFMPEG_AUDIO_DECODER_H_ | 121 #endif // SERVICES_MEDIA_FRAMEWORK_FFMPEG_FFMPEG_AUDIO_DECODER_H_ |
OLD | NEW |