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

Unified Diff: content/common/gpu/media/omx_video_decode_accelerator.h

Issue 9346012: Video decode in hardware on ARM platform. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 8 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: content/common/gpu/media/omx_video_decode_accelerator.h
===================================================================
--- content/common/gpu/media/omx_video_decode_accelerator.h (revision 120554)
+++ content/common/gpu/media/omx_video_decode_accelerator.h (working copy)
@@ -49,7 +49,8 @@
void Reset() OVERRIDE;
void Destroy() OVERRIDE;
- void SetEglState(EGLDisplay egl_display, EGLContext egl_context);
+ void SetEglState(Display* x_display, EGLDisplay egl_display,
+ EGLContext egl_context, EGLSurface egl_surface);
private:
virtual ~OmxVideoDecodeAccelerator();
@@ -151,8 +152,10 @@
// NOTE: someday there may be multiple contexts for a single decoder. But not
// today.
// TODO(fischman,vrk): handle lost contexts?
+ Display* x_display_;
EGLDisplay egl_display_;
EGLContext egl_context_;
+ EGLSurface egl_surface_;
// Free input OpenMAX buffers that can be used to take bitstream from demuxer.
std::queue<OMX_BUFFERHEADERTYPE*> free_input_buffers_;
@@ -183,6 +186,7 @@
// OMX_AVCProfile requested during Initialization.
uint32 profile_;
bool component_name_is_nvidia_h264ext_;
+ bool component_name_is_sec_h264ext_;
// Method to handle events
void EventHandlerCompleteTask(OMX_EVENTTYPE event,

Powered by Google App Engine
This is Rietveld 408576698