Chromium Code Reviews| 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) |
| @@ -25,6 +25,8 @@ |
| #include "third_party/openmax/il/OMX_Core.h" |
| #include "third_party/openmax/il/OMX_Video.h" |
| +class Gles2TextureToEglImageTranslator; |
| + |
| // Class to wrap OpenMAX IL accelerator behind VideoDecodeAccelerator interface. |
| // The implementation assumes an OpenMAX IL 1.1.2 implementation conforming to |
| // http://www.khronos.org/registry/omxil/specs/OpenMAX_IL_1_1_2_Specification.pdf |
| @@ -148,6 +150,8 @@ |
| OMX_U32 output_port_; |
| int output_buffers_at_component_; |
| + gfx::Size last_requested_picture_buffer_dimensions_; |
| + |
| // NOTE: someday there may be multiple contexts for a single decoder. But not |
| // today. |
| // TODO(fischman,vrk): handle lost contexts? |
| @@ -179,10 +183,13 @@ |
| // NOTE: all calls to this object *MUST* be executed in message_loop_. |
| Client* client_; |
| + scoped_ptr<Gles2TextureToEglImageTranslator> texture_to_egl_image_translator_; |
| + |
| // These two members are only used during Initialization. |
|
Ami GONE FROM CHROMIUM
2012/02/20 16:54:28
I think you missed my comment about dropping the "
|
| // 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, |