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

Side by Side Diff: content/common/gpu/media/v4l2_video_decode_accelerator.h

Issue 185403020: Make VEA client of command buffer; move sync. IPC to VDA/VEA::Initialize() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: f2a9ccb5 Rebase, posciak@ comments. Created 6 years, 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 // This file contains an implementation of VideoDecodeAccelerator 5 // This file contains an implementation of VideoDecodeAccelerator
6 // that utilizes hardware video decoders, which expose Video4Linux 2 API 6 // that utilizes hardware video decoders, which expose Video4Linux 2 API
7 // (http://linuxtv.org/downloads/v4l-dvb-apis/). 7 // (http://linuxtv.org/downloads/v4l-dvb-apis/).
8 8
9 #ifndef CONTENT_COMMON_GPU_MEDIA_V4L2_VIDEO_DECODE_ACCELERATOR_H_ 9 #ifndef CONTENT_COMMON_GPU_MEDIA_V4L2_VIDEO_DECODE_ACCELERATOR_H_
10 #define CONTENT_COMMON_GPU_MEDIA_V4L2_VIDEO_DECODE_ACCELERATOR_H_ 10 #define CONTENT_COMMON_GPU_MEDIA_V4L2_VIDEO_DECODE_ACCELERATOR_H_
(...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after
419 419
420 // Make our context current before running any EGL entry points. 420 // Make our context current before running any EGL entry points.
421 base::Callback<bool(void)> make_context_current_; 421 base::Callback<bool(void)> make_context_current_;
422 422
423 // EGL state 423 // EGL state
424 EGLDisplay egl_display_; 424 EGLDisplay egl_display_;
425 425
426 // The codec we'll be decoding for. 426 // The codec we'll be decoding for.
427 media::VideoCodecProfile video_profile_; 427 media::VideoCodecProfile video_profile_;
428 428
429 // The WeakPtrFactory for |weak_this_|.
Ami GONE FROM CHROMIUM 2014/03/17 03:17:54 No point in having weak_this_ anymore, is there? (
sheu 2014/03/18 22:38:35 Careful what you wish for. It's threading all the
430 base::WeakPtrFactory<V4L2VideoDecodeAccelerator> weak_this_factory_;
431
429 DISALLOW_COPY_AND_ASSIGN(V4L2VideoDecodeAccelerator); 432 DISALLOW_COPY_AND_ASSIGN(V4L2VideoDecodeAccelerator);
430 }; 433 };
431 434
432 } // namespace content 435 } // namespace content
433 436
434 #endif // CONTENT_COMMON_GPU_MEDIA_V4L2_VIDEO_DECODE_ACCELERATOR_H_ 437 #endif // CONTENT_COMMON_GPU_MEDIA_V4L2_VIDEO_DECODE_ACCELERATOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698