Commit bf1f9ee6 authored by Michael Bebenita's avatar Michael Bebenita

Expose image format to the analyzer

Change-Id: I39c014ec58c08e29f60c8e4ea186fc57ac15c56b
parent 79b78b7d
......@@ -602,6 +602,12 @@ const char *get_aom_codec_build_config() { return aom_codec_build_config(); }
EMSCRIPTEN_KEEPALIVE
int get_bit_depth() { return img->bit_depth; }
EMSCRIPTEN_KEEPALIVE
int get_bits_per_sample() { return img->bps; }
EMSCRIPTEN_KEEPALIVE
int get_image_format() { return img->fmt; }
EMSCRIPTEN_KEEPALIVE
unsigned char *get_plane(int plane) { return img->planes[plane]; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment