Commit f2bd3153 authored by fbarchard@google.com's avatar fbarchard@google.com

Change name of variable for convert to crop_width/height instead of…

Change name of variable for convert to crop_width/height instead of dst_width/height to clarify that it is used to crop the original before rotation and is not the final destination size.
BUG=none
TESTED=local builds still work
R=wjia@google.com, wjia@webrtc.org

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

git-svn-id: http://libyuv.googlecode.com/svn/trunk@915 16f28f9a-4ce2-e073-06de-1de4eb20be90
parent 6f0a1dca
Name: libyuv
URL: http://code.google.com/p/libyuv/
Version: 912
Version: 915
License: BSD
License File: LICENSE
......
......@@ -229,7 +229,7 @@ int MJPGSize(const uint8* sample, size_t sample_size,
// crop_y = (src_height - dst_height) / 2
// "src_width" / "src_height" is size of src_frame in pixels.
// "src_height" can be negative indicating a vertically flipped image source.
// "dst_width" / "dst_height" is size of destination to crop to.
// "crop_width" / "crop_height" is the size to crop the src to.
// Must be less than or equal to src_width/src_height
// Cropping parameters are pre-rotation.
// "rotation" can be 0, 90, 180 or 270.
......@@ -242,7 +242,7 @@ int ConvertToI420(const uint8* src_frame, size_t src_size,
uint8* dst_v, int dst_stride_v,
int crop_x, int crop_y,
int src_width, int src_height,
int dst_width, int dst_height,
int crop_width, int crop_height,
enum RotationMode rotation,
uint32 format);
......
......@@ -202,7 +202,7 @@ int MJPGToARGB(const uint8* sample, size_t sample_size,
// crop_y = (src_height - dst_height) / 2
// "src_width" / "src_height" is size of src_frame in pixels.
// "src_height" can be negative indicating a vertically flipped image source.
// "dst_width" / "dst_height" is size of destination to crop to.
// "crop_width" / "crop_height" is the size to crop the src to.
// Must be less than or equal to src_width/src_height
// Cropping parameters are pre-rotation.
// "rotation" can be 0, 90, 180 or 270.
......@@ -213,7 +213,7 @@ int ConvertToARGB(const uint8* src_frame, size_t src_size,
uint8* dst_argb, int dst_stride_argb,
int crop_x, int crop_y,
int src_width, int src_height,
int dst_width, int dst_height,
int crop_width, int crop_height,
enum RotationMode rotation,
uint32 format);
......
......@@ -11,6 +11,6 @@
#ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT
#define INCLUDE_LIBYUV_VERSION_H_
#define LIBYUV_VERSION 912
#define LIBYUV_VERSION 915
#endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment