summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-12-31meson: better error for wcap dep cairoPekka Paalanen1-5/+5
Add human-friendly error message. Cairo is a hard dependency on the whole at least because tests seem to require it, but this will help if someone adds an option to disable building tests to get rid of Cairo. Signed-off-by: Pekka Paalanen <pq@iki.fi>
2017-03-31wcap: Prevent fd leak in wcap_decoder_create() fail pathSergi Granell1-0/+2
Signed-off-by: Sergi Granell <xerpi.g.12@gmail.com> Reviewed-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-01-03wcap: fix a typo in READMEAbdur Rehman1-1/+1
Signed-off-by: Abdur Rehman <arehmanq199@gmail.com> Reviewed-by: Yong Bakos <ybakos@humanoriented.com>
2015-10-14screenshooter: correct output ordering of screencast recording when Y-flip ↵Tomohito Esaki1-3/+3
is off The screenshooter encoder wrote the output from either top-to-bottom or bottom-to-top, depending on the Y-flip setting, but wcap-decode only decodes from bottom-to-top. Make the encoder always output from bottom-to-top, to match the decoder, and flip the input (source) according to the Y-flip setting. Signed-off-by: Tomohito Esaki <etom@igel.co.jp> Reviewed-by: Giulio Camuffo <giuliocamuffo@gmail.com>
2015-06-15wcap: Prefer quote form of include for config.hBryce Harrington2-2/+2
2015-06-15wcap: Update boilerplate from MIT X11 license to MIT Expat licenseBryce Harrington3-48/+57
2014-05-06wcap: Check for mmap and malloc return value in wcap decode modulevivek2-0/+13
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-01-31build: Move wcap/Makefile.am into top-level Makefile.amKristian Høgsberg3-15/+15
2014-01-19wcap-decode: remove dead codeU. Artie Eoff1-5/+1
Avoids leaking memory we never use. Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
2013-07-30wcap-decode: Close file descriptor when destroying the decoderRob Bradford1-0/+1
2013-07-12wcap: Fix README typoPeng Wu1-1/+1
2013-07-02wcap-decode: Add 444 YUV Planar outputDavid Richards1-8/+58
Done in the most simple way possible, for those who like nice things
2013-05-22compositor: add capability CAPTURE_YFLIPPekka Paalanen5-21/+83
Both GL and pixman renderer (pixman probably only because GL did?) return the screen capture image as y-flipped, therefore Weston y-flips it again. However, the future rpi-renderer can produce only right-way-up (non-flipped) screen captures, and does not need an y-flip. Add a capability flag for y-flip, which the rpi-renderer will not set, to get screen captures the right way up. The wcap recording code needs yet another temporary buffer for the non-flipped case, since the WCAP format is flipped, and the code normally overwrites the input image as it compresses it. This becomes difficult, if the compressor is supposed to flip while processing. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
2012-11-14wcap: Transform damage rectangles according to output tranformKristian Høgsberg1-0/+52
https://bugs.freedesktop.org/show_bug.cgi?id=56697
2012-07-23wcap: Fix typo in usage output.Scott Moreau1-1/+1
2012-07-23wcap: Clarify help message, don't dump yuv4mpeg2 to terminalKristian Høgsberg1-2/+11
2012-07-23wcap: Add GCC_CFLAGS and fix more compiler warningsKristian Høgsberg3-7/+5
2012-07-23wcap: Declare variable with same sign as convert_to_yv12() expects.Scott Moreau1-1/+1
2012-07-18wcap: Just make wcap-decode dump YUV4MPEG2Kristian Høgsberg19-5078/+265
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-09wcap-snapshot: add return valueJan Engelhardt1-0/+1
Distro build with rpmlint aborts due to missing exit status.
2012-07-09wcap: Plug memory leak in wcap_decoder_create()Martin Olsson1-1/+3
2012-06-25Makefile.am: Don't list wcap sub directory twice in DIST_SUBDIRSKristian Høgsberg1-1/+1
2012-06-25wcap: Add vpx_config.h to Makefile.amKristian Høgsberg1-0/+1
2012-06-18wcap: Make recorder debug code compile againKristian Høgsberg1-3/+3
2012-05-31tests, wcap: update ignoresPekka Paalanen2-0/+4
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
2012-05-30wcap: Convert argb to yv12 using integer math insteadKristian Høgsberg1-7/+9
Drop from 8% in the profile to 1.8%.
2012-05-30wcap: Fix README typoKristian Høgsberg1-1/+1
Thanks to Jonas Kulla <nyocurio@googlemail.com> for spotting it.
2012-05-29wcap: Compute per-component deltasKristian Høgsberg2-3/+22
2012-05-29wcap: Add wcap README, with a bit of documentationKristian Høgsberg1-0/+99
2012-05-29wcap-decode: Fix setting framerateKristian Høgsberg1-1/+8
Default to 30fps instead of crashing if we don't get a framerate on the command line.
2012-05-29wcap-decode: Fix timestamp overflowKristian Høgsberg1-1/+1
2012-05-26wcap: Add option to disable building wcap toolsKristian Høgsberg2-6/+21
2012-05-25wcap: Space out frames according to timestampsKristian Høgsberg3-6/+19
2012-05-25wcap: Support the other pixel format we may writeKristian Høgsberg3-10/+23
2012-05-25wcap: Commit Makefile.amKristian Høgsberg1-0/+30
2012-05-25wcap: Move old wcap-encode to wcap/ as wcap-snapshotKristian Høgsberg3-224/+84
2012-05-25wcap: Rename wcap-encode to just wcapKristian Høgsberg20-3/+3
2012-05-25wcap: Add COPYING for vpxenc derived wcap-decode toolKristian Høgsberg1-0/+34
2012-05-25wcap: Add wcap support to webm encoderKristian Høgsberg1-1/+93
2012-05-25wcap: Move wcap structs and constants to a shader headerKristian Høgsberg3-85/+64
2012-05-25wcap: Discard first frame since it doesn't have a full frame of damageKristian Høgsberg1-2/+10
2012-05-25wcap: Add a file format magic number and add the pixel format to the headerKristian Høgsberg2-1/+27
2012-05-24Add screen recorder toolKristian Høgsberg5-1/+402
This commit adds a new, built-in screen recorder tool. The tool UI is still very simple, start with mod-r and stop it again with mod-r. The recording is written to capture.wcap, in a simple run-length encoded adhoc format. The wcap-decode tool can be used to extract a single frame from the capture, for now, but the plan is to hook this up to libvpx and generate webm output.