/external/webrtc/talk/media/base/ |
videoframe.cc | 108 int32_t src_height = static_cast<int>(GetHeight()); local 115 src_width, src_height) == 0; 165 size_t src_height = GetHeight(); local 166 if (width == src_width && height == src_height) { 176 if (src_width * height > src_height * width) { 178 src_width = ROUNDTO2(src_height * width / height); 183 } else if (src_width * height < src_height * width) { 185 src_height = src_width * height / width; 187 static_cast<int32_t>((GetHeight() - src_height) >> 2); 198 static_cast<int>(src_width), static_cast<int>(src_height), [all...] |
/external/libvpx/libvpx/third_party/libyuv/source/ |
convert_to_argb.cc | 28 // src_height is used to compute location of planes, and indicate inversion 35 int src_width, int src_height, 43 int abs_src_height = (src_height < 0) ? -src_height : src_height; 61 src_height == 0 || crop_height == 0) { 64 if (src_height < 0) { 156 src_uv = sample + aligned_src_width * (src_height + crop_y / 2) + crop_x; 164 src_uv = sample + aligned_src_width * (src_height + crop_y / 2) + crop_x;
|
scale_common.cc | 861 void ScalePlaneVertical(int src_height, 872 const int max_y = (src_height > 1) ? ((src_height - 1) << 16) - 1 : 0; 875 assert(src_height != 0); 935 void ScalePlaneVertical_16(int src_height, 946 const int max_y = (src_height > 1) ? ((src_height - 1) << 16) - 1 : 0; 949 assert(src_height != 0); 1011 enum FilterMode ScaleFilterReduce(int src_width, int src_height, 1017 if (src_height < 0) [all...] |
convert_to_i420.cc | 24 // src_height is used to compute location of planes, and indicate inversion 34 int src_width, int src_height, 42 int abs_src_height = (src_height < 0) ? -src_height : src_height; 59 src_height == 0 || crop_height == 0) { 62 if (src_height < 0) { 186 src_uv = sample + (src_width * src_height) + 197 src_uv = sample + (src_width * src_height) +
|
/external/libyuv/files/source/ |
convert_to_argb.cc | 28 // src_height is used to compute location of planes, and indicate inversion 35 int src_width, int src_height, 43 int abs_src_height = (src_height < 0) ? -src_height : src_height; 61 src_height == 0 || crop_height == 0) { 64 if (src_height < 0) { 156 src_uv = sample + aligned_src_width * (src_height + crop_y / 2) + crop_x; 164 src_uv = sample + aligned_src_width * (src_height + crop_y / 2) + crop_x;
|
scale_common.cc | 891 void ScalePlaneVertical(int src_height, 902 const int max_y = (src_height > 1) ? ((src_height - 1) << 16) - 1 : 0; 905 assert(src_height != 0); 957 void ScalePlaneVertical_16(int src_height, 968 const int max_y = (src_height > 1) ? ((src_height - 1) << 16) - 1 : 0; 971 assert(src_height != 0); 1033 enum FilterMode ScaleFilterReduce(int src_width, int src_height, 1039 if (src_height < 0) [all...] |
convert_to_i420.cc | 24 // src_height is used to compute location of planes, and indicate inversion 34 int src_width, int src_height, 42 const int abs_src_height = (src_height < 0) ? -src_height : src_height; 57 (src_height < 0) ? -abs_crop_height : abs_crop_height; 61 src_height == 0 || crop_height == 0) { 185 src_uv = sample + (src_width * src_height) + 196 src_uv = sample + (src_width * src_height) +
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_blit.c | 275 unsigned src_width, unsigned src_height, 285 calc_tex_coords(src_width, src_height, 326 * @param[in] src_height source image height 347 unsigned src_height, 377 if (reg_height + src_y_offset > src_height) 378 reg_height = src_height - src_y_offset; 395 src_width, src_height, src_pitch, src_offset, 416 emit_tx_setup(r100, src_mesaformat, src_bo, src_offset, src_width, src_height, src_pitch); 420 emit_draw_packet(r100, src_width, src_height,
|
/external/libyuv/files/unit_test/ |
scale_test.cc | 24 static int TestFilter(int src_width, int src_height, 28 if (!SizeValid(src_width, src_height, dst_width, dst_height)) { 35 int src_height_uv = (Abs(src_height) + 1) >> 1; 37 int64 src_y_plane_size = (Abs(src_width) + b * 2) * (Abs(src_height) + b * 2); 80 src_width, src_height, 93 src_width, src_height, 152 static int TestFilter_16(int src_width, int src_height, 155 if (!SizeValid(src_width, src_height, dst_width, dst_height)) { 162 int src_height_uv = (Abs(src_height) + 1) >> 1; 165 (Abs(src_height) + b * 2) [all...] |
unit_test.h | 57 static inline bool SizeValid(int src_width, int src_height, 59 if (src_width > kMaxWidth || src_height > kMaxHeight ||
|
/external/opencv3/3rdparty/libwebp/utils/ |
rescaler.c | 27 void WebPRescalerInit(WebPRescaler* const wrk, int src_width, int src_height, 33 wrk->src_height = src_height; 48 ((int64_t)dst_height << RFIX) / (x_sub * src_height) : 49 ((int64_t)dst_height << RFIX) / (x_add * src_height);
|
/external/libyuv/files/util/ |
convert.cc | 162 int src_width, int src_height, 177 src_width, src_height, 288 int src_height = Abs(image_height); local 290 int half_src_height = (src_height + 1) / 2; 294 ch_org + src_width * src_height, half_src_width, 295 ch_org + src_width * src_height +
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
r200_blit.c | 400 unsigned src_width, unsigned src_height, 410 calc_tex_coords(src_width, src_height, 448 * @param[in] src_height source image height 469 unsigned src_height, 499 if (reg_height + src_y_offset > src_height) 500 reg_height = src_height - src_y_offset; 517 src_width, src_height, src_pitch, 538 emit_tx_setup(r200, src_mesaformat, dst_mesaformat, src_bo, src_offset, src_width, src_height, src_pitch); 542 emit_draw_packet(r200, src_width, src_height,
|
/external/webrtc/webrtc/common_video/libyuv/ |
scaler_unittest.cc | 29 int src_width, int src_height, 342 int src_width, int src_height, 345 EXPECT_EQ(0, test_scaler_.Set(src_width, src_height, 359 size_t src_required_size = CalcBufferSize(kI420, src_width, src_height); 361 int size_y = src_width * src_height; 362 int size_uv = ((src_width + 1) / 2) * ((src_height + 1) / 2); 373 src_width, src_height, 388 src_width, src_height, dst_width, dst_height);
|
/hardware/intel/img/hwcomposer/merrifield/include/pvr/hal/ |
img_gralloc_public.h | 290 int src_width, int src_height, 297 src_stamp, src_width, src_height, src_format,
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/include/pvr/hal/ |
img_gralloc_public.h | 290 int src_width, int src_height, 297 src_stamp, src_width, src_height, src_format,
|
/external/webrtc/webrtc/common_video/libyuv/include/ |
webrtc_libyuv.h | 102 // - src_height : src height in pixels. 114 int src_height,
|
/external/libvpx/libvpx/third_party/libyuv/include/libyuv/ |
convert_argb.h | 191 int src_width, int src_height, 208 // crop_y = (src_height - dst_height) / 2 209 // "src_width" / "src_height" is size of src_frame in pixels. 210 // "src_height" can be negative indicating a vertically flipped image source. 212 // Must be less than or equal to src_width/src_height 221 int src_width, int src_height,
|
/external/mesa3d/src/gallium/state_trackers/va/ |
va_image.c | 144 int src_x, int src_y, unsigned int src_width, unsigned int src_height,
|
va_subpicture.c | 123 unsigned short src_width, unsigned short src_height,
|
/external/webp/src/enc/ |
picture_rescale.c | 164 int src_width, int src_height, int src_stride, 171 WebPRescalerInit(&rescaler, src_width, src_height, 174 while (y < src_height) { 175 y += WebPRescalerImport(&rescaler, src_height - y,
|
/hardware/qcom/display/msm8996/sdm/libs/hwc/ |
hwc_display_external.cpp | 228 uint32_t *src_height) { 229 *src_height = (dst_width * (*src_height)) / (*src_width);
|
/hardware/qcom/display/msm8996/sdm/libs/hwc2/ |
hwc_display_external.cpp | 192 uint32_t *src_height) { 193 *src_height = (dst_width * (*src_height)) / (*src_width);
|
/hardware/qcom/display/msmcobalt/sdm/libs/hwc/ |
hwc_display_external.cpp | 232 uint32_t *src_height) { 233 *src_height = (dst_width * (*src_height)) / (*src_width);
|
/hardware/qcom/display/msmcobalt/sdm/libs/hwc2/ |
hwc_display_external.cpp | 192 uint32_t *src_height) { 193 *src_height = (dst_width * (*src_height)) / (*src_width);
|