webrtc/talk/media
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
..
base Revert 7702 "cricket::VideoAdapter: Drop frames before spending ..." 2014-11-14 13:25:25 +00:00
devices (Auto)update libjingle 75390072-> 75428737 2014-09-13 01:09:18 +00:00
other (Auto)update libjingle 77263371-> 77296420 2014-10-08 22:24:30 +00:00
sctp (Auto)update libjingle 77263371-> 77296420 2014-10-08 22:24:30 +00:00
testdata * Move test data assests required by video frame tests to be in libjingle instead of elsewhere and co-located with other libjingle test data files. 2014-09-03 23:17:36 +00:00
webrtc Report total bitrate for all streams in GetStats. 2014-11-14 11:52:04 +00:00