diff --git a/codecs/wp2/dec/README.md b/codecs/wp2/dec/README.md index e3e0b0bc..4ebef7e7 100644 --- a/codecs/wp2/dec/README.md +++ b/codecs/wp2/dec/README.md @@ -1,10 +1,10 @@ # WebP2 decoder -The source for the library is not open-source _yet_. The second it is we will publicize the build steps. +- Source: ## Dependencies -N/A +- Docker ## Example @@ -12,6 +12,6 @@ N/A ## API -### `RawImage decode(uint8_t* image_buffer, int image_width, int image_height)` +### `ImageData decode(uint8_t* image_buffer, int image_width, int image_height)` -Decodes the given WP2 buffer into raw RGBA. `RawImage` is a class with 3 fields: `buffer`, `width`, and `height`. +Decodes the given WebP2 buffer into raw RGBA represented as an `ImageData`. diff --git a/codecs/wp2/enc/README.md b/codecs/wp2/enc/README.md index 5f70ed85..82a5469c 100644 --- a/codecs/wp2/enc/README.md +++ b/codecs/wp2/enc/README.md @@ -1,10 +1,10 @@ # WebP2 encoder -The source for the library is not open-source _yet_. The second it is we will publicize the build steps. +- Source: ## Dependencies -N/A +- Docker ## Example @@ -12,6 +12,6 @@ N/A ## API -### `UInt8Array encode(uint8_t* image_buffer, int image_width, int image_height)` +### `UInt8Array encode(uint8_t* image_buffer, int image_width, int image_height, WP2::EncoderConfig config)` -Encodes the given image with given dimension to WP2. +Encodes the given image with given dimension to WebP2.