diff options
author | Scott LaVarnway <slavarnway@google.com> | 2012-09-19 12:30:44 -0700 |
---|---|---|
committer | Scott LaVarnway <slavarnway@google.com> | 2012-09-19 12:30:44 -0700 |
commit | e278673c8eae8993eaec30d50e0dd5b25cbacd4a (patch) | |
tree | 9fb0b2057f096248d8b30c7f3f6908e4bb6f8661 /vpxdec.c | |
parent | 154f1c22349070bba204d94100cf785f14db00da (diff) | |
download | libvpx-e278673c8eae8993eaec30d50e0dd5b25cbacd4a.tar libvpx-e278673c8eae8993eaec30d50e0dd5b25cbacd4a.tar.gz libvpx-e278673c8eae8993eaec30d50e0dd5b25cbacd4a.tar.bz2 libvpx-e278673c8eae8993eaec30d50e0dd5b25cbacd4a.zip |
Moved vp8dx_get_raw_frame() call to vp8_get_frame()
This change is necessary for the frame-based multithreading
implementation.
Since the postproc occurs in this call, vpxdec was modified to time around
vpx_codec_get_frame()
Change-Id: I389acf78b6003cd35e41becc16c893f7d3028523
Diffstat (limited to 'vpxdec.c')
-rw-r--r-- | vpxdec.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1066,9 +1066,14 @@ int main(int argc, const char **argv_) } frames_corrupted += corrupted; + vpx_usec_timer_start(&timer); + if ((img = vpx_codec_get_frame(&decoder, &iter))) ++frame_out; + vpx_usec_timer_mark(&timer); + dx_time += (unsigned int)vpx_usec_timer_elapsed(&timer); + if (progress) show_progress(frame_in, frame_out, dx_time); |