ref: dd08a110931097d9245b5534e6c821120c718f13
parent: 9bd666b42cec76a6d9a7bf3cacaeb9557159a732
parent: 5e5f6db6570112cd14098408dc07e8130f345ab0
author: Jerome Jiang <jianj@google.com>
date: Tue Jan 29 18:04:33 EST 2019
Merge "Clean up TODOs for vpx_img_* functions."
--- 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);