Commit Graph

35 Commits

Author SHA1 Message Date
twinaphex
e9a8573afa Misc. minor cleanups 2014-10-27 04:04:04 +01:00
twinaphex
58f09ce79e Move scaler code over to libretro SDK 2014-10-23 04:34:35 +02:00
twinaphex
81c5019afb Move miscellaneous header over to libretro SDK 2014-10-21 08:39:37 +02:00
twinaphex
7472922ee0 Move compat/ over to libretro SDK 2014-10-21 07:58:58 +02:00
twinaphex
64e77f1224 (camera) Style nits 2014-09-13 02:27:34 +02:00
twinaphex
75d2e13dcb Make drivers non-const 2014-09-11 07:06:20 +02:00
twinaphex
fe510bca6f Indenting/C-style comments 2014-09-08 17:57:18 +02:00
Lioncash
a7aa077cc6 Remove some unused variables. 2014-09-05 19:27:46 -04:00
twinaphex
0a15a17d44 Update years on all license headers 2014-01-01 01:50:59 +01:00
Themaister
1c9895611b Rework performance interface.
Avoids super-ugly macros and retroarch-ifdefs.
2013-12-18 19:21:56 +01:00
twinaphex
9852c5dc4c Rewrite perf interface - exposes callbacks now for RETRO_PERFORMANCE_INIT/RETRO_PERFORMANCE_START/RETRO_PERFORMANCE_STOP calls without messy, hardcoded preprocessor-dependent variables in macros - will update cores accordingly too 2013-12-18 19:03:08 +01:00
twinaphex
69a67b3df2 Change RARCH_PERFORMANCE_ macro calls to RETRO_PERFORMANCE 2013-12-17 19:14:57 +01:00
Themaister
44937348e8 Start implementing SSE2 conversion of YUV. 2013-11-20 17:39:01 +01:00
Themaister
c4176564c5 Don't use LUT for YUV conversion.
Current C version is just as fast, and doesn't thrash the cache.
~100us per 640x480 webcam frame.
2013-11-20 17:39:00 +01:00
Themaister
9d60b53630 Add perf counter to LUT based YUV conversion. 2013-11-20 17:39:00 +01:00
twinaphex
43b513b86b (Camera) Cleanup Android camera driver 2013-11-18 00:31:06 +01:00
Themaister
a824952dec Some V4L2 cleanups.
Avoids global state for buffers, and make processing loop a bit simpler.
2013-11-16 17:31:49 +01:00
ToadKing
be830a0a1c [V4L2] set the frame_raw_cb pitch correctly 2013-11-15 19:38:48 -05:00
ToadKing
8f78112261 [V4L2] more conversion fixes 2013-11-15 19:35:16 -05:00
ToadKing
bc29115692 [V4L2] fix bad poitner arithmetic 2013-11-15 18:30:41 -05:00
ToadKing
e524ee1834 [V4L2] detect core caps correctly 2013-11-15 17:58:01 -05:00
twinaphex
1d067b9148 (V4L2) Check if raw_framebuffer_cb is not NULL 2013-11-15 01:19:54 +01:00
twinaphex
3c70302fb6 (V4L2) Fill in raw_framebuffer code - experimental 2013-11-13 15:36:10 +01:00
Themaister
dfff94e5a0 Rework camera interface.
Hook up a more proper interface for libretro. Still very experimental.
2013-11-12 16:02:26 +01:00
Themaister
6f09f4b8e0 Stick to mmap() in v4l2.
Avoids really bloated code. Shouldn't become a problem.
2013-11-12 16:02:26 +01:00
twinaphex
c107b06a76 Add RETRO_ENVIRONMENT_SET_CAMERA_RETRIEVE 2013-11-12 12:00:57 +01:00
twinaphex
f8d44c6e60 (Camera) Add camera driver init/deinit when HAVE_CAMERA is defined 2013-11-11 14:26:57 +01:00
twinaphex
9284bb6b59 (camera/v4l2) v4l_init - free v4l object at error 2013-11-11 03:52:07 +01:00
Themaister
270fb50db8 Forgot sizeof in realloc. 2013-11-10 18:08:04 +01:00
Themaister
67f7b34447 Fixup some style nits and cruft. 2013-11-10 18:02:40 +01:00
Themaister
70fcf31fdd Use bool for ready. 2013-11-10 17:47:39 +01:00
twinaphex
fcc4411496 (v4l2 camera) Get rid of warnings 2013-11-10 16:09:22 +01:00
ToadKing
a6024c4efa add width and height retrieval to camera driver 2013-11-09 23:06:58 -05:00
twinaphex
577bf02323 (Camera V4L2) Implement init_userp 2013-11-10 03:27:17 +01:00
twinaphex
fc65ae7709 (Camera) Add preliminary camera interface and preliminary
Video4Linux 2 camera driver implementation - ToadKing can try
to hook into this driver interface now for his WebGL camera driver
2013-11-10 03:16:03 +01:00