date | project | content | link |
|---|
| 14:34 Tuesday | libam7xxx | Commit by Antonio Ospite <ospite@studenti.unina.it> on rettichschnidi :: r 057fee46c1 libam7xxx/README.asciidoc: ( link) README.asciidoc: add info about running am7xxx-play.exe on Windows | # |
| 14:33 Tuesday | libam7xxx | Commit by Antonio Ospite <ospite@studenti.unina.it> on rettichschnidi :: r 6fd5891835 libam7xxx/HACKING.asciidoc: ( link) HACKING.asciidoc: add info about compiling am7xxx-play for Windows | # |
| 14:23 Tuesday | libam7xxx | Commit by Antonio Ospite <ospite@studenti.unina.it> on rettichschnidi :: r 83597605a1 libam7xxx/examples/ (CMakeLists.txt am7xxx-play.c): ( link) am7xxx-play: check if strtok_r is available
On Windows systems, where strtok_r is not available, strtok_s could be used but this needs the C Run-Time library (msvcrt.dll or msvcr80.dll) and we can't distribute it.
So for now, when strtok_r is not available, just print a message to warn the user that the '-o' options is not available. | # |
| 14:21 Tuesday | libam7xxx | Commit by Antonio Ospite <ospite@studenti.unina.it> on rettichschnidi :: r 38fb8a1d54 libam7xxx/examples/ (CMakeLists.txt am7xxx-play.c): ( link) am7xxx-play: check if sigaction is available
If sigaction is not available just stub out the set_signal_handler() function. | # |
| 14:16 Tuesday | libam7xxx | Commit by Antonio Ospite <ospite@studenti.unina.it> on rettichschnidi :: r e4da452bce libam7xxx/examples/am7xxx-play.c: ( link) am7xxx-play: add a fallback definition for ENOTSUP | # |
| 13:42 Tuesday | libam7xxx | Commit by Antonio Ospite <ospite@studenti.unina.it> on rettichschnidi :: r 2208b544c0 libam7xxx/examples/am7xxx-play.c: ( link) am7xxx-play: get the framerate from the video stream
When setting the output codec get the time_base (which indicates the framerate) from the video stream, not from the input codec context, this is the correct way to do it.
On some systems (Windows) the time_base from the input codec context is set different from the one of the video stream, and timebase.num ends up being 0 which results in the output codec initialization failing with the message "framerate not set". | # |
| 13:29 Tuesday | libam7xxx | Commit by Antonio Ospite <ospite@studenti.unina.it> on rettichschnidi :: r 83413d14e3 libam7xxx/cmake_modules/mingw_cross_toolchain.cmake: ( link) mingw_cross_toolchain.cmake: set the MINGW variable to True
Setting MINGW to True is important to let cmake set some variables such as CMAKE_FIND_LIBRARY_PREFIXES and CMAKE_FIND_LIBRARY_SUFFIXES from Platform/Windows-GNU.cmake
I wasted a lot of time on this with find_library() not finding libav libraries compiled for MingW whith the ".dll.a" suffix. | # |
| 08:35 on May 15 | libam7xxx | Commit by Antonio Ospite <ospite@studenti.unina.it> on rettichschnidi :: r 944aa0cf86 libam7xxx/HACKING.asciidoc: ( link) HACKING.asciidoc: add info about getting and building libam7xxx
Some Ubuntu user asked for a step by step guide. | # |
| 12:42 on May 14 | libam7xxx | Commit by Antonio Ospite <ospite@studenti.unina.it> on rettichschnidi :: r 7a763868a8 libam7xxx/README.asciidoc: ( link) README.asciidoc: add Royaltek PJU-2100 to the AM7XXX based devices list
The drivers for this device look like the same "EZ Display" bundle as some other models. | # |
| 08:25 on May 13 | libam7xxx | Commit by Richard Wisenoecker <richard47@gmx.at> on rettichschnidi :: r d52698283c libam7xxx/src/am7xxx.c: ( link) am7xxx: add support for Acer C112 | # |
| 19:52 on May 11 | libam7xxx | Commit by Antonio Ospite <ospite@studenti.unina.it> on rettichschnidi :: r 9c6591058c libam7xxx/README.asciidoc: ( link) README.asciidoc document how to get libam7xx running on MS Windows | # |
| 19:50 on May 11 | libam7xxx | Commit by Antonio Ospite <ospite@studenti.unina.it> on rettichschnidi :: r 2564604d19 libam7xxx/examples/ (CMakeLists.txt am7xxx_mode_switch.c): ( link) Add a simple usb_mode_switch clone for am7xxx devices
Add am7xxx_mode_switch, this is will be used on systems where usb_mode_switch is not easily available (e.g. MS Windows). | # |
| 13:57 on May 10 | libam7xxx | Commit by Antonio Ospite <ospite@studenti.unina.it> on rettichschnidi :: r d25fcc3e36 libam7xxx/: ( link) Merge remote-tracking branch 'origin/rettichschnidi' into mingw-port | # |
| 10:10 on May 10 | libam7xxx | Commit by Antonio Ospite <ospite@studenti.unina.it> on rettichschnidi :: r e2c8afa723 libam7xxx/examples/picoproj.c: ( link) picoproj: issue a warning when passing "-f" more than once | # |
| 07:34 on May 10 | libam7xxx | Commit by Antonio Ospite <ospite@studenti.unina.it> on rettichschnidi :: r 5ec0c02655 libam7xxx/src/CMakeLists.txt: ( link) am7xxx: don't look for the math library when compiling for Windows | # |
| 07:01 on May 10 | libam7xxx | Commit by Antonio Ospite <ospite@studenti.unina.it> on rettichschnidi :: r d9d124ef15 libam7xxx/src/serialize.c: ( link) am7xxx: MinGW does not have endian.h, provide fallbacks
Provide fallbacks only for the functions used in the code, and assume Windows is always using little endian. | # |
| 06:16 on May 10 | libam7xxx | Commit by Antonio Ospite <ospite@studenti.unina.it> on rettichschnidi :: r 2e98c1f8f7 libam7xxx/src/am7xxx.c: ( link) am7xxx: fix setting the USB configuration
libusb_set_configuration() expects the bConfigurationValue of the configuration we wish to activate as the second parameter.
The am7xxx devices we know have bConfigurationValue=2 for the first and only configuration available in the descriptor, use this value.
While the libusb linux back-end looks forgiving on this one, without this change the WinUSB back-end will fail with an error like:
C:\Documents and Settings\Administrator\Desktop\win>picoproj.exe -f image.jpg -F 1 -l 5 -W 800 -H 480 JPEG format scan_devices: am7xxx device found, index: 0, name: Acer C110 [timestamp] [threadID] facility level [function call] <message> --------------------------------------------------------------------------------
[ 0.000000] [00000eb0] libusbx: warning [winusb_submit_control_transfer] cannot set configuration other than the default one [ 0.031250] [00000eb0] libusbx: warning [winusb_submit_control_transfer] cannot set configuration other than the default one [ 0.046875] [00000eb0] libusbx: error [winusb_submit_bulk_transfer] unable to match endpoint to an open interface - cancelling transfer read_data[281]: ret: -5 transferred: 0 (expected 24) am7xxx_get_info: No such file or directory | # |
| 06:11 on May 10 | libam7xxx | Commit by Antonio Ospite <ospite@studenti.unina.it> on rettichschnidi :: r c9f69db245 libam7xxx/src/am7xxx.c: ( link) am7xxx: use hex notation for USB endpoints
This is for consistency with other uses. | # |
| 05:57 on May 10 | libam7xxx | Commit by Antonio Ospite <ospite@studenti.unina.it> on rettichschnidi :: r dbf547ef3b libam7xxx/examples/picoproj.c: ( link) picoproj: use MAP_PRIVATE in the mmap call
There is no need to allow sharing the mapped region with other processes. | # |
| 05:49 on May 10 | libam7xxx | Commit by Antonio Ospite <ospite@studenti.unina.it> on rettichschnidi :: r 2c663372da libam7xxx/HACKING.asciidoc: ( link) HACKING.asciidoc: fix cmake invocation examples
Put the path to the source dir last, like the cmake manual says:
cmake [options] <path-to-source>
Also put a space between the -D option and the configuration setting it
modifies, this is more readable. | # |