Commit Graph

33 Commits

Author SHA1 Message Date
Sergi Granell 597dde5cf6
wcap: Prevent fd leak in wcap_decoder_create() fail path
Signed-off-by: Sergi Granell <xerpi.g.12@gmail.com>
Reviewed-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-03-31 01:41:45 +02:00
Abdur Rehman 1580e70d7a wcap: fix a typo in README
Signed-off-by: Abdur Rehman <arehmanq199@gmail.com>
Reviewed-by: Yong Bakos <ybakos@humanoriented.com>
2017-01-03 11:59:17 +00:00
Jussi Kukkonen 649bbce607 include stdint.h for int32_t/uint32_t
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Reviewed-by: Yong Bakos <ybakos@humanoriented.com>
2016-07-26 16:26:08 -07:00
Bryce Harrington 4d25363e4b wcap: Prefer quote form of include for config.h 2015-06-15 13:04:19 -07:00
Bryce Harrington 212018e5f5 wcap: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-15 13:04:19 -07:00
Murray Calavera 883ac02d22 Whitespace corrections
Signed-off-by: Murray Calavera <murray.calavera@gmail.com>
2015-06-06 12:39:51 -07:00
vivek 6f0907b6d8 wcap: Check for mmap and malloc return value in wcap decode module
Checking for return value in main.c for wcap_decoder_create function
and mmap, malloc return value in wcap_decoder_create function to avoid
crashes

Signed-off-by: vivek <vivek.ellur@samsung.com>
2014-05-06 15:21:27 -07:00
Kristian Høgsberg e895f148e6 build: Move wcap/Makefile.am into top-level Makefile.am 2014-01-31 23:50:00 -08:00
U. Artie Eoff f05645b30e wcap-decode: remove dead code
Avoids leaking memory we never use.

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
2014-01-19 21:59:37 -08:00
Kristian Høgsberg c7d2c4c147 Add more missing config.h #includes
Now that we use AC_SYS_LARGEFILE, we need to pull in config.h at least
whereever we use mmap().  Fixes at least the test-suite and simple-shm
on 32 bit systems.
2013-08-26 14:59:14 -07:00
Rob Bradford 12a2ff3482 wcap-decode: Close file descriptor when destroying the decoder 2013-07-30 11:03:19 -07:00
Peng Wu 3cd1f860a0 wcap: Fix README typo 2013-07-12 21:53:56 -04:00
David Richards 7e5b57e7b8 wcap-decode: Add 444 YUV Planar output
Done in the most simple way possible, for those who like nice things
2013-07-02 18:06:20 -04:00
Scott Moreau 2327d1f490 wcap: Fix typo in usage output. 2012-07-23 14:25:14 -04:00
Kristian Høgsberg f32f096cd8 wcap: Clarify help message, don't dump yuv4mpeg2 to terminal 2012-07-23 11:10:20 -04:00
Kristian Høgsberg 776a563702 wcap: Add GCC_CFLAGS and fix more compiler warnings 2012-07-23 10:47:34 -04:00
Scott Moreau 005d8cd9f7 wcap: Declare variable with same sign as convert_to_yv12() expects. 2012-07-23 10:42:04 -04:00
Kristian Høgsberg c12efd0aa7 wcap: Just make wcap-decode dump YUV4MPEG2
Instead of having a custom fork of the vpxenc tool in weston, we can
just dump raw YUV data in the YUV4MPEG2 format and feed that into the
upstream vpxenc.  This also works with theora_encoder and probably many
other encoders.
2012-07-18 15:52:13 -04:00
Jan Engelhardt e3ebd33e88 wcap-snapshot: add return value
Distro build with rpmlint aborts due to missing exit status.
2012-07-09 18:04:13 -04:00
Martin Olsson 9988633f58 wcap: Plug memory leak in wcap_decoder_create() 2012-07-09 17:50:46 -04:00
Kristian Høgsberg c7c64e1855 wcap: Add vpx_config.h to Makefile.am 2012-06-25 17:13:34 -04:00
Pekka Paalanen daed3bc1aa tests, wcap: update ignores
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
2012-05-31 13:53:57 -04:00
Kristian Høgsberg f7a69642a9 wcap: Convert argb to yv12 using integer math instead
Drop from 8% in the profile to 1.8%.
2012-05-30 15:01:03 -04:00
Kristian Høgsberg 86aa5fbbe6 wcap: Fix README typo
Thanks to Jonas Kulla <nyocurio@googlemail.com> for spotting it.
2012-05-30 13:00:54 -04:00
Kristian Høgsberg 053be42a4e wcap: Compute per-component deltas 2012-05-29 12:15:47 -04:00
Kristian Høgsberg db0623a5f0 wcap: Add wcap README, with a bit of documentation 2012-05-29 11:36:27 -04:00
Kristian Høgsberg f40d5d893f wcap-decode: Fix setting framerate
Default to 30fps instead of crashing if we don't get a framerate on the
command line.
2012-05-29 10:51:55 -04:00
Kristian Høgsberg f4b5a4d12e wcap-decode: Fix timestamp overflow 2012-05-29 10:51:21 -04:00
Kristian Høgsberg 11374d2a7d wcap: Space out frames according to timestamps 2012-05-25 22:33:35 -04:00
Kristian Høgsberg 2255eb0816 wcap: Support the other pixel format we may write 2012-05-25 21:51:25 -04:00
Kristian Høgsberg b2aa91c164 wcap: Commit Makefile.am 2012-05-25 21:32:58 -04:00
Kristian Høgsberg bf17130144 wcap: Move old wcap-encode to wcap/ as wcap-snapshot 2012-05-25 18:08:29 -04:00
Kristian Høgsberg 2bcb2fc1fd wcap: Rename wcap-encode to just wcap 2012-05-25 18:03:52 -04:00