libam7xxx.git
12 years agoSerialize struct am7xxx_header properly before sending it on the wire
Antonio Ospite [Tue, 24 Jan 2012 12:38:35 +0000 (13:38 +0100)]
Serialize struct am7xxx_header properly before sending it on the wire

That is in order to:

  1. keep data in the structs always in the host native byte order, this
     is more natural and less error prone as we might forget to use
     htole32() when setting struct fields or le32toh() when accessing
     them;

  2. be more portable: this way the buffer sent to the wire is
     independent of struct alignments or paddings introduced by
     compilers or required by a particular architecture.

12 years agopicoproj: exit with success when the -h option is used
Antonio Ospite [Tue, 24 Jan 2012 09:41:47 +0000 (10:41 +0100)]
picoproj: exit with success when the -h option is used

12 years agoDocument usb_modeswitch command to change the device mode
Antonio Ospite [Tue, 24 Jan 2012 09:27:25 +0000 (10:27 +0100)]
Document usb_modeswitch command to change the device mode

12 years agoRenamed AM7XXX_IMAGE_FORMAT_YUV_NV12 to AM7XXX_IMAGE_FORMAT_NV12.
Reto Schneider [Mon, 23 Jan 2012 16:13:15 +0000 (17:13 +0100)]
Renamed AM7XXX_IMAGE_FORMAT_YUV_NV12 to AM7XXX_IMAGE_FORMAT_NV12.

12 years agoAdded support for imageformat YUV - NV12
Reto Schneider [Sat, 21 Jan 2012 15:22:04 +0000 (16:22 +0100)]
Added support for imageformat YUV - NV12

12 years agoStop build process if a warning shows up
Reto Schneider [Sat, 21 Jan 2012 15:15:50 +0000 (16:15 +0100)]
Stop build process if a warning shows up

12 years agocorrected some spelling mistakes
Reto Schneider [Sun, 15 Jan 2012 23:03:42 +0000 (00:03 +0100)]
corrected some spelling mistakes

12 years agoRelicense under GPLv2+
Antonio Ospite [Sun, 15 Jan 2012 21:58:15 +0000 (22:58 +0100)]
Relicense under GPLv2+

This could make sharing code with a linux kernel driver easier.

12 years agoAdd a TODO file
Antonio Ospite [Sun, 15 Jan 2012 20:12:14 +0000 (21:12 +0100)]
Add a TODO file

12 years agoAdd a README.asciidoc
Antonio Ospite [Sun, 15 Jan 2012 20:11:58 +0000 (21:11 +0100)]
Add a README.asciidoc

12 years agoFix Copyright year
Antonio Ospite [Sun, 15 Jan 2012 00:40:19 +0000 (01:40 +0100)]
Fix Copyright year

12 years agoAdd GPL-3 license text
Antonio Ospite [Sun, 15 Jan 2012 00:39:15 +0000 (01:39 +0100)]
Add GPL-3 license text

12 years agoRename the header_len field to header_data_len
Antonio Ospite [Fri, 13 Jan 2012 12:43:59 +0000 (13:43 +0100)]
Rename the header_len field to header_data_len

This matches better match its meaning, it is not the length of the whole
header, but only of the header_data section.

12 years agoMake including am7xxx.h in C++ code safe
Antonio Ospite [Fri, 13 Jan 2012 12:37:32 +0000 (13:37 +0100)]
Make including am7xxx.h in C++ code safe

12 years agoUse Cmake and make libam7xxx a shared library
Antonio Ospite [Fri, 13 Jan 2012 02:20:14 +0000 (03:20 +0100)]
Use Cmake and make libam7xxx a shared library

Also move the source code to a src/ subdirectory in order to avoid
cluttering the project root dir.

12 years agoSplit am7xxx functions and definitions
Antonio Ospite [Thu, 12 Jan 2012 12:46:14 +0000 (13:46 +0100)]
Split am7xxx functions and definitions

This is the base for the libam7xxx shared library.

12 years agoAdd backup and changelog rules to Makefile
Antonio Ospite [Sat, 7 Jan 2012 02:16:17 +0000 (03:16 +0100)]
Add backup and changelog rules to Makefile

12 years agoAdd initial support for USB output communication
Antonio Ospite [Sat, 7 Jan 2012 01:53:08 +0000 (02:53 +0100)]
Add initial support for USB output communication

12 years agoAdd support for sending an actual JPEG image
Antonio Ospite [Sat, 7 Jan 2012 00:46:38 +0000 (01:46 +0100)]
Add support for sending an actual JPEG image

12 years agoImage size is always unsigned
Antonio Ospite [Sat, 7 Jan 2012 00:45:20 +0000 (01:45 +0100)]
Image size is always unsigned

12 years agoWrap lines when dumping big buffers
Antonio Ospite [Sat, 7 Jan 2012 00:44:01 +0000 (01:44 +0100)]
Wrap lines when dumping big buffers

12 years agoAdd some command line options
Antonio Ospite [Fri, 6 Jan 2012 23:03:55 +0000 (00:03 +0100)]
Add some command line options

This will make it easier to experiment with different image size and
format.

12 years agoMinor Makefile cleanup
Antonio Ospite [Fri, 6 Jan 2012 23:03:16 +0000 (00:03 +0100)]
Minor Makefile cleanup

12 years agoRewrite to support different packet types
Antonio Ospite [Fri, 6 Jan 2012 21:51:02 +0000 (22:51 +0100)]
Rewrite to support different packet types

12 years agoFix a typo
Antonio Ospite [Sat, 7 Jan 2012 00:58:10 +0000 (01:58 +0100)]
Fix a typo

12 years agoInitial import
Antonio Ospite [Fri, 6 Jan 2012 17:16:37 +0000 (18:16 +0100)]
Initial import