summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerome Jiang <jianj@google.com>2019-01-25 14:04:33 -0800
committerJerome Jiang <jianj@google.com>2019-01-29 12:27:40 -0800
commit5e5f6db6570112cd14098408dc07e8130f345ab0 (patch)
tree17e45bafa92e00814385ce5a58d699f6fe9a92ed
parentc9e2befce5c3b240a33c6c14c6e2aeadad148948 (diff)
downloadlibvpx-5e5f6db6570112cd14098408dc07e8130f345ab0.tar
libvpx-5e5f6db6570112cd14098408dc07e8130f345ab0.tar.gz
libvpx-5e5f6db6570112cd14098408dc07e8130f345ab0.tar.bz2
libvpx-5e5f6db6570112cd14098408dc07e8130f345ab0.zip
Clean up TODOs for vpx_img_* functions.
They should stay in tools_common.{c,h} Change-Id: I34bd05e8b000ce780bb1f77abcb8cbfd1e83158f
-rw-r--r--tools_common.c2
-rw-r--r--tools_common.h2
2 files changed, 0 insertions, 4 deletions
diff --git a/tools_common.c b/tools_common.c
index 6f14c2556..b1c35e815 100644
--- a/tools_common.c
+++ b/tools_common.c
@@ -200,8 +200,6 @@ const VpxInterface *get_vpx_decoder_by_fourcc(uint32_t fourcc) {
#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;
diff --git a/tools_common.h b/tools_common.h
index 313acd2cf..bb169351b 100644
--- a/tools_common.h
+++ b/tools_common.h
@@ -145,8 +145,6 @@ const VpxInterface *get_vpx_decoder_by_index(int i);
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);