| Index: content/common/gpu/media/gpu_jpeg_decode_accelerator.cc
|
| diff --git a/content/common/gpu/media/gpu_jpeg_decode_accelerator.cc b/content/common/gpu/media/gpu_jpeg_decode_accelerator.cc
|
| index 7408e46d9272e9ca2b726903b19913f8c595a327..25a0b29dc345adc584f2f22df0957f7904d9c141 100644
|
| --- a/content/common/gpu/media/gpu_jpeg_decode_accelerator.cc
|
| +++ b/content/common/gpu/media/gpu_jpeg_decode_accelerator.cc
|
| @@ -17,6 +17,7 @@
|
| #include "build/build_config.h"
|
| #include "content/common/gpu/gpu_channel.h"
|
| #include "content/common/gpu/gpu_messages.h"
|
| +#include "content/common/gpu/jpeg_decode_params.h"
|
| #include "ipc/ipc_message_macros.h"
|
| #include "ipc/message_filter.h"
|
| #include "media/filters/jpeg_parser.h"
|
| @@ -40,7 +41,7 @@ void DecodeFinished(scoped_ptr<base::SharedMemory> shm) {
|
| // decode finishes.
|
| }
|
|
|
| -bool VerifyDecodeParams(const AcceleratedJpegDecoderMsg_Decode_Params& params) {
|
| +bool VerifyDecodeParams(const content::JpegDecodeParams& params) {
|
| if (params.input_buffer_id < 0) {
|
| LOG(ERROR) << "BitstreamBuffer id " << params.input_buffer_id
|
| << " out of range";
|
| @@ -199,9 +200,8 @@ class GpuJpegDecodeAccelerator::MessageFilter : public IPC::MessageFilter {
|
| route_id, buffer_id, error));
|
| }
|
|
|
| - void OnDecodeOnIOThread(
|
| - const int32_t* route_id,
|
| - const AcceleratedJpegDecoderMsg_Decode_Params& params) {
|
| + void OnDecodeOnIOThread(const int32_t* route_id,
|
| + const JpegDecodeParams& params) {
|
| DCHECK(io_task_runner_->BelongsToCurrentThread());
|
| DCHECK(route_id);
|
| TRACE_EVENT0("jpeg", "GpuJpegDecodeAccelerator::MessageFilter::OnDecode");
|
|
|