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

Side by Side Diff: media/filters/opus_audio_decoder.h

Issue 111153003: FFmpeg fixups for M33 roll. Now with more Opus! (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add DEPS. Created 7 years 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 MEDIA_FILTERS_OPUS_AUDIO_DECODER_H_ 5 #ifndef MEDIA_FILTERS_OPUS_AUDIO_DECODER_H_
6 #define MEDIA_FILTERS_OPUS_AUDIO_DECODER_H_ 6 #define MEDIA_FILTERS_OPUS_AUDIO_DECODER_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "base/time/time.h" 10 #include "base/time/time.h"
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 81
82 // Number of frames to be discarded at the start of the stream. This value 82 // Number of frames to be discarded at the start of the stream. This value
83 // is typically the CodecDelay value from the container. 83 // is typically the CodecDelay value from the container.
84 int frame_delay_at_start_; 84 int frame_delay_at_start_;
85 85
86 // Timestamp to be subtracted from all the frames. This is typically computed 86 // Timestamp to be subtracted from all the frames. This is typically computed
87 // from the CodecDelay value in the container. 87 // from the CodecDelay value in the container.
88 base::TimeDelta timestamp_offset_; 88 base::TimeDelta timestamp_offset_;
89 89
90 // Buffer for output from libopus. 90 // Buffer for output from libopus.
91 scoped_ptr<int16[]> output_buffer_; 91 scoped_ptr<float[]> output_buffer_;
vignesh 2013/12/11 20:10:18 i believe you need to change this too: https://cod
DaleCurtis 2013/12/11 22:19:36 I'm actually going to revert the float change out
92 92
93 DISALLOW_IMPLICIT_CONSTRUCTORS(OpusAudioDecoder); 93 DISALLOW_IMPLICIT_CONSTRUCTORS(OpusAudioDecoder);
94 }; 94 };
95 95
96 } // namespace media 96 } // namespace media
97 97
98 #endif // MEDIA_FILTERS_OPUS_AUDIO_DECODER_H_ 98 #endif // MEDIA_FILTERS_OPUS_AUDIO_DECODER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698