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>
8 years ago
Abdur Rehman
1580e70d7a
wcap: fix a typo in README
...
Signed-off-by: Abdur Rehman <arehmanq199@gmail.com>
Reviewed-by: Yong Bakos <ybakos@humanoriented.com>
8 years ago
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>
8 years ago
Bryce Harrington
4d25363e4b
wcap: Prefer quote form of include for config.h
10 years ago
Bryce Harrington
212018e5f5
wcap: Update boilerplate from MIT X11 license to MIT Expat license
10 years ago
Murray Calavera
883ac02d22
Whitespace corrections
...
Signed-off-by: Murray Calavera <murray.calavera@gmail.com>
10 years ago
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>
11 years ago
Kristian Høgsberg
e895f148e6
build: Move wcap/Makefile.am into top-level Makefile.am
11 years ago
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>
11 years ago
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.
11 years ago
Rob Bradford
12a2ff3482
wcap-decode: Close file descriptor when destroying the decoder
11 years ago
Peng Wu
3cd1f860a0
wcap: Fix README typo
11 years ago
David Richards
7e5b57e7b8
wcap-decode: Add 444 YUV Planar output
...
Done in the most simple way possible, for those who like nice things
12 years ago
Scott Moreau
2327d1f490
wcap: Fix typo in usage output.
12 years ago
Kristian Høgsberg
f32f096cd8
wcap: Clarify help message, don't dump yuv4mpeg2 to terminal
12 years ago
Kristian Høgsberg
776a563702
wcap: Add GCC_CFLAGS and fix more compiler warnings
12 years ago
Scott Moreau
005d8cd9f7
wcap: Declare variable with same sign as convert_to_yv12() expects.
12 years ago
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.
12 years ago
Jan Engelhardt
e3ebd33e88
wcap-snapshot: add return value
...
Distro build with rpmlint aborts due to missing exit status.
13 years ago
Martin Olsson
9988633f58
wcap: Plug memory leak in wcap_decoder_create()
13 years ago
Kristian Høgsberg
c7c64e1855
wcap: Add vpx_config.h to Makefile.am
13 years ago
Pekka Paalanen
daed3bc1aa
tests, wcap: update ignores
...
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
13 years ago
Kristian Høgsberg
f7a69642a9
wcap: Convert argb to yv12 using integer math instead
...
Drop from 8% in the profile to 1.8%.
13 years ago
Kristian Høgsberg
86aa5fbbe6
wcap: Fix README typo
...
Thanks to Jonas Kulla <nyocurio@googlemail.com> for spotting it.
13 years ago
Kristian Høgsberg
053be42a4e
wcap: Compute per-component deltas
13 years ago
Kristian Høgsberg
db0623a5f0
wcap: Add wcap README, with a bit of documentation
13 years ago
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.
13 years ago
Kristian Høgsberg
f4b5a4d12e
wcap-decode: Fix timestamp overflow
13 years ago
Kristian Høgsberg
11374d2a7d
wcap: Space out frames according to timestamps
13 years ago
Kristian Høgsberg
2255eb0816
wcap: Support the other pixel format we may write
13 years ago
Kristian Høgsberg
b2aa91c164
wcap: Commit Makefile.am
13 years ago
Kristian Høgsberg
bf17130144
wcap: Move old wcap-encode to wcap/ as wcap-snapshot
13 years ago
Kristian Høgsberg
2bcb2fc1fd
wcap: Rename wcap-encode to just wcap
13 years ago