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

Side by Side Diff: chromecast/media/cma/base/cast_decoder_buffer_impl.h

Issue 1372393007: [Chromecast] Upgrade to new CMA backend API (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Address alokp@ comments Created 5 years, 2 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
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 CHROMECAST_MEDIA_CMA_BASE_CAST_DECODER_BUFFER_IMPL_H_ 5 #ifndef CHROMECAST_MEDIA_CMA_BASE_CAST_DECODER_BUFFER_IMPL_H_
6 #define CHROMECAST_MEDIA_CMA_BASE_CAST_DECODER_BUFFER_IMPL_H_ 6 #define CHROMECAST_MEDIA_CMA_BASE_CAST_DECODER_BUFFER_IMPL_H_
7 7
8 #include "chromecast/public/media/cast_decoder_buffer.h" 8 #include "chromecast/public/media/cast_decoder_buffer.h"
9 #include "chromecast/media/cma/base/decoder_buffer_base.h" 9 #include "chromecast/media/cma/base/decoder_buffer_base.h"
10 10
(...skipping 24 matching lines...) Expand all
35 35
36 // Returns the decrypt configuration. 36 // Returns the decrypt configuration.
37 // Returns NULL if the buffer has no decrypt info. 37 // Returns NULL if the buffer has no decrypt info.
38 const CastDecryptConfig* decrypt_config() const override; 38 const CastDecryptConfig* decrypt_config() const override;
39 39
40 // Indicate if this is a special frame that indicates the end of the stream. 40 // Indicate if this is a special frame that indicates the end of the stream.
41 // If true, functions to access the frame content cannot be called. 41 // If true, functions to access the frame content cannot be called.
42 bool end_of_stream() const override; 42 bool end_of_stream() const override;
43 43
44 const scoped_refptr<DecoderBufferBase>& buffer() const; 44 const scoped_refptr<DecoderBufferBase>& buffer() const;
45 void set_buffer(const scoped_refptr<DecoderBufferBase>& buffer);
45 46
46 private: 47 private:
47 scoped_refptr<DecoderBufferBase> buffer_; 48 scoped_refptr<DecoderBufferBase> buffer_;
48 }; 49 };
49 50
50 } // namespace media 51 } // namespace media
51 } // namespace chromecast 52 } // namespace chromecast
52 53
53 #endif // CHROMECAST_MEDIA_CMA_BASE_CAST_DECODER_BUFFER_BASE_H_ 54 #endif // CHROMECAST_MEDIA_CMA_BASE_CAST_DECODER_BUFFER_BASE_H_
OLDNEW
« no previous file with comments | « chromecast/media/cma/backend/video_pipeline_device_default.cc ('k') | chromecast/media/cma/base/cast_decoder_buffer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698