| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_OMX_VIDEO_DECODER_H_ | 5 #ifndef MEDIA_FILTERS_OMX_VIDEO_DECODER_H_ |
| 6 #define MEDIA_FILTERS_OMX_VIDEO_DECODER_H_ | 6 #define MEDIA_FILTERS_OMX_VIDEO_DECODER_H_ |
| 7 | 7 |
| 8 #include <queue> | 8 #include <queue> |
| 9 | 9 |
| 10 #include "media/base/filters.h" | 10 #include "media/base/filters.h" |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 // Calls |omx_engine_|'s EmptyThisBuffer() method on the right thread. | 51 // Calls |omx_engine_|'s EmptyThisBuffer() method on the right thread. |
| 52 void EmptyBufferTask(scoped_refptr<Buffer> buffer); | 52 void EmptyBufferTask(scoped_refptr<Buffer> buffer); |
| 53 | 53 |
| 54 // Helper method to do the initial demuxing. | 54 // Helper method to do the initial demuxing. |
| 55 void InitialDemux(); | 55 void InitialDemux(); |
| 56 | 56 |
| 57 DemuxerStream* demuxer_stream_; | 57 DemuxerStream* demuxer_stream_; |
| 58 bool supports_egl_image_; | 58 bool supports_egl_image_; |
| 59 scoped_refptr<OmxVideoDecodeEngine> omx_engine_; | 59 scoped_refptr<OmxVideoDecodeEngine> omx_engine_; |
| 60 MediaFormat media_format_; | 60 MediaFormat media_format_; |
| 61 size_t width_; |
| 62 size_t height_; |
| 61 | 63 |
| 62 DISALLOW_COPY_AND_ASSIGN(OmxVideoDecoder); | 64 DISALLOW_COPY_AND_ASSIGN(OmxVideoDecoder); |
| 63 }; | 65 }; |
| 64 | 66 |
| 65 } // namespace media | 67 } // namespace media |
| 66 | 68 |
| 67 #endif // MEDIA_FILTERS_OMX_VIDEO_DECODER_H_ | 69 #endif // MEDIA_FILTERS_OMX_VIDEO_DECODER_H_ |
| OLD | NEW |