shithub: libvpx

Download patch

ref: 5e5f6db6570112cd14098408dc07e8130f345ab0
parent: c9e2befce5c3b240a33c6c14c6e2aeadad148948
author: Jerome Jiang <jianj@google.com>
date: Fri Jan 25 09:04:33 EST 2019

Clean up TODOs for vpx_img_* functions.

They should stay in tools_common.{c,h}

Change-Id: I34bd05e8b000ce780bb1f77abcb8cbfd1e83158f

--- a/tools_common.c
+++ b/tools_common.c
@@ -200,8 +200,6 @@
 
 #endif  // CONFIG_DECODERS
 
-// TODO(dkovalev): move this function to vpx_image.{c, h}, so it will be part
-// of vpx_image_t support
 int vpx_img_plane_width(const vpx_image_t *img, int plane) {
   if (plane > 0 && img->x_chroma_shift > 0)
     return (img->d_w + 1) >> img->x_chroma_shift;
--- a/tools_common.h
+++ b/tools_common.h
@@ -145,8 +145,6 @@
 const VpxInterface *get_vpx_decoder_by_name(const char *name);
 const VpxInterface *get_vpx_decoder_by_fourcc(uint32_t fourcc);
 
-// TODO(dkovalev): move this function to vpx_image.{c, h}, so it will be part
-// of vpx_image_t support
 int vpx_img_plane_width(const vpx_image_t *img, int plane);
 int vpx_img_plane_height(const vpx_image_t *img, int plane);
 void vpx_img_write(const vpx_image_t *img, FILE *file);