| Index: content/common/gpu/media/vaapi_jpeg_decode_accelerator.h
|
| diff --git a/content/common/gpu/media/vaapi_jpeg_decode_accelerator.h b/content/common/gpu/media/vaapi_jpeg_decode_accelerator.h
|
| index ae1d8e296e6edaa2fb9d57f5ad0df88a2c79eff9..05b86778956b75ae1588cdcd0650e3adb3cf12e2 100644
|
| --- a/content/common/gpu/media/vaapi_jpeg_decode_accelerator.h
|
| +++ b/content/common/gpu/media/vaapi_jpeg_decode_accelerator.h
|
| @@ -12,6 +12,7 @@
|
| #include "base/threading/non_thread_safe.h"
|
| #include "base/threading/thread.h"
|
| #include "content/common/content_export.h"
|
| +#include "content/common/gpu/media/shared_memory_region.h"
|
| #include "content/common/gpu/media/vaapi_jpeg_decoder.h"
|
| #include "content/common/gpu/media/vaapi_wrapper.h"
|
| #include "media/base/bitstream_buffer.h"
|
| @@ -44,13 +45,13 @@ class CONTENT_EXPORT VaapiJpegDecodeAccelerator
|
| // An input buffer and the corresponding output video frame awaiting
|
| // consumption, provided by the client.
|
| struct DecodeRequest {
|
| - DecodeRequest(const media::BitstreamBuffer& bitstream_buffer,
|
| - scoped_ptr<base::SharedMemory> shm,
|
| + DecodeRequest(int32_t bitstream_buffer_id,
|
| + scoped_ptr<SharedMemoryRegion> shm,
|
| const scoped_refptr<media::VideoFrame>& video_frame);
|
| ~DecodeRequest();
|
|
|
| - media::BitstreamBuffer bitstream_buffer;
|
| - scoped_ptr<base::SharedMemory> shm;
|
| + int32_t bitstream_buffer_id;
|
| + scoped_ptr<SharedMemoryRegion> shm;
|
| scoped_refptr<media::VideoFrame> video_frame;
|
| };
|
|
|
|
|