webrtc/talk
magjed@webrtc.org a73d746562 Revert 7702 "cricket::VideoAdapter: Drop frames before spending ..."
Rease for revert: failed internal test cases

> cricket::VideoAdapter: Drop frames before spending time converting/scaling, not after.
> 
> In VideoCapturer::OnFrameCaptured, we currently convert cricket::CapturedFrame to cricket::VideoFrame and then send that to VideoAdapter::AdaptFrame. AdaptFrame may then decide to drop the frame. It would be faster to drop the frame before converting to cricket::VideoFrame.
> 
> This CL refactors VideoAdapter with a new function AdaptFrameResolution that takes captured resolution as input and output adapted resolution, or 0x0 if the frame should be dropped. Using that function, frames can be dropped before any conversion takes place.
> 
> R=fbarchard@google.com, perkj@webrtc.org, tommi@webrtc.org
> 
> Review URL: https://webrtc-codereview.appspot.com/29949004

TBR=magjed@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/24279004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7703 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-11-14 13:25:25 +00:00
..
app/webrtc Add jmi field for packets discarded due to network error 2014-11-13 03:38:05 +00:00
build Change default JVM location to /usr/lib/jvm/java-7-openjdk-amd64 2014-10-31 19:01:41 +00:00
examples Reland Volume buttons in AppRTCDemo should affect output audio volume (part I). 2014-11-06 20:35:13 +00:00
media Revert 7702 "cricket::VideoAdapter: Drop frames before spending ..." 2014-11-14 13:25:25 +00:00
session Revert 7698 "WebRtcVideoMediaChannel::SetSendParams: Don't cap r..." 2014-11-13 16:21:49 +00:00
COPYING Libjingle in webrtc needs updated AUTHORS, COPYING, LICENSE_THIRD_PARTY AND README. 2013-07-16 18:04:56 +00:00
libjingle_examples.gyp Reland Volume buttons in AppRTCDemo should affect output audio volume (part I). 2014-11-06 20:35:13 +00:00
libjingle_media_unittest.isolate Update all .isolate files for the new format. 2014-10-31 18:08:09 +00:00
libjingle_p2p_unittest.isolate Update all .isolate files for the new format. 2014-10-31 18:08:09 +00:00
libjingle_peerconnection_unittest.isolate Update all .isolate files for the new format. 2014-10-31 18:08:09 +00:00
libjingle_sound_unittest.isolate Update all .isolate files for the new format. 2014-10-31 18:08:09 +00:00
libjingle_tests.gyp Remove unnecessary copying of libjingle resource files. 2014-11-13 15:53:08 +00:00
libjingle_unittest.isolate Update all .isolate files for the new format. 2014-10-31 18:08:09 +00:00
libjingle.gyp Revert 7702 "cricket::VideoAdapter: Drop frames before spending ..." 2014-11-14 13:25:25 +00:00
LICENSE_THIRD_PARTY Libjingle in webrtc needs updated AUTHORS, COPYING, LICENSE_THIRD_PARTY AND README. 2013-07-16 18:04:56 +00:00
OWNERS Add jiayl to talk OWNERS. 2014-08-28 23:24:36 +00:00
PRESUBMIT.py Remove protected files from talk/PRESUBMIT.py. 2014-11-04 16:06:35 +00:00