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

Issue 1371043003: Unify FrameType and VideoFrameType. (Closed)

Created:
5 years, 2 months ago by pbos-webrtc
Modified:
5 years, 2 months ago
CC:
webrtc-reviews_webrtc.org, interface-changes_webrtc.org, rwolff_gocast.it, yujie_mao (webrtc), kwiberg-webrtc, stefan-webrtc, Andrew MacDonald, hlundin-webrtc, tlegrand-webrtc, tterriberry_mozilla.com, qiang.lu, niklas.enbom, andresp, peah-webrtc, perkj_webrtc, mflodman
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Unify FrameType and VideoFrameType. Prevents some heap allocation and frame-type conversion since interfaces mismatch. Also it's less confusing to have one type for this. BUG=webrtc:5042 R=magjed@webrtc.org, mflodman@webrtc.org, henrik.lundin@webrtc.org, solenberg@webrtc.org, stefan@webrtc.org Committed: https://crrev.com/22993e1a0c114122fc1b9de0fc74d4096ec868bd Cr-Commit-Position: refs/heads/master@{#10320}

Patch Set 1 #

Total comments: 14

Patch Set 2 : rebase + kEmptyFrame #

Patch Set 3 : more feedback woo #

Patch Set 4 : rebase #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+180 lines, -238 lines) Patch
M talk/app/webrtc/java/jni/androidmediaencoder_jni.cc View 1 2 3 4 4 chunks +6 lines, -7 lines 0 comments Download
M talk/media/webrtc/fakewebrtcvideoengine.h View 1 2 3 1 chunk +3 lines, -4 lines 0 comments Download
M webrtc/common_types.h View 1 2 1 chunk +15 lines, -8 lines 0 comments Download
M webrtc/frame_callback.h View 1 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_coding/main/acm2/acm_receiver_unittest.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/modules/audio_coding/main/acm2/acm_receiver_unittest_oldapi.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/modules/audio_coding/main/acm2/audio_coding_module_impl.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_coding/main/acm2/audio_coding_module_unittest_oldapi.cc View 1 3 chunks +11 lines, -11 lines 0 comments Download
M webrtc/modules/audio_coding/main/test/Channel.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_coding/main/test/TestAllCodecs.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_coding/main/test/TestStereo.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_coding/main/test/TestVADDTX.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/modules/audio_coding/main/test/TestVADDTX.cc View 1 3 chunks +4 lines, -4 lines 0 comments Download
M webrtc/modules/audio_coding/main/test/utility.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_format_h264_unittest.cc View 1 6 chunks +6 lines, -6 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_sender.cc View 1 2 3 4 3 chunks +4 lines, -3 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_sender_audio.cc View 1 2 chunks +3 lines, -3 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_sender_unittest.cc View 1 2 3 3 chunks +4 lines, -4 lines 0 comments Download
M webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_encoder.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_encoder.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/video_coding/codecs/i420/main/interface/i420.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/video_coding/codecs/i420/main/source/i420.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/video_coding/codecs/interface/mock/mock_video_codec_interface.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/video_coding/codecs/test/stats.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/video_coding/codecs/test/videoprocessor.h View 3 chunks +3 lines, -3 lines 0 comments Download
M webrtc/modules/video_coding/codecs/test/videoprocessor.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/modules/video_coding/codecs/test/videoprocessor_integrationtest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter_unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/simulcast_unittest.h View 1 2 3 10 chunks +10 lines, -19 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/vp8_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/video_coding/codecs/vp9/vp9_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/modules/video_coding/main/source/decoding_state_unittest.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/modules/video_coding/main/source/encoded_frame.h View 2 chunks +1 line, -7 lines 0 comments Download
M webrtc/modules/video_coding/main/source/encoded_frame.cc View 1 1 chunk +1 line, -35 lines 0 comments Download
M webrtc/modules/video_coding/main/source/frame_buffer.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/modules/video_coding/main/source/generic_encoder.cc View 1 2 4 chunks +7 lines, -10 lines 0 comments Download
M webrtc/modules/video_coding/main/source/jitter_buffer.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/video_coding/main/source/jitter_buffer_unittest.cc View 1 4 chunks +6 lines, -7 lines 0 comments Download
M webrtc/modules/video_coding/main/source/packet.cc View 1 2 chunks +16 lines, -18 lines 0 comments Download
M webrtc/modules/video_coding/main/source/receiver_unittest.cc View 1 1 chunk +2 lines, -4 lines 0 comments Download
M webrtc/modules/video_coding/main/source/session_info.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/modules/video_coding/main/source/session_info_unittest.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/modules/video_coding/main/source/test/stream_generator.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/modules/video_coding/main/source/video_receiver_unittest.cc View 1 5 chunks +5 lines, -5 lines 0 comments Download
M webrtc/modules/video_coding/main/source/video_sender.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/video_coding/main/source/video_sender_unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M webrtc/test/configurable_frame_size_encoder.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/test/configurable_frame_size_encoder.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/test/fake_encoder.h View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/test/fake_encoder.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/video/encoded_frame_callback_adapter.cc View 1 chunk +2 lines, -5 lines 0 comments Download
M webrtc/video/end_to_end_tests.cc View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M webrtc/video/video_encoder.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/video/video_encoder_unittest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M webrtc/video/video_send_stream_tests.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
M webrtc/video_encoder.h View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/video_engine/vie_channel.h View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/video_engine/vie_encoder.cc View 1 2 3 4 1 chunk +5 lines, -4 lines 0 comments Download
M webrtc/video_frame.h View 1 3 chunks +2 lines, -7 lines 0 comments Download

Messages

Total messages: 37 (11 generated)
pbos-webrtc
PTAL, this is mostly regexed ofc. :)
5 years, 2 months ago (2015-09-30 15:53:09 UTC) #1
pbos-webrtc
On 2015/09/30 15:53:09, pbos-webrtc wrote: > PTAL, this is mostly regexed ofc. :) There are ...
5 years, 2 months ago (2015-09-30 15:53:29 UTC) #2
the sun
https://codereview.webrtc.org/1371043003/diff/1/webrtc/common_types.h File webrtc/common_types.h (right): https://codereview.webrtc.org/1371043003/diff/1/webrtc/common_types.h#newcode159 webrtc/common_types.h:159: enum FrameType { enum class again?
5 years, 2 months ago (2015-09-30 17:21:11 UTC) #4
hlundin-webrtc
webrtc/modules/audio_coding/: lgtm with one nit. https://codereview.webrtc.org/1371043003/diff/1/webrtc/common_types.h File webrtc/common_types.h (right): https://codereview.webrtc.org/1371043003/diff/1/webrtc/common_types.h#newcode173 webrtc/common_types.h:173: typedef FrameType VideoFrameType; I ...
5 years, 2 months ago (2015-10-01 08:54:04 UTC) #6
stefan-webrtc
https://codereview.webrtc.org/1371043003/diff/1/webrtc/modules/rtp_rtcp/source/rtp_sender.cc File webrtc/modules/rtp_rtcp/source/rtp_sender.cc (right): https://codereview.webrtc.org/1371043003/diff/1/webrtc/modules/rtp_rtcp/source/rtp_sender.cc#newcode39 webrtc/modules/rtp_rtcp/source/rtp_sender.cc:39: return "empty"; skip? https://codereview.webrtc.org/1371043003/diff/1/webrtc/modules/video_coding/main/source/generic_encoder.cc File webrtc/modules/video_coding/main/source/generic_encoder.cc (right): https://codereview.webrtc.org/1371043003/diff/1/webrtc/modules/video_coding/main/source/generic_encoder.cc#newcode142 webrtc/modules/video_coding/main/source/generic_encoder.cc:142: ...
5 years, 2 months ago (2015-10-01 09:21:21 UTC) #7
pbos-webrtc
rebase + kEmptyFrame
5 years, 2 months ago (2015-10-06 15:33:50 UTC) #8
pbos-webrtc
more feedback woo
5 years, 2 months ago (2015-10-06 15:41:59 UTC) #9
pbos-webrtc
PTAL woo https://codereview.webrtc.org/1371043003/diff/1/webrtc/common_types.h File webrtc/common_types.h (right): https://codereview.webrtc.org/1371043003/diff/1/webrtc/common_types.h#newcode159 webrtc/common_types.h:159: enum FrameType { On 2015/09/30 17:21:10, the ...
5 years, 2 months ago (2015-10-06 15:42:46 UTC) #10
stefan-webrtc
lgtm
5 years, 2 months ago (2015-10-13 14:57:30 UTC) #11
pbos-webrtc
solenberg@ are you fine with me submitting this without enum classing it?
5 years, 2 months ago (2015-10-13 16:29:03 UTC) #12
The Sun (google.com)
On 2015/10/13 16:29:03, pbos-webrtc wrote: > solenberg@ are you fine with me submitting this without ...
5 years, 2 months ago (2015-10-14 08:04:35 UTC) #13
pbos-webrtc
rebase
5 years, 2 months ago (2015-10-14 09:44:38 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1371043003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1371043003/60001
5 years, 2 months ago (2015-10-14 09:45:07 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/1219)
5 years, 2 months ago (2015-10-14 09:48:08 UTC) #19
pbos-webrtc
+R mflodman@ for: talk/app/webrtc/java/jni/androidmediaencoder_jni.cc webrtc/common_types.h webrtc/frame_callback.h webrtc/video_encoder.h webrtc/video_frame.h
5 years, 2 months ago (2015-10-14 09:51:19 UTC) #21
the sun
On 2015/10/14 09:51:19, pbos-webrtc wrote: > +R mflodman@ for: > > talk/app/webrtc/java/jni/androidmediaencoder_jni.cc > webrtc/common_types.h > ...
5 years, 2 months ago (2015-10-14 13:24:04 UTC) #22
pbos-webrtc
On 2015/10/14 13:24:04, the sun wrote: > On 2015/10/14 09:51:19, pbos-webrtc wrote: > > +R ...
5 years, 2 months ago (2015-10-15 11:47:08 UTC) #23
mflodman
LGTM for: talk/app/webrtc/java/jni/androidmediaencoder_jni.cc webrtc/common_types.h webrtc/frame_callback.h webrtc/video_encoder.h webrtc/video_frame.h
5 years, 2 months ago (2015-10-16 11:48:49 UTC) #24
pbos-webrtc
rebase
5 years, 2 months ago (2015-10-16 13:14:18 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1371043003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1371043003/80001
5 years, 2 months ago (2015-10-16 15:14:25 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/1263)
5 years, 2 months ago (2015-10-16 15:19:34 UTC) #30
pbos-webrtc
+R magjed@ for: talk/app/webrtc/java/jni/androidmediaencoder_jni.cc
5 years, 2 months ago (2015-10-19 08:44:55 UTC) #32
magjed_webrtc
talk/app/webrtc/java/jni/androidmediaencoder_jni.cc lgtm
5 years, 2 months ago (2015-10-19 08:47:15 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1371043003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1371043003/80001
5 years, 2 months ago (2015-10-19 08:49:15 UTC) #35
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 2 months ago (2015-10-19 09:39:13 UTC) #36
commit-bot: I haz the power
5 years, 2 months ago (2015-10-19 09:39:23 UTC) #37
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/22993e1a0c114122fc1b9de0fc74d4096ec868bd
Cr-Commit-Position: refs/heads/master@{#10320}

Powered by Google App Engine
This is Rietveld 408576698