am7xxx: add am7xxx_calc_scaled_image_dimensions()
authorAntonio Ospite <ospite@studenti.unina.it>
Thu, 15 Mar 2012 13:05:25 +0000 (14:05 +0100)
committerAntonio Ospite <ospite@studenti.unina.it>
Thu, 15 Mar 2012 13:10:32 +0000 (14:10 +0100)
commit323d6d0521ae5a60d046df5945e076e7d07211ca
tree30b4175f0b582b762d0273a1b28a6bd45f6114f5
parenta2b087687a00a0b9b810f33e67b388a4496a6cdb
am7xxx: add  am7xxx_calc_scaled_image_dimensions()

This function is useful to calculate the dimensions of an image which
will be sent with am7xxx_send_image() in a way that keeps the original
image aspect ratio.
src/am7xxx.c
src/am7xxx.h