Commit Graph

290 Commits

Author SHA1 Message Date
twinaphex
f1a572822b Create RARCH_DISPLAY_CTL_VIEWPORT_INFO 2016-02-14 05:42:27 +01:00
twinaphex
0584b3c072 Create RARCH_DISPLAY_CTL_IS_HW_CONTEXT 2016-02-07 20:32:53 +01:00
twinaphex
2cbb18b4e4 Create RARCH_DRIVER_CTL_FIND_INDEX 2016-02-01 13:15:53 +01:00
twinaphex
b47caeb58b Refactor away runloop_msg_queue_push_new 2016-01-29 14:30:09 +01:00
twinaphex
372d673a26 Rename event_command to event_cmd_ctl - add second parameter 2016-01-22 15:34:43 +01:00
twinaphex
b638b9bee8 Cleanup 2016-01-20 06:11:47 +01:00
twinaphex
1eac61e9a0 Create RARCH_CTL_IS_DUMMY_CORE 2016-01-19 23:44:32 +01:00
twinaphex
7a55ae3765 Start updating headers for 2016 2016-01-10 04:06:50 +01:00
twinaphex
184fae87ca FIxes ffmpeg warnings 2015-12-31 17:07:46 +01:00
twinaphex
2d55dc3bda Complete namespace changes 2015-12-07 15:32:14 +01:00
twinaphex
bbbf6513fd move gpu record buffer to video_driver.c 2015-12-06 15:22:20 +01:00
twinaphex
5b939e810c Get rid of driver_t and driver_get_ptr 2015-12-05 16:54:13 +01:00
twinaphex
85fae522c0 Move recording driver state to record_driver.c 2015-12-05 16:08:08 +01:00
twinaphex
7e5d1f3117 Only rcord_driver.c references driver->recording now 2015-12-05 16:05:35 +01:00
twinaphex
bde80b1159 Rename driver->recording to driver->recording_driver 2015-12-05 15:58:00 +01:00
twinaphex
2f29d9f18c Take out menu/menu_driver.h include from driver.h 2015-12-05 13:22:50 +01:00
twinaphex
0dd3451ca5 Create recording_push_audio 2015-11-30 01:49:17 +01:00
twinaphex
09fe26257c header include changes 2015-11-23 21:58:39 +01:00
twinaphex
c0cc5fac53 Cleanups 2015-11-23 18:25:42 +01:00
twinaphex
672a3814d6 Create more VIDEO_DRIVER_CTL_ commands 2015-11-23 18:01:46 +01:00
twinaphex
9b41061143 Rename driver->video 2015-11-23 14:14:12 +01:00
twinaphex
074f14b132 Add verbosity.c/verbosity.h 2015-11-23 12:03:38 +01:00
twinaphex
09dda14549 Add RARCH_DISPLAY_CTL_READ_VIEWPORT 2015-11-20 15:41:20 +01:00
twinaphex
ba4643a7c1 Add RARCH_DISPLAY_CTL_FRAME_FILTER_IS_32BIT 2015-11-20 15:16:58 +01:00
twinaphex
7b1f57b1cd Add RARCH_DISPLAY_CTL_FRAME_FILTER_ALIVE 2015-11-20 15:14:12 +01:00
twinaphex
a3a5a82d47 (GL) doesn't access global state anymore 2015-11-18 03:08:19 +01:00
twinaphex
db5d8d248b Create new char_list_new_special 2015-10-26 19:41:20 +01:00
twinaphex
b9febe2eed Add void pointer to string_list_special_new 2015-10-26 19:16:20 +01:00
twinaphex
f6ed72b21c More code deduplication 2015-10-26 18:33:51 +01:00
twinaphex
02a43c6b2a Change 'rarch' to 'retro' namespace in libretro-common 2015-10-26 03:18:13 +01:00
twinaphex
8e7477ed07 (ffmpeg) Attempt to make ffmpeg recording driver forwards compatible 2015-10-26 00:47:45 +01:00
twinaphex
02a5d738fe Static code analysis cleanups 2015-09-28 23:00:22 +02:00
twinaphex
78d0a87004 (record_ffmpeg.c) Style nits 2015-09-16 10:50:53 +02:00
twinaphex
9d6146dc7a Some more MISSING_DECLS fixes 2015-09-06 14:55:42 +02:00
twinaphex
7ec3c5080d Cleanups 2015-09-05 21:11:12 +02:00
twinaphex
f88575633e Cleanups 2015-09-05 20:34:22 +02:00
twinaphex
ec039cc2b6 Buildfix 2015-08-29 15:10:53 +02:00
twinaphex
d7cde1675d Build fixes 2015-08-29 15:05:40 +02:00
twinaphex
a70f09a90d Rearrange structs 2015-07-27 17:18:10 +02:00
twinaphex
467452a698 Updates pt. 4 2015-07-02 18:55:49 +02:00
twinaphex
25466ea19f (record_driver.c/screenshot.c) Updates 2015-07-02 18:10:52 +02:00
twinaphex
fefa500dcf Some C89 build fixes 2015-06-29 21:52:55 +02:00
twinaphex
c13b98da8a (Griffin) Update Griffin 2015-06-21 00:37:19 +02:00
twinaphex
6f1bc69fc7 Refactor libretro_dummy mechanics 2015-06-20 23:42:30 +02:00
twinaphex
df77bd4ae4 (record_driver.c) Cleanup 2015-06-12 23:45:01 +02:00
twinaphex
d2b76a7d13 Move pix_fmt to video_state 2015-05-20 20:59:12 +02:00
twinaphex
197820c797 Move filter state code to video_state and out of global 2015-05-20 20:49:52 +02:00
twinaphex
a81baed9e2 Move hw_render_callbakc to video driver state and take it out
of global state
2015-05-20 19:56:12 +02:00
twinaphex
a053b41223 Create video_viewport_get_system_av_info and video_viewport_get_custom -
move custom viewport and system av info outside of global state
2015-05-20 18:57:17 +02:00
twinaphex
b255b5a325 Create video_driver_set_aspect_ratio_value and video_driver_get_aspect_ratio 2015-05-20 18:24:45 +02:00
twinaphex
94150cef70 Add 'Record Driver' option 2015-04-15 13:37:38 +02:00
twinaphex
23b9a3ee47 Add 'use_output_directory' 2015-04-15 12:42:36 +02:00
twinaphex
0818b178f9 Rename rarch_main_command to event_command 2015-04-13 11:26:02 +02:00
Twinaphex
de2eb5f972 Rename RARCH_CMD_* to EVENT_CMD_* 2015-04-13 10:29:15 +02:00
twinaphex
5538e2db1d Use video_driver_read_viewport 2015-03-22 21:57:17 +01:00
twinaphex
e3eb9fe9f0 Create video_driver_viewport_info 2015-03-22 21:28:50 +01:00
twinaphex
e6f0d366cb Go through global_get_ptr 2015-03-21 04:43:18 +01:00
twinaphex
5d8ce54a9f Updates pt. 4 2015-03-20 22:22:06 +01:00
twinaphex
7bc845006b Start replacing more g_settings usages 2015-03-20 20:43:22 +01:00
twinaphex
3670ef2ac5 Go through driver_get_ptr to grab pointer to driver struct 2015-03-18 19:40:00 +01:00
twinaphex
00239a30d6 Create wrapper functions for passing a message to the runloop's
message queue
2015-03-15 02:47:23 +01:00
twinaphex
f2d2e9a4f1 Reorganize recording variables in global struct 2015-03-07 14:02:50 +01:00
twinaphex
795ef467ac Move msg_queue and nbio/http to runloop struct 2015-03-07 13:01:41 +01:00
twinaphex
64446ef497 Rename and move rarch_viewport 2015-02-14 05:52:05 +01:00
twinaphex
1805068440 Move rarch_recording_dump_frame to record_driver.c and rename it 2015-02-10 21:09:41 +01:00
twinaphex
e5ba0f1a71 (record/drivers/ffmpeg.c) Cleanups 2015-01-26 20:22:13 +01:00
twinaphex
2679c3d5c2 Rename audio/utils.c to audio/audio_utils.c 2015-01-13 00:19:46 +01:00
twinaphex
24e1699fed Create record/drivers and move record/ffmpeg.c to it 2015-01-12 21:57:07 +01:00
twinaphex
2eee9d294e Rename ffemu.c to record_driver.c 2015-01-12 21:55:41 +01:00
twinaphex
2dadadab56 ffemu.c - Document 2015-01-12 03:50:54 +01:00
twinaphex
751f2b7403 (SDK) Move fifo_buffer.c to libretro SDK 2015-01-11 05:43:10 +01:00
twinaphex
453321c50b Start updating headers 2015-01-07 17:46:50 +01:00
twinaphex
58f09ce79e Move scaler code over to libretro SDK 2014-10-23 04:34:35 +02:00
twinaphex
ccf43f6e85 Take out dynamic.h header include from general.h 2014-10-22 04:27:51 +02:00
twinaphex
2997af48fa Move config-file code to SDK 2014-10-22 03:35:04 +02:00
twinaphex
7472922ee0 Move compat/ over to libretro SDK 2014-10-21 07:58:58 +02:00
twinaphex
480cd7c7ba Move msvc_compat.h to compat/ dir 2014-10-21 06:06:12 +02:00
twinaphex
c62d52de0f Start properly implementing libretro SDK for boolean.h include
header, glsym, and rthreads
2014-10-21 05:05:52 +02:00
twinaphex
ca79265e4b Rename thread wrapper as rthreads - make it part of the libretro SDK 2014-10-21 03:25:59 +02:00
twinaphex
598421e7d7 Move resampler drivers to audio/resamplers 2014-09-09 21:54:41 +02:00
twinaphex
fe510bca6f Indenting/C-style comments 2014-09-08 17:57:18 +02:00
Lioncash
ab1ab62a6d Fix some printf specifiers to the correct signed-ness 2014-09-05 19:43:32 -04:00
twinaphex
1d043121e2 Code reformatting (80-char limit); C-style comments 2014-08-20 17:18:43 +02:00
Themaister
804626e20d Create abstract interface for FFemu. 2014-05-04 11:48:20 +02:00
Themaister
b7e1628963 Don't opaqueify things which obviously are not opaque. 2014-05-04 11:24:20 +02:00
twinaphex
77401692cb (Record) ffemu_new now returns void * 2014-05-03 07:00:46 +02:00
twinaphex
1dfec21dde (record/ffemu) Turn opaque pointers into void * 2014-05-03 05:47:38 +02:00
Themaister
7898f05353 Add audio_enable option to FFemu. 2014-04-27 10:56:07 +02:00
Themaister
690ec2a1c4 Add video_global_quality option to FFemu. 2014-04-26 00:31:21 +02:00
Themaister
227a16f63c Check presence of avutil/channel_layout.h.
Apparently needed after all.
2014-04-01 00:09:18 +02:00
Themaister
76234ed3de Don't have to include channel layout header. 2014-03-15 19:58:58 +01:00
Themaister
913f5b4561 Check for old libavutil version. 2014-03-02 13:18:57 +01:00
Themaister
0efbe496a3 Drop use of deprecated FFmpeg APIs. 2014-03-02 13:05:49 +01:00
Themaister
d98af82baf Honor ident param. 2014-02-25 09:56:39 +01:00
twinaphex
0a15a17d44 Update years on all license headers 2014-01-01 01:50:59 +01:00
Themaister
7aa8b40759 Fixup C89 for loops. 2013-10-22 21:37:56 +02:00
Themaister
b470454923 Include avutil/channel_layout.h correctly. 2013-03-15 14:47:45 +01:00
Themaister
76bf41188a Add video_threaded option to Android. 2013-02-17 00:26:17 +01:00
Themaister
11d919b9e8 Fix downsampling for SINC. 2013-02-13 21:55:58 +01:00
Themaister
d33d2e9f0c Make resamplers more modular. 2013-02-08 11:49:51 +01:00
Themaister
0b4cf2d053 Update license headers to 2013. 2013-01-01 01:41:15 +01:00
Themaister
01e14d31c1 Realloc correct amount. 2012-12-09 10:14:34 +01:00
Themaister
47fca83bb1 Planarize audio. 2012-12-09 00:20:04 +01:00
Themaister
ff1557d6e8 Use FLTP/S16P directly. FFmpeg was bugged. 2012-12-08 22:55:32 +01:00
Themaister
ee82a8daf5 Const-correctness fix. 2012-11-28 16:24:47 +01:00
Themaister
6bae9a44d8 Fix CXX_BUILD. 2012-11-28 16:21:36 +01:00
Themaister
b951f4ab0c Automatically resample if needed. 2012-11-28 16:00:49 +01:00
Themaister
64d3d2185c Handle floating point/fixed formats seamlessly. 2012-11-28 15:39:19 +01:00
Themaister
09a89dcd2b Correctly use global headers if requested. 2012-11-27 23:56:06 +01:00
Themaister
cc46e0ba53 Fix recording without config. 2012-11-26 22:16:29 +01:00
Themaister
26025371d6 Add frame dropping possibilities to recorder. 2012-11-26 18:01:50 +01:00
Themaister
cf1a0381c7 Add support for audio quality configuration. 2012-11-26 17:37:31 +01:00
Themaister
b023687d04 Overhaul recorder.
Drop support for old libav versions.
It is no longer maintainable within reason.
Support floating point and resampling, which is needed
for most lossy codecs.
2012-11-25 12:02:52 +01:00
Themaister
4becd4e315 Make sure avcodec_alloc_frame() returns valid. 2012-11-24 01:03:10 +01:00
Themaister
049b20f773 Free the AVFrame using the correct call. 2012-11-24 00:44:20 +01:00
Themaister
187d988201 Make sure audio frame is freed. 2012-11-24 00:38:51 +01:00
Themaister
f21fefff1f Call avformat_network_init. 2012-11-23 23:44:15 +01:00
Themaister
8f9b68ad90 Add config file support to FFmpeg recording. 2012-11-23 22:46:36 +01:00
Themaister
1d9784608a Minor clarity fix. 2012-11-21 23:42:14 +01:00
Themaister
93078889cc Begin reworking RGB565 as default pixel format. 2012-10-20 01:12:02 +02:00
Themaister
4ff087cc36 Fix CXX_BUILD. 2012-09-09 23:37:12 +02:00
Themaister
ebd5bc85d5 Optimize -> bgr24 conversion paths. 2012-09-02 23:49:30 +02:00
Themaister
86b444cb97 Use bilinear for downscales, point for upscales. 2012-09-02 15:30:15 +02:00
Themaister
064e8ff81b Replace swscale.
Swscale fails to preserve RGB colors correctly
when any kind of scaling is applied, even point filtering.
2012-09-02 15:12:00 +02:00
Hans-Kristian Arntzen
0f3c3ff06c Fix small derp. 2012-08-27 15:56:42 +03:00
Hans-Kristian Arntzen
3278beb132 Add #ifdef for AVFMT_TS_NONSTRICT.
Fixes build on recent Debian.
2012-08-27 15:54:53 +03:00
Themaister
304615510a Start adding GPU recording to FFmpeg. 2012-08-25 22:38:49 +02:00
Themaister
70fd5350dc Always build in h264 support. 2012-08-16 09:25:13 +02:00
Twinaphex
2fd12edfb6 Libsnes exorcism 2012-07-07 17:08:55 +02:00
Themaister
ce740f8948 More fixups. 2012-04-21 23:31:57 +02:00
Themaister
9ab51ad23a SSNES => RetroArch. 2012-04-21 23:17:43 +02:00
Themaister
e3a71a8c5b Fixup headers. 2012-04-09 22:05:26 +02:00
Themaister
62c96ea937 Change license header. 2012-04-09 22:03:57 +02:00
Themaister
9698cd7dbd Change headers. 2012-04-09 22:03:57 +02:00
Themaister
a569625ce9 Do not crash if ffmpeg format cannot be found. 2012-03-23 23:48:17 +01:00
Themaister
a3351e17f1 Fix hang with FFV1. 2012-03-08 00:45:03 +01:00
Themaister
c1544e88aa Cleanups, and fixes h264 with recent FFmpegs. 2012-03-08 00:33:22 +01:00
Themaister
ae5900aaa1 Add video_h264_record option. 2012-03-02 22:19:49 +01:00
Themaister
f2264ebb3e Do not use av_samples_get_buffer_size as it breaks older FFmpeg. 2012-01-31 18:06:20 +01:00
Themaister
bd15206599 Fixup C++ build. 2012-01-29 19:12:29 +01:00
Themaister
e5d3894bc4 Check for AV_NOPTS_VALUE. 2012-01-29 19:10:58 +01:00
Themaister
0bc0ae40a5 Fix audio_encode2. 2012-01-29 19:08:22 +01:00
Themaister
3c15bb06db Attempt to completely flush audio stream as well. 2012-01-29 18:59:56 +01:00
Themaister
9ce3331f04 Use av_samples_get_buffer_size. 2012-01-29 18:13:20 +01:00
Themaister
9508cc4eb3 Start fixing deprecation. Not used as it's broken atm. 2012-01-29 18:01:10 +01:00
Themaister
b4248038fb Update license headers. 2012-01-08 01:12:05 +01:00
Themaister
0a887395eb Remove useless global. 2011-12-25 16:11:48 +01:00
Themaister
9118976c49 Don't include general.h 2011-12-25 12:56:21 +01:00
Themaister
672102d377 Change asserts to ssnes_assert(). 2011-12-25 12:47:47 +01:00
Themaister
c8dee57278 Set constant macros with define. 2011-12-25 01:45:09 +01:00