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

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)
@@ -19,8 +19,7 @@
#include "base/message_loop.h"
#include "base/shared_memory.h"
#include "media/video/video_decode_accelerator.h"
-#include "third_party/angle/include/EGL/egl.h"
-#include "third_party/angle/include/EGL/eglext.h"
+#include "content/common/gpu/media/gles2_texture_to_egl_image_translator.h"
Ami GONE FROM CHROMIUM 2012/02/18 00:00:25 Since only a pointer to the translator is held by
#include "third_party/openmax/il/OMX_Component.h"
#include "third_party/openmax/il/OMX_Core.h"
#include "third_party/openmax/il/OMX_Video.h"
@@ -148,6 +147,9 @@
OMX_U32 output_port_;
int output_buffers_at_component_;
+ int width_ ;
Ami GONE FROM CHROMIUM 2012/02/18 00:00:25 prefix both this and the next member to indicate t
+ int height_;
+
// NOTE: someday there may be multiple contexts for a single decoder. But not
// today.
// TODO(fischman,vrk): handle lost contexts?
@@ -179,10 +181,13 @@
// NOTE: all calls to this object *MUST* be executed in message_loop_.
Client* client_;
+ Gles2TextureToEglImageTranslator* texture2eglImage_translator_;
Ami GONE FROM CHROMIUM 2012/02/18 00:00:25 we don't use '2' as a synonym for 'to', and what w
+
// These two members are only used during Initialization.
Ami GONE FROM CHROMIUM 2012/02/18 00:00:25 s/two //
// 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