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

Unified Diff: webrtc/common_video/libyuv/include/webrtc_libyuv.h

Issue 2021843002: Delete unused code in webrtc_libyuv.cc. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Copy Calc16ByteAlignedStride. Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/common_video/libyuv/libyuv_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/common_video/libyuv/include/webrtc_libyuv.h
diff --git a/webrtc/common_video/libyuv/include/webrtc_libyuv.h b/webrtc/common_video/libyuv/include/webrtc_libyuv.h
index d66736fb248ea958de646c559ffd55c75d4f3fda..ad417ea0e9d8950bf753774a50e86ee7784689f3 100644
--- a/webrtc/common_video/libyuv/include/webrtc_libyuv.h
+++ b/webrtc/common_video/libyuv/include/webrtc_libyuv.h
@@ -51,22 +51,6 @@ const double kPerfectPSNR = 48.0f;
// TODO(wu): Consolidate types into one type throughout WebRtc.
VideoType RawVideoTypeToCommonVideoVideoType(RawVideoType type);
-// Align integer values.
-// Input:
-// - value : Input value to be aligned.
-// - alignment : Alignment basis (power of 2).
-// Return value: An aligned form of the input value.
-int AlignInt(int value, int alignment);
-
-// Align stride values for I420 Video frames.
-// Input:
-// - width : Image width.
-// - stride_y : Pointer to the stride of the y plane.
-// - stride_uv: Pointer to the stride of the u and v planes (setting identical
-// values for both).
-// Setting 16 byte alignment.
-void Calc16ByteAlignedStride(int width, int* stride_y, int* stride_uv);
-
// Calculate the required buffer size.
// Input:
// - type :The type of the designated video frame.
@@ -128,24 +112,6 @@ int ConvertFromI420(const VideoFrame& src_frame,
VideoType dst_video_type,
int dst_sample_size,
uint8_t* dst_frame);
-// ConvertFrom YV12.
-// Interface - same as above.
-int ConvertFromYV12(const VideoFrame& src_frame,
- VideoType dst_video_type,
- int dst_sample_size,
- uint8_t* dst_frame);
-
-// The following list describes designated conversion functions which
-// are not covered by the previous general functions.
-// Input and output descriptions mostly match the above descriptions, and are
-// therefore omitted.
-int ConvertRGB24ToARGB(const uint8_t* src_frame,
- uint8_t* dst_frame,
- int width, int height,
- int dst_stride);
-int ConvertNV12ToRGB565(const uint8_t* src_frame,
- uint8_t* dst_frame,
- int width, int height);
// Compute PSNR for an I420 frame (all planes).
// Returns the PSNR in decibel, to a maximum of kInfinitePSNR.
« no previous file with comments | « no previous file | webrtc/common_video/libyuv/libyuv_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698