message: rename functions to be moved to libyuv
  Cr-Commit-Position: refs/heads/main@{#36468}
diff: @@ -32,7 +32,11 @@ int I422DataSize(int height, int stride_y, int stride_u, int stride_v) {
  return stride_y * height + stride_u * height + stride_v * height;
  }
  -int I422Rotate(const uint8_t* src_y,
  +// TODO(sergio.garcia.murillo@gmail.com): Remove as soon it is available in
  +// libyuv. Due to the rotate&scale required, this function may not be merged in
  +// to libyuv inmediatelly.
  +// https://bugs.chromium.org/p/libyuv/issues/detail?id=926
  +int webrtcI422Rotate(const uint8_t* src_y,
  int src_stride_y,
  const uint8_t* src_u,
  int src_stride_u,
  @@ -115,7 +119,9 @@ int I422Rotate(const uint8_t* src_y,
  return -1;
  }
  -int I422Scale(const uint8_t* src_y,
  +// TODO(sergio.garcia.murillo@gmail.com): Remove this function with libyuv one
  +// as soon as the dependency is updated.
  +int webrtcI422Scale(const uint8_t* src_y,
  int src_stride_y,
  const uint8_t* src_u,
  int src_stride_u,
  @@ -250,9 +256,9 @@ rtc::scoped_refptr<I422Buffer> I422Buffer::Rotate(
  rtc::scoped_refptr<webrtc::I422Buffer> buffer =
  I422Buffer::Create(rotated_width, rotated_height);
  - RTC_CHECK_EQ(
  - 0,
  - I422Rotate(src.DataY(), src.StrideY(), src.DataU(), src.StrideU(),
  + RTC_CHECK_EQ(0,
  + webrtcI422Rotate(
  + src.DataY(), src.StrideY(), src.DataU(), src.StrideU(),
  src.DataV(), src.StrideV(), buffer->MutableDataY(),
  buffer->StrideY(), buffer->MutableDataU(), buffer->StrideU(),
  buffer->MutableDataV(), buffer->StrideV(), src.width(),
  @@ -337,7 +343,8 @@ void I422Buffer::CropAndScaleFrom(const I422BufferInterface& src,
  src.DataU() + src.StrideU() * uv_offset_y + uv_offset_x;
  const uint8_t* v_plane =
  src.DataV() + src.StrideV() * uv_offset_y + uv_offset_x;
  - int res = I422Scale(y_plane, src.StrideY(), u_plane, src.StrideU(), v_plane,
  + int res =
  + webrtcI422Scale(y_plane, src.StrideY(), u_plane, src.StrideU(), v_plane,
  src.StrideV(), crop_width, crop_height, MutableDataY(),
  StrideY(), MutableDataU(), StrideU(), MutableDataV(),
  StrideV(), width(), height(), libyuv::kFilterBox);
  