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

Issue 7779001: Replace the use of an int32* with a proper struct for decoder configuration. (Closed)

Created:
9 years, 3 months ago by Ami GONE FROM CHROMIUM
Modified:
9 years, 3 months ago
CC:
chromium-reviews, hclam+watch_chromium.org, ddorwin+watch_chromium.org, fischman+watch_chromium.org, acolwell+watch_chromium.org, Paweł Hajdan Jr., jam, annacc+watch_chromium.org, apatrick_chromium, joi+watch-content_chromium.org, darin-cc_chromium.org, ajwong+watch_chromium.org, vrk (LEFT CHROMIUM), piman+watch_chromium.org, scherkus (not reviewing)
Visibility:
Public.

Description

Replace the use of an int32* with an explicit profile for decoder configuration. Replaces the error-prone, overly-general, error-containing, and brittle manually-terminated array-of-ints holding name/value pairs (except for names that don't take values) with a simple profile parameter (specifying only information we actually use today). BUG=none TEST=trybots, ovdatest, gles2 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=99111

Patch Set 1 #

Patch Set 2 : rebased #

Total comments: 2

Patch Set 3 : Replaced struct with explicit profile parameter. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+157 lines, -479 lines) Patch
M content/common/gpu/DEPS View 1 1 chunk +1 line, -0 lines 2 comments Download
M content/common/gpu/gpu_command_buffer_stub.h View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M content/common/gpu/gpu_command_buffer_stub.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M content/common/gpu/gpu_messages.h View 1 2 3 chunks +4 lines, -1 line 0 comments Download
M content/common/gpu/media/gpu_video_decode_accelerator.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M content/common/gpu/media/gpu_video_decode_accelerator.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M content/common/gpu/media/omx_video_decode_accelerator.h View 1 2 3 chunks +2 lines, -5 lines 0 comments Download
M content/common/gpu/media/omx_video_decode_accelerator.cc View 1 2 5 chunks +26 lines, -63 lines 0 comments Download
M content/common/gpu/media/omx_video_decode_accelerator_unittest.cc View 1 2 1 chunk +5 lines, -12 lines 0 comments Download
M content/renderer/gpu/command_buffer_proxy.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/gpu/command_buffer_proxy.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M content/renderer/gpu/gpu_channel_host.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/gpu/gpu_channel_host.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M content/renderer/gpu/gpu_video_decode_accelerator_host.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/gpu/gpu_video_decode_accelerator_host.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M content/renderer/pepper_platform_video_decoder_impl.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/pepper_platform_video_decoder_impl.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M media/video/video_decode_accelerator.h View 1 2 3 chunks +22 lines, -145 lines 0 comments Download
M ppapi/c/dev/pp_video_dev.h View 1 2 1 chunk +22 lines, -150 lines 0 comments Download
M ppapi/c/dev/ppb_video_decoder_dev.h View 1 2 2 chunks +4 lines, -6 lines 0 comments Download
M ppapi/cpp/dev/video_decoder_dev.h View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M ppapi/cpp/dev/video_decoder_dev.cc View 1 2 1 chunk +6 lines, -6 lines 0 comments Download
M ppapi/examples/gles2/gles2.cc View 1 2 1 chunk +2 lines, -7 lines 0 comments Download
M ppapi/proxy/ppapi_messages.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M ppapi/proxy/ppb_video_decoder_proxy.h View 1 2 2 chunks +5 lines, -4 lines 0 comments Download
M ppapi/proxy/ppb_video_decoder_proxy.cc View 1 2 4 chunks +5 lines, -12 lines 0 comments Download
M ppapi/proxy/resource_creation_proxy.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ppapi/proxy/resource_creation_proxy.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M ppapi/shared_impl/video_decoder_impl.h View 1 1 chunk +0 lines, -5 lines 0 comments Download
M ppapi/shared_impl/video_decoder_impl.cc View 1 1 chunk +0 lines, -15 lines 0 comments Download
M ppapi/tests/test_video_decoder.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ppapi/thunk/ppb_video_decoder_thunk.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M ppapi/thunk/resource_creation_api.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M webkit/plugins/ppapi/ppb_video_decoder_impl.h View 1 2 3 chunks +2 lines, -3 lines 0 comments Download
M webkit/plugins/ppapi/ppb_video_decoder_impl.cc View 1 2 4 chunks +15 lines, -10 lines 0 comments Download
M webkit/plugins/ppapi/resource_creation_impl.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M webkit/plugins/ppapi/resource_creation_impl.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
brettw
http://codereview.chromium.org/7779001/diff/4001/ppapi/cpp/dev/video_decoder_dev.h File ppapi/cpp/dev/video_decoder_dev.h (right): http://codereview.chromium.org/7779001/diff/4001/ppapi/cpp/dev/video_decoder_dev.h#newcode28 ppapi/cpp/dev/video_decoder_dev.h:28: VideoDecoder_Dev(const Instance& instance, While you're here, can you convert ...
9 years, 3 months ago (2011-08-31 15:45:38 UTC) #1
Ami GONE FROM CHROMIUM
Brett: this is ready for real review now. Wanna do it? http://codereview.chromium.org/7779001/diff/4001/ppapi/cpp/dev/video_decoder_dev.h File ppapi/cpp/dev/video_decoder_dev.h (right): ...
9 years, 3 months ago (2011-08-31 18:28:34 UTC) #2
brettw
http://codereview.chromium.org/7779001/diff/8002/content/common/gpu/DEPS File content/common/gpu/DEPS (right): http://codereview.chromium.org/7779001/diff/8002/content/common/gpu/DEPS#newcode6 content/common/gpu/DEPS:6: "+media/video/video_decode_accelerator.h", Maybe it's better to move the enum you ...
9 years, 3 months ago (2011-08-31 19:53:37 UTC) #3
Ami GONE FROM CHROMIUM
http://codereview.chromium.org/7779001/diff/8002/content/common/gpu/DEPS File content/common/gpu/DEPS (right): http://codereview.chromium.org/7779001/diff/8002/content/common/gpu/DEPS#newcode6 content/common/gpu/DEPS:6: "+media/video/video_decode_accelerator.h", On 2011/08/31 19:53:37, brettw wrote: > Maybe it's ...
9 years, 3 months ago (2011-08-31 19:59:39 UTC) #4
Ami GONE FROM CHROMIUM
On 2011/08/31 19:59:39, Ami Fischman wrote: > http://codereview.chromium.org/7779001/diff/8002/content/common/gpu/DEPS > File content/common/gpu/DEPS (right): > > http://codereview.chromium.org/7779001/diff/8002/content/common/gpu/DEPS#newcode6 ...
9 years, 3 months ago (2011-09-01 02:58:53 UTC) #5
brettw
LGTM
9 years, 3 months ago (2011-09-01 03:05:31 UTC) #6
commit-bot: I haz the power
9 years, 3 months ago (2011-09-01 03:12:52 UTC) #7
Can't apply patch for file content/common/gpu/DEPS.
While running patch -p1 --forward --force;
patching file content/common/gpu/DEPS
Hunk #1 FAILED at 3.
1 out of 1 hunk FAILED -- saving rejects to file content/common/gpu/DEPS.rej

Powered by Google App Engine
This is Rietveld 408576698