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

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

Issue 2352001: render creation require media format have mime type and width/height (Closed)
Patch Set: Created 10 years, 6 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
« no previous file with comments | « no previous file | media/filters/omx_video_decoder.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « no previous file | media/filters/omx_video_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698