Revert "Optimize Android NV12 capture"
Import breakage in g3. TBR=magjed@webrtc.org This reverts commit 36d38cbb153e19bdc3c62a750aba6889da40aac2. BUG= Review-Url: https://codereview.webrtc.org/2327893002 Cr-Commit-Position: refs/heads/master@{#14172}
This commit is contained in:
@ -123,19 +123,6 @@ double I420PSNR(const VideoFrame* ref_frame, const VideoFrame* test_frame);
|
||||
// Compute SSIM for an I420 frame (all planes).
|
||||
double I420SSIM(const VideoFrame* ref_frame, const VideoFrame* test_frame);
|
||||
|
||||
// Helper function for directly converting and scaling NV12 to I420. The
|
||||
// |tmp_data| argument will be used for intermediary splitting the UV plane into
|
||||
// separate U and V planes, so the size of that memory region must be at least
|
||||
// 2 * ((src_width + 1) / 2) * ((src_height + 1) / 2).
|
||||
void NV12ToI420Scale(uint8_t* tmp_data,
|
||||
const uint8_t* src_y, int src_stride_y,
|
||||
const uint8_t* src_uv, int src_stride_uv,
|
||||
int src_width, int src_height,
|
||||
uint8_t* dst_y, int dst_stride_y,
|
||||
uint8_t* dst_u, int dst_stride_u,
|
||||
uint8_t* dst_v, int dst_stride_v,
|
||||
int dst_width, int dst_height);
|
||||
|
||||
} // namespace webrtc
|
||||
|
||||
#endif // WEBRTC_COMMON_VIDEO_LIBYUV_INCLUDE_WEBRTC_LIBYUV_H_
|
||||
|
||||
Reference in New Issue
Block a user