On Wed, Aug 19, 2015 at 06:41:23AM +, Donny Yang wrote:
> The current algorithm is just "try all the combinations, and pick the best".
> It's not very fast either, probably due to a lot of copying, but will do for
> an initial implementation.
>
> Signed-off-by: Donny Yang
> ---
> libavcodec/
The current algorithm is just "try all the combinations, and pick the best".
It's not very fast either, probably due to a lot of copying, but will do for
an initial implementation.
Signed-off-by: Donny Yang
---
libavcodec/pngenc.c | 420 +++-
1 fil
The current algorithm is just "try all the combinations, and pick the best".
It's not very fast either, probably due to a lot of copying, but will do for
an initial implementation.
Signed-off-by: Donny Yang
---
libavcodec/pngenc.c | 420 +++-
1 fil
Hi Donny,
On Sat, Jul 18, 2015 at 9:48 PM, Donny Yang wrote:
> +uint32_t x, y;
> +uint32_t leftmost_x = input->width;
> +uint32_t rightmost_x = 0;
> +uint32_t topmost_y = input->height;
> +uint32_t bottommost_y = 0;
> +const uint8_t *input_data = input->data[0];
> +ui
The current algorithm is just "try all the combinations, and pick the best".
It's not very fast either, probably due to a lot of copying, but will do for
an initial implementation.
Signed-off-by: Donny Yang
---
libavcodec/pngenc.c | 420 +++-
1 fil