summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/gpu_video_decoder_host.h
diff options
context:
space:
mode:
authorhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-29 02:23:31 +0000
committerhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-29 02:23:31 +0000
commitf37619e85e12e0692fe106e1f6b3a8ac6267fc74 (patch)
treebc9b9737feaea32c90d3e137c787ce7661b43e77 /chrome/renderer/gpu_video_decoder_host.h
parent91bfaaef281c73e3792a3c96df37920c8a5370a5 (diff)
downloadchromium_src-f37619e85e12e0692fe106e1f6b3a8ac6267fc74.zip
chromium_src-f37619e85e12e0692fe106e1f6b3a8ac6267fc74.tar.gz
chromium_src-f37619e85e12e0692fe106e1f6b3a8ac6267fc74.tar.bz2
Implement video frame exchange in GpuVideoDecoder and tests
Implement ProduceVideoFrame() in GpuVideoDecoder and unit tests for testing the loginc in GpuVideoDecoder. BUG=53714 TEST=unit_tests --gtest_filter=GpuVideoDecoder* Review URL: http://codereview.chromium.org/3414003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60902 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/gpu_video_decoder_host.h')
-rw-r--r--chrome/renderer/gpu_video_decoder_host.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/renderer/gpu_video_decoder_host.h b/chrome/renderer/gpu_video_decoder_host.h
index 1255bf5..cfcdf88 100644
--- a/chrome/renderer/gpu_video_decoder_host.h
+++ b/chrome/renderer/gpu_video_decoder_host.h
@@ -70,7 +70,8 @@ class GpuVideoDecoderHost
void OnUninitializeDone();
void OnFlushDone();
void OnEmptyThisBufferDone();
- void OnFillThisBufferDone(const GpuVideoDecoderOutputBufferParam& param);
+ void OnConsumeVideoFrame(int32 frame_id, int64 timestamp,
+ int64 duration, int32 flags);
void OnEmptyThisBufferACK();
// Helper function.