Commit Graph

332 Commits

Author SHA1 Message Date
twinaphex
6fde55ac9d (record_driver.c) Update 2017-01-18 15:09:47 +01:00
twinaphex
b89ec1369f Rename rarch_resampler_* to retro_resampler_* 2017-01-09 12:45:51 +01:00
radius
c395e13261 allow downscaling too 2017-01-03 22:50:30 -05:00
twinaphex
77e5cdbfde Revert "Rename runloop_msg_queue_push to video_driver_msg_queue_push"
This reverts commit ad7386913c.
2016-12-22 23:36:11 +01:00
twinaphex
ad7386913c Rename runloop_msg_queue_push to video_driver_msg_queue_push
and move code to video_driver.c
2016-12-22 13:15:02 +01:00
twinaphex
08a60c94d0 Move audio resampler drivers (Sinc/nearest) to libretro-common; maister gave permission to relicense to MIT 2016-12-12 13:02:29 +01:00
twinaphex
9e2717e927 Revert "Create drivers_data array and no longer use recording_data"
This reverts commit e049b7e1f0.
2016-12-05 02:02:59 +01:00
twinaphex
e049b7e1f0 Create drivers_data array and no longer use recording_data 2016-12-05 01:56:06 +01:00
twinaphex
eea1b3790b Try to prevent superfluous calls to recording functions
if not necessary
2016-12-04 06:31:29 +01:00
twinaphex
a7585f9988 Move video_frame.h to libretro-common 2016-11-08 15:35:24 +01:00
twinaphex
f3ad815dd9 Prevent implicit memsets 2016-10-21 06:15:20 +02:00
twinaphex
d376ea0c9d Merge fixes 2016-10-01 08:24:02 +02:00
twinaphex
7d20224ff0 Revert "Move path settings to paths.c"
This reverts commit 3a7e9a7052.
2016-10-01 08:17:13 +02:00
twinaphex
5a3e5f85a5 Revert "Add record dirs to dirs.c"
This reverts commit fe3281e05d.
2016-10-01 08:15:07 +02:00
twinaphex
5ff13df40f Move global->record to record_driver.c 2016-10-01 00:47:05 +02:00
twinaphex
fe3281e05d Add record dirs to dirs.c 2016-09-30 07:45:04 +02:00
twinaphex
3a7e9a7052 Move path settings to paths.c 2016-09-30 06:33:57 +02:00
twinaphex
9ccae28f6e Cleanups 2016-09-13 11:41:54 +02:00
twinaphex
b93ef046a7 Header include cleanups 2016-09-11 16:31:23 +02:00
twinaphex
db6171676a Use retro_assert everywhere 2016-09-08 11:59:44 +02:00
twinaphex
f5f2cfda3a Cleanups 2016-09-08 08:16:49 +02:00
twinaphex
467451fccc Cleanup more header includes 2016-09-01 18:18:55 +02:00
twinaphex
ce97d783a7 Some more header cleanups 2016-09-01 17:52:22 +02:00
twinaphex
4c9245b7d9 (record_ffmpeg.c) Prevent 'explicit NULL dereferenced') 2016-07-12 23:17:43 +02:00
twinaphex
8ce3c2bbc8 use retro_common_api.h 2016-06-03 05:38:40 +02:00
Twinaphex
3ea4f494d7 Merge pull request #3007 from Themaister/master
Set audio enable in FFmpeg by default.
2016-05-16 12:56:09 +02:00
Hans-Kristian Arntzen
30e45902f2 Set audio enable in FFmpeg by default. 2016-05-16 12:51:09 +02:00
twinaphex
65d33700d4 Move audio_utils to libretro-common as s16_to_float 2016-05-16 11:33:49 +02:00
twinaphex
3725644ce6 Rename audio_convert_s16_to_float 2016-05-16 11:24:34 +02:00
twinaphex
2422dfbbbe (libretro-common) Create libretro-common/conversion/float_to_s16 2016-05-16 11:11:02 +02:00
twinaphex
2691ab0c7d Rename command_event enums 2016-05-09 20:51:53 +02:00
twinaphex
523ebed112 Combine command_event.c and command.c 2016-05-09 20:30:47 +02:00
twinaphex
a98ef36d36 Rename event_cmd_ctl to command_event 2016-05-09 20:20:50 +02:00
twinaphex
f8a7154557 Rename rarch_ functions 2016-05-09 07:09:26 +02:00
Hans-Kristian Arntzen
d723411436 De ioctl video_driver. 2016-05-08 14:00:51 +02:00
twinaphex
b8e140d6c4 (record_ffmpeg.c) Move scaler code to gfx/video_frame.h 2016-05-04 17:11:22 +02:00
twinaphex
6e9e5b6907 Put up with deprecations 2016-03-20 19:14:58 +01:00
twinaphex
a8f34c6960 (record_ffmpeg.c) Try to avoid some deprecation warnings 2016-03-20 18:05:14 +01:00
twinaphex
ac6362cae4 Combine list_special files 2016-03-20 17:28:24 +01:00
twinaphex
ef4a1a3c0f (libretro-common) Rename fifo_buffer to fifo_queue 2016-03-20 14:06:21 +01:00
twinaphex
6f80e09ce1 Change MIN/MAX to upper-case 2016-03-02 00:07:31 +01:00
Hans-Kristian Arntzen
adbf9fed16 Vulkan implementation. 2016-02-16 20:42:02 +01:00
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