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

Issue 8772069: Collapse FFmpegVideoDecodeEngine into FFmpegVideoDecoder and remove VideoDecodeEngine. (Closed)

Created:
9 years ago by scherkus (not reviewing)
Modified:
9 years ago
CC:
chromium-reviews, hclam+watch_chromium.org, ddorwin+watch_chromium.org, fischman+watch_chromium.org, acolwell+watch_chromium.org, annacc+watch_chromium.org, Paweł Hajdan Jr., vrk (LEFT CHROMIUM), ihf+watch_chromium.org, cbentzel
Visibility:
Public.

Description

Collapse FFmpegVideoDecodeEngine into FFmpegVideoDecoder and remove VideoDecodeEngine. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=113358

Patch Set 1 #

Total comments: 4

Patch Set 2 : fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+206 lines, -309 lines) Patch
M media/filters/ffmpeg_video_decoder.h View 2 chunks +21 lines, -3 lines 0 comments Download
M media/filters/ffmpeg_video_decoder.cc View 1 7 chunks +185 lines, -9 lines 0 comments Download
M media/filters/ffmpeg_video_decoder_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M media/media.gyp View 1 2 chunks +0 lines, -5 lines 0 comments Download
D media/video/ffmpeg_video_decode_engine.h View 1 chunk +0 lines, -46 lines 0 comments Download
D media/video/ffmpeg_video_decode_engine.cc View 1 chunk +0 lines, -200 lines 0 comments Download
D media/video/video_decode_engine.h View 1 chunk +0 lines, -45 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
scherkus (not reviewing)
9 years ago (2011-12-03 01:47:40 UTC) #1
acolwell GONE FROM CHROMIUM
LGTM w/ minor nits http://codereview.chromium.org/8772069/diff/1/media/filters/ffmpeg_video_decoder.cc File media/filters/ffmpeg_video_decoder.cc (right): http://codereview.chromium.org/8772069/diff/1/media/filters/ffmpeg_video_decoder.cc#newcode92 media/filters/ffmpeg_video_decoder.cc:92: static const int kMaxDecodeThreads = ...
9 years ago (2011-12-05 18:36:02 UTC) #2
Timur Iskhodzhanov
Please run Valgrind & TSan next time you make changes to classes known to have ...
9 years ago (2011-12-07 10:37:57 UTC) #3
Timur Iskhodzhanov
The suppressions were updated in http://src.chromium.org/viewvc/chrome?view=rev&revision=113374 but please re-visit them as I was doing it ...
9 years ago (2011-12-07 10:38:54 UTC) #4
scherkus (not reviewing)
Sorry about that -- I ran valgrind and updated suppressions in http://crrev.com/113357 but didn't notice ...
9 years ago (2011-12-07 17:49:26 UTC) #5
scherkus (not reviewing)
9 years ago (2011-12-07 17:49:47 UTC) #6
http://codereview.chromium.org/8772069/diff/1/media/filters/ffmpeg_video_deco...
File media/filters/ffmpeg_video_decoder.cc (right):

http://codereview.chromium.org/8772069/diff/1/media/filters/ffmpeg_video_deco...
media/filters/ffmpeg_video_decoder.cc:92: static const int kMaxDecodeThreads =
16;
On 2011/12/05 18:36:04, acolwell wrote:
> Don't we typically put constants at the top of the file?

We do!

FFVDE had them here but I'll move them up to the top

http://codereview.chromium.org/8772069/diff/1/media/filters/ffmpeg_video_deco...
media/filters/ffmpeg_video_decoder.cc:118: if ((!threads.empty() &&
On 2011/12/05 18:36:04, acolwell wrote:
> nit: Consider moving this logic to a GetDecoderThreadCount() helper function
so
> it reduces the clutter in this function.

Done.

Powered by Google App Engine
This is Rietveld 408576698