|
media: Remove the unused NdkMediaCodecBridge
NdkMediaCodecBridge has been incomplete and unused since it was
introduced over a year ago. Since we don't have short term plans to
make it production ready, we'll remove it for now and bring it back if
we need it later.
Some rationale:
* The NDK API is a second class citizen compared to the Java API, and
is missing new APIs. For example, it's missing the callback API, and
setOutputSurface(), which means we can't use it on Marshmallow.
* It only works with 64 bit builds.
* The benefit of removing JNI call overhead isn't expected to be very
large anyway. JNI calls add 100s of nanoseconds to 10s of microseconds
of overhead (according to internal mailing lists/docs). We have lower
hanging fruit, like using MediaCodec's callback API instead of polling.
This change includes collapsing SdkMediaCodecBridge into
MediaCodecBridge. In doing that, MediaCodecLoop and its unit test no
longer build cross-platform, so this CL also removes the "anywhere"
targets. Alternatively we could have kept a platform independent
virtual MediaCodecBridge interface with a single impl.
BUG= 560451
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Review-Url: https://codereview.chromium.org/2672313006
Cr-Commit-Position: refs/heads/master@{#450529}
Committed: https://chromium.googlesource.com/chromium/src/+/ddd685822dcdc6ec5e1fd32bb6ff3824d93c675c
Total comments: 12
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+289 lines, -2088 lines) |
Patch |
|
M |
media/BUILD.gn
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -10 lines |
0 comments
|
Download
|
|
M |
media/base/BUILD.gn
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
media/base/android/BUILD.gn
|
View
|
1
2
3
4
|
4 chunks |
+10 lines, -47 lines |
0 comments
|
Download
|
|
M |
media/base/android/java/src/org/chromium/media/MediaCodecBridge.java
|
View
|
|
2 chunks |
+8 lines, -11 lines |
0 comments
|
Download
|
|
M |
media/base/android/media_codec_bridge.h
|
View
|
1
2
|
5 chunks |
+12 lines, -61 lines |
0 comments
|
Download
|
|
M |
media/base/android/media_codec_bridge.cc
|
View
|
1
|
1 chunk |
+0 lines, -73 lines |
0 comments
|
Download
|
|
A + |
media/base/android/media_codec_bridge_impl.h
|
View
|
1
|
5 chunks |
+106 lines, -39 lines |
0 comments
|
Download
|
|
A + |
media/base/android/media_codec_bridge_impl.cc
|
View
|
1
2
3
|
19 chunks |
+88 lines, -55 lines |
0 comments
|
Download
|
|
A + |
media/base/android/media_codec_bridge_impl_unittest.cc
|
View
|
1
|
9 chunks |
+12 lines, -14 lines |
0 comments
|
Download
|
|
M |
media/base/android/media_codec_loop.cc
|
View
|
|
4 chunks |
+11 lines, -20 lines |
0 comments
|
Download
|
|
M |
media/base/android/mock_media_codec_bridge.h
|
View
|
1
|
1 chunk |
+33 lines, -37 lines |
0 comments
|
Download
|
|
D |
media/base/android/ndk_media_codec_bridge.h
|
View
|
|
1 chunk |
+0 lines, -85 lines |
0 comments
|
Download
|
|
D |
media/base/android/ndk_media_codec_bridge.cc
|
View
|
|
1 chunk |
+0 lines, -263 lines |
0 comments
|
Download
|
|
D |
media/base/android/ndk_media_codec_wrapper.cc
|
View
|
|
1 chunk |
+0 lines, -170 lines |
0 comments
|
Download
|
|
D |
media/base/android/sdk_media_codec_bridge.h
|
View
|
|
1 chunk |
+0 lines, -193 lines |
0 comments
|
Download
|
|
D |
media/base/android/sdk_media_codec_bridge.cc
|
View
|
|
1 chunk |
+0 lines, -689 lines |
0 comments
|
Download
|
|
D |
media/base/android/sdk_media_codec_bridge_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -310 lines |
0 comments
|
Download
|
|
M |
media/filters/android/media_codec_audio_decoder.h
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
media/filters/android/media_codec_audio_decoder.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
media/gpu/android/media_codec_video_decoder.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
media/gpu/android_video_decode_accelerator.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
media/gpu/android_video_decode_accelerator.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
media/gpu/android_video_encode_accelerator.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
media/gpu/avda_codec_allocator.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
media/gpu/avda_codec_allocator.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
media/gpu/avda_codec_image.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
media/gpu/avda_picture_buffer_manager.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Dependent Patchsets:
Total messages: 35 (22 generated)
|