Commit Graph

3997 Commits

Author SHA1 Message Date
mjbudd77 a442354ef6 Added a short delay to TAS marker drag n drop setup in the event that the mouse button is quickly released. 2021-12-22 23:41:07 -05:00
mjbudd77 1e0b2f37ce Added piano roll marker drag n drop logic for Qt GUI. 2021-12-22 23:29:16 -05:00
mjbudd77 c51b545fbf Added middle button double click logic for Qt TAS piano roll. 2021-12-22 21:35:27 -05:00
mjbudd77 c0495bd62b Added Qt TAS piano roll double click handling logic. 2021-12-22 21:30:53 -05:00
mjbudd77 772901cfa7 Bug fix for Qt TAS editor allowing cross columns during drag with alt held. 2021-12-22 20:47:13 -05:00
mjbudd77 f3fd0a8016 Bug fix for inverted vertical scroll bar on Qt TAS piano roll view. 2021-12-22 20:31:34 -05:00
mjbudd77 a4d25deaf5 Changed Qt TAS playback buttons to trigger on press instead of release. 2021-12-20 21:59:41 -05:00
mjbudd77 d0bdab8c63 Added press and hold logic to Qt TAS editor playback push buttons. 2021-12-20 21:55:45 -05:00
mjbudd77 f1eb0a94fe Reduced number of characters in Qt piano roll frame cell. 2021-12-20 21:33:52 -05:00
mjbudd77 6d81529b4c Bug fix for close event on Qt TAS editor. Ignore event if save project dialog returns false. 2021-12-20 21:14:51 -05:00
mjbudd77 e79de93c18 Directional fix for Qt TAS piano roll vertical scroll bar page step 2021-12-20 20:57:13 -05:00
mjbudd77 ef8e076bba Added logic to Qt TAS editor to allow for delayed history widget updates to be scheduled so that update can occur in GUI thread 2021-12-20 20:42:47 -05:00
mjbudd77 1fa028b6e6 Increase Qt video transfer buffer size to further reduce possibility of buffer overrun when transfering frames from emulation to GUI threads. Added input device update code to emulation frame finished callback to ensure that input devices are always updated before screen is redrawn. 2021-12-17 06:30:29 -05:00
mjbudd77 c35b18751d Added a triple buffer for video frame data to ensure clean transfer of that data between emulation and Qt GUI threads. 2021-12-13 21:16:53 -05:00
mjbudd77 74a48e92d6 Added a vertical sync test pattern to Qt GUI. 2021-12-13 20:48:30 -05:00
mjbudd77 c72eac9970 Fixed mouse wheel scroll direction on Qt trace logger and TAS piano roll. 2021-12-12 15:42:37 -05:00
mjbudd77 c596593fd0 Added hot changes coloring to Qt piano roll. 2021-12-12 14:52:29 -05:00
mjbudd77 0ad04f819e Draw fixes for Qt Tas piano roll arrows and bookmark labels. 2021-12-12 14:13:54 -05:00
mjbudd77 a3b3cf563b Changed marked frames to be unbold and italic in Qt TAS editor. 2021-12-12 13:57:47 -05:00
mjbudd77 6f3b25646d Put branches viewport into a scrollable area. 2021-12-12 13:40:23 -05:00
mjbudd77 8ab19f64f6 Changed piano roll marked frames to show in italic. Set all other text to bold. For Qt GUI. 2021-12-12 13:14:09 -05:00
mjbudd77 465f7d725d Moved TAS history view to tabbed widget with branches/bookmarks for Qt GUI. 2021-12-12 13:05:26 -05:00
mjbudd77 53d721b560 Added TAS editor project save compact dialog to Qt GUI. 2021-12-12 11:58:13 -05:00
mjbudd77 4187b8a9b1 Added logic to Qt TAS piano roll to toggle inputs on selected lines when buttons are clicked in the header. 2021-12-12 11:10:56 -05:00
mjbudd77 79d2005495 Fix for Qt TAS piano roll left click and drag functionality. Force column selection to always be what it was at initial button press. Ensure that all row frames are not skipped between mouse events. 2021-12-12 07:59:59 -05:00
mjbudd77 dd9b911b60 Added video vertical sync refresh option to Qt GUI. 2021-12-12 06:35:42 -05:00
mjbudd77 9e1564df0d Ensure to lock emulator with accessing bookmark preview popup. 2021-12-11 21:18:25 -05:00
mjbudd77 9633f081ca Changed bookmark image view implementation so that it doesn't use tooltip events. 2021-12-11 20:54:19 -05:00
mjbudd77 e0c3f2445f Checked marker labels to appear as push buttons in Qt TAS editor. 2021-12-11 16:00:20 -05:00
mjbudd77 b1a4ebda48 Added branch load on double click to Qt TAS editor branch view. 2021-12-11 13:25:22 -05:00
mjbudd77 fd208cb8f8 Bug fixes for Qt TAS editor playback cursor following. 2021-12-11 10:02:22 -05:00
mjbudd77 cd1d8f643e Added users local desktop folder to file dialog quick access navigation. 2021-12-08 21:53:04 -05:00
mjbudd77 5a34a78a24 Modified Qt TAS branches view to compensate for different font sizes. 2021-12-08 21:43:39 -05:00
mjbudd77 77ced676f0 Added TAS editor font selection options for piano roll, bookmarks, and branches view for Qt GUI. 2021-12-08 20:31:09 -05:00
mjbudd77 f6b52262da Bug fix for Qt TAS editor, don't call updateCaption from within emulation thread. Instead, set a flag to notify GUI thread to update caption. 2021-12-07 06:40:22 -05:00
mjbudd77 0271552ceb Added logic to reset TAS window hot keys if a key sequence is changed on the hotkey config dialog. 2021-12-06 20:54:16 -05:00
mjbudd77 f351150ad9 Added hot key shortcuts for Qt TAS editor window. 2021-12-06 20:48:36 -05:00
mjbudd77 8cfab72523 Added save/restore geometry logic for Qt TAS find note dialog. 2021-12-05 20:30:43 -05:00
mjbudd77 2072269edc Added contect menu to Qt TAS piano roll. 2021-12-05 20:22:17 -05:00
mjbudd77 d124808c1b Added TAS window caption logic for Qt GUI. 2021-12-04 07:52:12 -05:00
mjbudd77 eb335f227d Added branch under mouse frame number and time text to branch display for Qt GUI. 2021-12-04 07:24:41 -05:00
mjbudd77 989f6d38d4 Added recent projects menu to Qt TAS editor menu. 2021-12-03 08:16:46 -05:00
mjbudd77 556ac79038 Added Qt TAS editor about dialog. 2021-12-03 07:09:27 -05:00
mjbudd77 d63517dc75 Qt TAS editor minor improvements. 2021-12-03 06:28:19 -05:00
mjbudd77 f18604926a Qt build fix for missing function StrStrI. Changed code to use cross platform QString::indexOf instead. 2021-12-03 06:15:40 -05:00
mjbudd77 c2f1c5193b Hooked up jump to marker selection logic for Qt GUI. 2021-12-02 23:30:03 -05:00
mjbudd77 802019e879 Added mouse button logic to marker entry fields for Qt GUI. 2021-12-02 22:51:59 -05:00
mjbudd77 01d87a6576 Merge remote-tracking branch 'TasVideos/master' 2021-12-02 22:37:37 -05:00
mjbudd77 080ab42f80 Fixed Qt TAS editor notes. 2021-12-02 16:08:50 -05:00
mjbudd77 4133ea900c Added find note window to Qt TAS editor. 2021-12-01 19:30:09 -05:00
Sylvain Gadrat 71724460f5 fix loading of keyboard mapping for controllers > 1 2021-12-01 17:07:51 +01:00
mjbudd77 93e1dca8bc Added a few missing mouse wheel functions to Qt piano roll. 2021-11-28 21:44:16 -05:00
mjbudd77 b8c2ea09cf Added mouse wheel event logic to Qt TAS piano roll. 2021-11-28 20:45:54 -05:00
mjbudd77 9360f7e1a8 Tas editor dialog menu action sensitivity fix for Qt GUI. 2021-11-28 20:29:53 -05:00
mjbudd77 27fb529830 Implemented playback mouse middle button functionality for Qt Tas editor. 2021-11-28 20:12:18 -05:00
mjbudd77 a7244cf343 Implemented piano roll save/load state functionality for Qt GUI. Fixed periodic autosave for Qt Tas editor. 2021-11-28 18:56:22 -05:00
mjbudd77 148d6a4af5 Bug fix for inverted piano roll vertical slider buttons on Qt GUI. 2021-11-27 11:09:08 -05:00
mjbudd77 82f76e3434 cppcheck fixes for Qt TAS editor. 2021-11-27 10:26:52 -05:00
mjbudd77 da993c51a2 Added piano roll header light logic for Qt GUI. 2021-11-26 20:38:21 -05:00
mjbudd77 94007b6313 Qt piano roll touch ups. 2021-11-26 15:55:46 -05:00
mjbudd77 8b1e42cf33 Added branches tool tips and frame preview. 2021-11-26 10:58:50 -05:00
mjbudd77 82bd4b55a7 Bug fix for Qt GUI crashing when trying to display a snapshot of an empty bookmark slot. 2021-11-26 08:39:53 -05:00
mjbudd77 b116c219ec Added more tool tips to Qt TAS editor. 2021-11-26 08:21:48 -05:00
mjbudd77 cd9ec79570 Qt TAS editor tool tips in work. 2021-11-26 06:53:14 -05:00
mjbudd77 062bd05ce2 Fixed input type button sensitivity logic in Qt TAS editor. 2021-11-26 06:36:19 -05:00
mjbudd77 4b3ae8fead Hooked up Lua menu actions in Qt Tas Editor. 2021-11-26 06:16:38 -05:00
mjbudd77 fa748b0a41 Resolved a few FIXME comments in Qt TAS editor. 2021-11-26 05:56:30 -05:00
mjbudd77 c7bfb684ae Added TAS input pattern selection Qt GUI code. Fixed a few clock timing calculations in Qt TAS editor. 2021-11-26 05:45:16 -05:00
mjbudd77 22b28195c6 Added TAS project save options dialog to Qt GUI. 2021-11-25 21:13:56 -05:00
mjbudd77 67fb525e5c Bug fix for vector overrun in Qt TAS editor piano roll. 2021-11-24 13:13:22 -05:00
mjbudd77 abf980fd75 Implemented TAS bookmark preview popup for Qt GUI. 2021-11-24 06:50:15 -05:00
bbbradsmith 73e0aacb8c Mapper 71 fix hardwired mirroring restore after power/savestate, fix uninitialized preg. See issue #389 2021-11-24 01:08:38 -05:00
mjbudd77 d319b5574f Added input dialogs for setting greenzone and max undo capacities in Qt TAS editor. 2021-11-23 21:00:41 -05:00
mjbudd77 9c8efa165e Bug fix for Qt TAS editor when in input record mode. History tree display cannot have GUI changes done in emulation thread. 2021-11-23 20:27:06 -05:00
mjbudd77 6897f5b3c9 Added functionality for movie import/export in Qt TAS editor. Added online help quick access for TAS documentation in Qt GUI. 2021-11-21 20:24:37 -05:00
mjbudd77 5ea57a6b49 Set Qt TAS piano roll font to bold for marker frame text. 2021-11-19 22:44:57 -05:00
mjbudd77 570aab926f Added create new project window for Qt TAS editor. 2021-11-19 18:32:23 -05:00
mjbudd77 62b377b97c Namespaced custom swap templated function to prevent it from conflicted with Qt. 2021-11-18 21:55:31 -05:00
mjbudd77 7dfa1f8ae4 Added TAS marker label click logic to Qt GUI. 2021-11-18 21:28:47 -05:00
mjbudd77 f4f1ca750a Added marker edit logic to Qt GUI TAS editor. 2021-11-18 21:07:24 -05:00
mjbudd77 f84694afa2 Hooked up mouse callbacks for Qt Tas editor branches viewer. 2021-11-16 21:42:56 -05:00
mjbudd77 28f4e87121 Modified Qt GUI Lua loadRom functionality to signal the main thread to perform the ROM load. Doing so in the emulation thread can cause crashes. 2021-11-16 00:10:34 -05:00
mjbudd77 61aa68f910 Fixed Qt TAS editor clock scaling. Use CLOCKS_PER_SEC macro as it seems to vary based on OS. 2021-11-15 21:47:15 -05:00
mjbudd77 03230aed07 Qt branches view in work. 2021-11-15 21:17:15 -05:00
mjbudd77 13f8180c96 Qt Tas editor branch view in work. 2021-11-15 20:38:14 -05:00
mjbudd77 27e0f16e08 Qt TAS branches viewport in work. 2021-11-14 21:33:32 -05:00
mjbudd77 06ea1bf29a Qt TAS editor bookmark list paint code implemented. 2021-11-14 20:34:55 -05:00
mjbudd77 96f6a28cc6 Qt TAS editor bookmarks widget in work. 2021-11-14 17:58:14 -05:00
mjbudd77 40f301c665 Moved Lua groupbox on Qt TAS editor to menu to save window space. 2021-11-13 06:48:18 -05:00
mjbudd77 b59ad1bf3b Qt TAS Editor bookmarks/branches view in work. 2021-11-11 22:22:41 -05:00
mjbudd77 9cea7f1551 Added a null check for GameInfo to FCEUMOV_CreateCleanMovie function to prevent crash if ROM is not loaded. 2021-11-10 22:11:49 -05:00
mjbudd77 ff44284dfc Hooked up Qt TAS editor config callback functions. 2021-11-10 22:06:32 -05:00
mjbudd77 c0d0d559be TAS History treeview bug fixes for Qt GUI 2021-11-10 21:25:04 -05:00
mjbudd77 d2193d3e83 Qt TAS editor key logic in work. 2021-11-10 21:07:18 -05:00
mjbudd77 8b4caef750 Added code to populate history tree view in Qt TAS Editor. 2021-11-09 23:24:31 -05:00
mjbudd77 a20b7c0749 Added TAS editor menu items to Qt GUI. 2021-11-09 22:05:12 -05:00
mjbudd77 1251b8df93 Hooked up Qt TAS edit menu functions. 2021-11-08 20:40:11 -05:00
mjbudd77 b2244b3a0b Qt TAS row selection in work. 2021-11-06 09:47:03 -04:00
mjbudd77 4acf8ab61b Qt TAS selection and splicer operation in work. 2021-11-05 20:21:43 -04:00
mjbudd77 39f90e04e7 Fixed TAS splicer functions so that they build uncommented. 2021-11-05 15:08:42 -04:00
mjbudd77 be417b7d3b Re-added line for win32 build. 2021-11-04 07:01:33 -04:00
mjbudd77 51ea52f94b Added code to init Qt TAS patterns. 2021-11-02 22:06:00 -04:00
mjbudd77 7dce4b650b Qt TAS editor mouse tracking in work. 2021-11-02 21:52:59 -04:00
mjbudd77 ffe8aacdc1 Hooked up TAS playback button functionality for Qt GUI. 2021-11-01 23:48:51 -04:00
mjbudd77 09d2204d9c Qt TAS piano roll draw functions in work. 2021-11-01 22:58:54 -04:00
mjbudd77 9284ee8545 Qt TAS editor recorder gui inputs hooked up. 2021-10-31 22:21:56 -04:00
mjbudd77 ce7e3b591a Qt TAS Editor input control in work. 2021-10-31 21:55:06 -04:00
mjbudd77 a39a2c6d03 Qt piano roll widget in work. 2021-10-31 14:44:16 -04:00
mjbudd77 da39715509 Qt TasEditor port in work. 2021-10-29 23:00:19 -04:00
mjbudd77 c0bf822cfb TAS editor project load/save mechanisms inwork for Qt GUI. 2021-10-28 21:59:14 -04:00
mjbudd77 306923afd9 Merge branch 'master' into TasEditor 2021-10-28 20:18:27 -04:00
mjbudd77 03341dd834 Further fixing av_init_packet deprecation. In the future AVPacket will not be able to be allocated on the stack. Instead using av_packet_alloc/av_packet_free. 2021-10-27 07:02:44 -04:00
mjbudd77 672e6cb0a6 Merge remote-tracking branch 'mjbudd77/master' 2021-10-26 20:46:34 -04:00
mjbudd77 b6ece28e76 Preparing for the removal of av_init_packet. It is depricated in the latest release of ffmpeg. 2021-10-26 20:45:45 -04:00
Dan Church 860a182233
Use GNUInstallDirs for man page install paths 2021-10-25 16:05:59 -05:00
mjbudd77 dbc200166c Removed a few references to _itoa. It is not cross platform. 2021-10-24 18:00:38 -04:00
mjbudd77 801bd77639 Ported over TAS modules to Qt. They compile but need to be integrated. 2021-10-24 17:58:45 -04:00
mjbudd77 f00613007b Porting Tas Editor modules from win32. In work. 2021-10-23 06:59:29 -04:00
mjbudd77 4cea83fd1b Changed command line lua script fullpath resolution logic to use cross platform QFileInfo instead of unix realpath. 2021-10-23 05:55:17 -04:00
mjbudd77 019c30b229 Porting over win32 TAS modules. In work. 2021-10-23 05:06:08 -04:00
mjbudd77 a61a92f1e0 Merge branch 'master' into TasEditor 2021-10-22 20:39:02 -04:00
mjbudd77 607ca6fe29 Modified Qt GUI to make Qt Help module an optional dependency. 2021-10-21 19:24:10 -04:00
mjbudd77 66c301d109 Changed version number to 2.5.0 in anticipation of new release. Typed up some initial release notes for the website. 2021-10-19 21:21:22 -04:00
mjbudd77 f523b49f9b Qt Tas editor module setup in work. 2021-10-18 20:59:14 -04:00
mjbudd77 a77f69a931 More Qt TAS editor control panel development. 2021-10-18 20:18:07 -04:00
mjbudd77 1cdb85eadd Qt TAS editor window layout in work. 2021-10-16 06:34:11 -04:00
mjbudd77 1db99e21d8 Added initial placeholder widget for Qt TAS piano roll. 2021-10-16 05:22:48 -04:00
mjbudd77 b7ad6cab38 Initial add of empty Tas Editor window for Qt GUI. 2021-10-16 04:43:16 -04:00
mjbudd77 9c4b03c327 Modified Qt main viewport logic so that side panel coloring so that changes via the color picker dialog are seen immediately. Previous behavior is it would only show change upon accepting new color in dialog. Choosing cancel in dialog will return color to original state. 2021-10-09 21:03:55 -04:00
mjbudd77 80b36379e7 Mouse screen coordinates calculation fix for NTSC 2X video scaler. Fixes issue #409 for the Qt GUI. 2021-10-09 18:31:20 -04:00
mjbudd77 5c4d3be30b Movie action text in main movie menu modified to match AVI/WAV convention for Qt GUI. 2021-10-08 21:56:56 -04:00
mjbudd77 fcfddba64b Modified show FPS algorithm to show average frames over the course of one second and only updates text display at that time. 2021-10-08 21:53:16 -04:00
mjbudd77 a0ab302b3c MacOSX pipeline bundling library fix. 2021-10-08 19:55:11 -04:00
mjbudd77 cd4d22cc6a Minor audio sink tuning to better play sound when running emulation speeds > 100%. Added logic to prevent the audio sink from emtpying when emulation is paused. This provides a seemless transition when transitioning in/out of pause. 2021-10-06 22:01:52 -04:00
mjbudd77 d695207a71 Bug fix for menu bar for AVI RIFF viewer on mac OS. 2021-10-05 21:49:41 -04:00
mjbudd77 b3f182d91d Added ffmpeg library version to list of open source dependencies on the Qt About Fceux window. 2021-10-05 20:19:06 -04:00
mjbudd77 527fa3901b Added operating system info to AVI metadata encoding. 2021-10-05 07:04:17 -04:00
mjbudd77 e0f9754e80 For Qt GUI, implemented a new method of timing frame advance hold delay so that the delay time is more constant with changing emulation speed. 2021-10-05 06:49:16 -04:00
mjbudd77 4352fd8da0 Added avi metadata encoding code for libgwavi driver (old Qt GUI avi backend). 2021-10-04 22:38:15 -04:00
mjbudd77 6f0f4177f2 Added avi metadata encoding to libav for Qt GUI. 2021-10-04 22:18:09 -04:00
mjbudd77 899dd03ac9 Added code to AVI RIFF viewer to calculate/display video frame rate. 2021-10-04 19:54:01 -04:00
mjbudd77 65565cd1dd Added meta data decoding to AVI RIFF viewer. 2021-10-03 15:46:39 -04:00
mjbudd77 edebc11048 AVI file load efficiency fix. Read entire chunks at a time to increase disk read performance. 2021-10-03 11:19:21 -04:00
mjbudd77 674e3dc8f3 Added a AVI file load progress dialog to give feedback when loading large files. 2021-10-03 10:55:55 -04:00
mjbudd77 a290718962 Modified AVI RIFF viewer code to allow for multiple instances of the window. 2021-10-03 10:16:30 -04:00
mjbudd77 c799d3f11e Removed unused symbol. 2021-10-03 09:43:56 -04:00
mjbudd77 8ccc46d5ec Cleanup of Qt AVI RIFF Viewer. 2021-10-03 09:35:50 -04:00
mjbudd77 becec5c8a7 Added code to decode AVI headers in AVI RIFF viewer. 2021-10-03 09:24:06 -04:00
mjbudd77 6856921c38 AVI RIFF viewer tool in work. 2021-10-03 04:58:15 -04:00
mjbudd77 41e04ece0b Added first cut at AVI RIFF Viewer tool window. 2021-10-02 11:33:35 -04:00
mjbudd77 9853ff37b0 Ensure that show lag count, show frame count, and movie bind state options get saved when toggled with a hot key. 2021-10-01 20:19:14 -04:00
mjbudd77 b23db9f8fc Added debug print statements for AVI video FPS. 2021-10-01 20:02:06 -04:00
mjbudd77 e3a9160797 Added more AVI audio buffer protections. 2021-10-01 17:10:13 -04:00
mjbudd77 df56e32027 Added suggested file names to AVI/WAV Record As file dialogs. 2021-10-01 16:39:13 -04:00
mjbudd77 7717e699cd Buffer AVI audio samples for more efficient packing into file chunks. 2021-10-01 16:28:33 -04:00
mjbudd77 52194fdf3d Bug fix for AVI audio when video compressor gives null frames. 2021-10-01 07:00:10 -04:00
mjbudd77 b06b7a98c6 Modified name of audio sink starve counter reset button to make it more intuitive. 2021-09-30 23:10:42 -04:00
mjbudd77 ec076a772a Added Movie word back into associated main menu movie items. 2021-09-30 23:07:37 -04:00
Daniel Wilkins df154af823 Fix on OpenBSD 2021-09-30 17:34:04 -04:00
mjbudd77 2615f9e1e0 Slight efficiency update for showFPS. Only need to pull time stamp from realtime clock once per frame. 2021-09-29 20:23:28 -04:00
mjbudd77 6dc5e678c9 Disabled libgwavi video/audio encoder options button for now. 2021-09-29 20:16:44 -04:00
mjbudd77 3f4a7f55d5 Added missing settings from Qt movie options window to saved config. 2021-09-28 22:39:40 -04:00
mjbudd77 fa84da706f Initialize default sound volume to full for Qt GUI. 2021-09-28 22:05:25 -04:00
mjbudd77 8fe52cb400 Added option to Qt GUI to allow for setting of the color of the video background side panel color (side panels on either side of video image in fullscreen or large windowed modes). 2021-09-28 21:52:43 -04:00
mjbudd77 2b9b2386d3 Bug fix for audio stream header still being written to AVI file even though audio capture has been disabled (for Qt GUI using old libgwavi). 2021-09-27 20:55:11 -04:00
mjbudd77 672dcac6b2 Bug fix for frame advance delay when using emulation speeds other than normal. Scale delay count by ratio of the actual frame rate over the nominal base rate. 2021-09-27 20:14:23 -04:00
mjbudd77 cc316f688b Added logic to save/recall last output directory for AVI/WAV files. 2021-09-25 20:57:36 -04:00
mjbudd77 dcd248c152 Removed AVI/WAV submenus from Qt GUI. AVI/WAV record/stop menu items are now all part of movie menu. 2021-09-25 20:17:24 -04:00
mjbudd77 2dd9756bc5 Bug fix for audio crackle when turning frames per second video indication on/off. 2021-09-25 19:11:35 -04:00
mjbudd77 a3ddca2f4a Sort encoder options alphabetically. 2021-09-25 18:08:36 -04:00
mjbudd77 2212dbacab Sort libav video/audio encoders alphabetically. 2021-09-25 15:40:23 -04:00
mjbudd77 8f0f6f23e1 Fix for frame count not initializing correctly on video options page. 2021-09-25 15:23:01 -04:00
mjbudd77 5fd9b12a15 Added tool tips to libav options window. 2021-09-25 13:32:43 -04:00
mjbudd77 12183443bd Another build fix for missing libav. 2021-09-24 19:19:11 -04:00
mjbudd77 c0e923fd7d Build fix for case where libav is not installed on linux. 2021-09-24 18:50:03 -04:00
mjbudd77 5d79033a21 Bug fix for X264 and X265 libs not being installed. 2021-09-24 18:23:39 -04:00
mjbudd77 3fc74aedbe Moved all avi config parameters/options to motion options window for Qt GUI. 2021-09-24 16:31:19 -04:00
mjbudd77 819357129f Added logic to save AVI audio recording option. Added to logic to not add an audio stream into AVI (libav driver) when this is active. 2021-09-23 17:19:09 -04:00
mjbudd77 84737be59f Added combo entry boxes for libav audio sample format, rate, and channel layout selection. 2021-09-23 13:27:48 -04:00
mjbudd77 14eb41cfd3 Added libav av flags option type handling config logic. 2021-09-23 09:10:20 -04:00
mjbudd77 4a574c9c1c Modified avi codec config parameter save functionality to only save differences from defaults values. 2021-09-22 23:43:55 -04:00
mjbudd77 c5a9238774 Qt AVI debug print cleanup. Moved avi codec config files to /avi. 2021-09-22 22:40:15 -04:00
mjbudd77 f774d320de Added boolean option type config code for libav. 2021-09-22 22:31:32 -04:00
mjbudd77 1f1551a716 Added save/load codec config parameters functionality. 2021-09-22 22:18:09 -04:00
mjbudd77 135325f9ae Added libav audio encoder config window. 2021-09-21 22:54:32 -04:00
mjbudd77 d20a7bb452 libav option changing window in work. 2021-09-21 22:34:53 -04:00
mjbudd77 a844963c8a Added libav video pixel format selection via combo box. 2021-09-20 20:42:27 -04:00
mjbudd77 591b21f4af Added a log file to detail avi recording issues. Memory allocation cleanup fixes for libav. 2021-09-20 19:39:09 -04:00
mjbudd77 74e3b81536 Bug fix for crash video format conversion in the case that desired video pixel format is already in bgra so no conversion is necessary. Fixes crash for ffv1 encoder. 2021-09-18 07:17:26 -04:00
mjbudd77 0076f048f8 Merge remote-tracking branch 'TasVideos/master' 2021-09-17 22:36:30 -04:00
mjbudd77 9758a8bb09 Bug fix for unhooked combo box callback to avi backend. 2021-09-17 22:35:41 -04:00
mjbudd77 fd2560a283 Merge remote-tracking branch 'mjbudd77/master' 2021-09-17 22:27:25 -04:00
mjbudd77 435c332902 Bug fix for auto-detection of default encoders for libav. 2021-09-17 22:26:22 -04:00
mjbudd77 4501292f7b Bug fix for finding encoder. Search by string name instead of integer ID since the name is the only unique parameter. 2021-09-17 21:43:45 -04:00
mjbudd77 dffab9e57f Sync libav video/audio encoder selections to config. 2021-09-17 20:43:11 -04:00
mjbudd77 1dd9036da6 Bug fix for libav MPEG4 video frame rate encoding. 2021-09-16 23:40:29 -04:00
mjbudd77 b514c143b6 libav movie options in work. 2021-09-16 23:15:32 -04:00
mjbudd77 3262e182e8 Setup qt win64 pipeline to auto download libav from external site and link into program. Make linking libav optional in cmake for qt win64 build. 2021-09-16 21:20:59 -04:00
mjbudd77 954e7d847c Windows build fix for compiling against newer libav. 2021-09-15 01:54:51 -04:00
mjbudd77 8e2af98295 Build fix for various versions of libav. 2021-09-14 21:36:50 -04:00
mjbudd77 18768ef4b3 Bug fix for libav audio encoding. 2021-09-14 21:31:40 -04:00
mjbudd77 2007d03eef Build fixes for linking libav in windows. 2021-09-14 00:56:59 -04:00
mjbudd77 233d555ffe Unsuccessful attempts at changing RGB->YUV coefficients to get proper color output. Turns out a gamma correction is needed that is more involved than I thought. 2021-09-13 23:04:14 -04:00
mjbudd77 a83826c187 Raw video BGR24 testing changes. 2021-09-09 22:14:09 -04:00
minucce cec337a431
Fix MMC5 battery loading 2021-09-09 03:19:08 +00:00
mjbudd77 679813e2d2 libav option debugging in work. 2021-09-08 23:14:17 -04:00
mjbudd77 425a2eedaa Added a print available libav encoders debug function. 2021-09-07 22:22:53 -04:00
mjbudd77 d8d7b59f34 Removed deprecated libavresample functions in favor of libswresample. 2021-09-07 22:02:43 -04:00
mjbudd77 e4cd3b0d1a Added libav audio encoding logic. 2021-09-07 20:59:59 -04:00
Alexey 'Cluster' Avdyukhin 80032f8f84 NES 2.0 exponent-multiplier notation support 2021-09-07 20:39:13 +03:00
mjbudd77 f3ce245746 First successful recording of video using libav. 2021-09-07 01:41:40 -04:00
mjbudd77 80df18351a libav recording in work. 2021-09-07 00:10:30 -04:00
mjbudd77 54fcaf4baf Libav integration in work. 2021-09-06 15:48:42 -04:00
mjbudd77 f711dbd23d Added logic to add AVI 2.0 STD index chunks to stream at 2GB intervals. 2021-09-02 21:37:05 -04:00
mjbudd77 2ddfc43bc2 Implemented first cut at avi 2.0 indexing for Qt GUI. 2021-09-02 21:13:54 -04:00
mjbudd77 4e1a335f81 Changed file I/O markers to be 64 bit for Qt AVI. 2021-09-01 20:57:06 -04:00
mjbudd77 51ef32413b Created wrapper functions for fseek and ftell for Qt avi 64 bit file I/O. 2021-09-01 20:53:34 -04:00
mjbudd77 fe87e1387f Minor cleanup of x265 encoding code. 2021-08-31 21:40:14 -04:00
mjbudd77 520e146b80 Added X265 video encoder feature to AVI Qt GUI. 2021-08-31 21:13:42 -04:00
mjbudd77 bf3a02fe9b Implemented sound use global focus in a different way so that it will mute physical audio without also muting avi/wav recording audio. 2021-08-31 17:18:46 -04:00
mjbudd77 934437dddc Added AVI debug as an optional compile time setting to Qt GUI. 2021-08-31 20:47:48 -04:00
mjbudd77 1c6a08e868 Force audio stream frames to always be keyframes. 2021-08-31 16:31:23 -04:00
mjbudd77 83633b11f3 Added proper avi keyframe logic for libx264 on Qt GUI. 2021-08-31 16:12:57 -04:00
mjbudd77 77c3fa8ab4 Moved Vfw compressor choose window popup to be after file overwrite warning popup for Qt GUI. 2021-08-31 15:25:48 -04:00
mjbudd77 8d3a27e1a5 Added functionality to properly encode keyframes into AVI file for Qt GUI. 2021-08-31 13:10:16 -04:00
mjbudd77 15c4a729b9 Added a config parameter to save VfW compressor choice for Qt GUI. 2021-08-30 18:21:45 -04:00
mjbudd77 21cc75eb45 Fix for Qt Avi offset index memory reserve calculation. 2021-08-29 22:11:20 -04:00
mjbudd77 f879757d27 Commented out Qt AVI debug function in main menu until the window is finished. 2021-08-29 22:05:37 -04:00
mjbudd77 f10d50fe6b Replaced realloc calls with a std::vector for efficiency. 2021-08-29 22:01:28 -04:00
mjbudd77 f47665609b Added debug code for decoding index block. 2021-08-29 21:35:32 -04:00
mjbudd77 a47fd82334 Bug fix for Qt AVI encoding of idx1 chunk sizes. 2021-08-29 16:06:50 -04:00
mjbudd77 04aa7afb1f Bug fix for incorrect audio and video chunk size. Data pad should not be included in the ckSize field. 2021-08-29 15:36:02 -04:00
mjbudd77 4e1b5873b9 Bug fixes for Qt AVI debug decoder. 2021-08-29 15:08:00 -04:00
mjbudd77 a0ada0748b Added debug print of main avi header. 2021-08-25 22:27:09 -04:00
mjbudd77 95db43d3f9 Added an AVI decode debug function to Qt GUI. 2021-08-25 22:04:39 -04:00
mjbudd77 5db7abf118 Fixed rounding error in avi frame rate calculation. Fixed avi fps calculation to account for the case where the user has integer frame rate selected. 2021-08-21 10:35:29 -04:00
mjbudd77 c719058991 Added a protection in Qt/SDL sound to prevent audio buffer overflow during turbo mode. 2021-08-20 22:10:09 -04:00
mjbudd77 c3b44910a0 Updated controller input display label text to be more intuitive. 2021-08-20 21:54:16 -04:00
mjbudd77 062c4c527d Force VfW FOURCC characters to upper case. 2021-08-20 21:06:16 -04:00
mjbudd77 ba5be09a28 Fix for Qt AVI encoding of dwRate and dwScale in the stream header. 2021-08-20 16:27:30 -04:00
mjbudd77 d13ef4cdbe Fix to ensure that Qt hex editor gets updated at each breakpoint. 2021-08-19 23:06:54 -04:00
mjbudd77 9d2acd6931 Added memory write undo functionality for debugger step back. 2021-08-19 21:32:14 -04:00
mjbudd77 07f73c2fb9 First cut at implementing instruction step back function using trace logger data. 2021-08-19 18:46:02 -04:00
mjbudd77 09117e5286 Added debugger step back button. Functionality still TODO. 2021-08-19 18:15:27 -04:00
mjbudd77 0d4b604689 Added missing unix make docs script. Added table of contents to qhp file. 2021-08-17 22:16:57 -04:00
mjbudd77 8b0f4a0fc0 Added unix docs build to pipeline. Added navigation buttons to help window. 2021-08-17 21:23:39 -04:00
mjbudd77 6762a1bb7c Added fceux help page viewer using QHelpEngine. 2021-08-16 21:44:03 -04:00
mjbudd77 fa52003d37 Fixed Qt video debug log output. Cleaned up some unused video functions. 2021-08-16 19:00:30 -04:00
mjbudd77 2e53904467 Added code to allow for an external chm viewer to be used for unix OS. 2021-08-16 06:29:57 -04:00
mjbudd77 f8b6d19a94 Build fixes for Qt windows chm help file loader. 2021-08-15 21:09:12 -04:00
mjbudd77 90d8dbd411 Added offline help pages for windows Qt GUI. 2021-08-15 20:42:51 -04:00
mjbudd77 1e13f3f7c3 Added overclocking parameters to saved config settings for Qt GUI. 2021-08-15 20:21:16 -04:00
mjbudd77 0e64829682 Added a Run PPU half frame icon (that doesn't look like a stop icon) for debugger run 128 lines. 2021-08-14 21:18:09 -04:00
mjbudd77 e6d0822dad Added save/recall window geometry for various windows in Qt GUI. 2021-08-14 17:21:19 -04:00
mjbudd77 911e903ecb Created a custom read only QCheckBox whose state cannot be changed via mouse button clicks. The widget is for boolean state display purposes only. 2021-08-14 16:54:48 -04:00
mjbudd77 d8a1425715 Change trace logger Log Last text to be a label instead of a checkbox. Logging will always go to screen even if also going to a file. The same buffer is used for both. 2021-08-14 12:59:00 -04:00
mjbudd77 03a40f22ac Save state of cheat window checkbox options for Qt GUI. 2021-08-14 07:46:05 -04:00
mjbudd77 8b59b85be8 Making sure that all Tools windows have their geometry saved and recalled for Qt GUI. 2021-08-14 06:36:46 -04:00
mjbudd77 20d69ffa9f Set hot key row coloring to alternate. 2021-08-12 21:09:05 -04:00
mjbudd77 9e70db952e Changed Qt hotkey window to sort the hot keys into logical groups. 2021-08-12 21:05:43 -04:00
mjbudd77 136ae9a336 Added AVI overwrite warning dialog to Qt GUI. 2021-08-11 21:26:02 -04:00
mjbudd77 a571677cdb Changed Qt GUI AVI recording video pickoff point so that HUD/messages can be optional in the recorded image. 2021-08-11 21:11:00 -04:00
mjbudd77 88da722533 Added a few missing config parameters to Qt trace logger. Namely, save to file (flag and path) and automatic window update. 2021-08-10 21:49:44 -04:00
mjbudd77 8e798cbbb9 Save main window position so that it can be restored at same location and size. 2021-08-10 20:50:49 -04:00
mjbudd77 e406583256 Set Standard 4:3 to be default aspect ratio if force aspect is selected. Renamed default 1:1 to be Square Pixels 1:1. 2021-08-10 20:22:50 -04:00
mjbudd77 1d15fc49c3 Added window resize presets to Qt main menu. 2021-08-10 20:12:19 -04:00
mjbudd77 443752b7b8 Fix for input display label. 2021-08-09 22:25:11 -04:00
mjbudd77 87a99e50dc Sync state of video overlay Qt widgets in a periodic update to ensure that hot key functions do not get window out of sync with state. 2021-08-09 22:19:19 -04:00
mjbudd77 49534e8f4b Modified Qt video settings window to group video overlays together. Added frame, lag, and re-record count overlays checkbox options to window. Added input display overlay combo box. 2021-08-09 22:06:45 -04:00
mjbudd77 8d4e535d0a Changed ROM patch logic on Qt GUI so that a byte block can be undone as one undo. 2021-08-08 20:49:09 -04:00
mjbudd77 f834069180 Changed SDL audio locks to not be called as often. Gives slight performance increase. 2021-08-08 14:28:10 -04:00
mjbudd77 52b5ee51f4 Another minor change to the Qt sound scaling algorithm to better scale at frame rates faster than realtime. 2021-08-08 14:02:06 -04:00
mjbudd77 07455a7201 Fixed subtitle text in Qt movie options window. 2021-08-07 19:52:41 -04:00
mjbudd77 d53a746f18 Minor tweaks to new Qt sound setup. 2021-08-07 12:49:55 -04:00
mjbudd77 896af76167 Changed Qt sound underflow/overflow so that it better scales with changing running faster or slower than realtime. 2021-08-07 10:24:37 -04:00
mjbudd77 301fb99a8a Added audio sink starve counter label to sound config window. This in conjunction with the audio buffer usage bar, can help determine if the sound system is buffering properly. 2021-08-06 23:00:41 -04:00
mjbudd77 ebec5422bf Qt sound fix for integer frame rates. Now computes the proper expected number of samples per frame. 2021-08-06 22:27:59 -04:00
mjbudd77 728a7c3580 Added sound use global focus option to Qt GUI. 2021-08-06 00:14:37 -04:00
mjbudd77 f925e82d85 Added backend logic to mute sound when GUI focus is lost. Still TODO add window controls. 2021-08-05 23:43:44 -04:00
mjbudd77 455df4caae Added movie record input dialog to Qt GUI. 2021-08-05 22:35:29 -04:00
mjbudd77 f3af816eda Minor menu fixes for Qt GUI. 2021-08-05 19:37:28 -04:00
Alexey 'Cluster' Avdyukhin 3fe7e4e02e (Qt) More input devices for NES 2.0 header editor 2021-08-05 20:10:16 +03:00
Alexey 'Cluster' Avdyukhin 06fab0fe57 (Qt) NES 2.0 header editor bugfix for input device 2021-08-05 20:09:06 +03:00
Alexey 'Cluster' Avdyukhin 2d5552c800 More input devices for NES 2.0 header editor 2021-08-05 20:07:38 +03:00
Alexey 'Cluster' Avdyukhin c9643cd0ab NES 2.0 header editor bugfix for input device 2021-08-05 20:03:55 +03:00
mjbudd77 61661ff233 Minor tweak to trace log clear to make screen refresh instantly. 2021-08-05 09:10:47 -04:00
mjbudd77 7767e8d162 Added trace logger clear log functionality to Qt GUI. 2021-08-05 08:09:58 -04:00
mjbudd77 236fb67b7d Added show trace data option to Qt disassembly display. 2021-08-05 06:16:01 -04:00
mjbudd77 0a70f46a9f Added a debug pause button to the Qt debugger tool bar. 2021-08-05 05:17:17 -04:00
mjbudd77 e0bc4ab67b Bug fix for emulation thread incorrectly accessing GUI widgets. All widget access must be done in GUI thread. 2021-08-03 23:44:50 -04:00
mjbudd77 50861ab903 Added symbol address and value to assembly look ahead popup window. 2021-08-03 23:26:09 -04:00
mjbudd77 63c4a18e46 Added logic to allow for ROM offsets to be selected in the assembly view window. 2021-08-03 22:11:37 -04:00
mjbudd77 d04d08d2e9 Default new breakpoints to be enabled in dialog. 2021-08-03 21:10:56 -04:00
mjbudd77 8d7f2032fc Added checks to Qt GUI to prevent user from mapping joystick buttons to the keyboard device. Added warning popups to indicate to user what is wrong. 2021-08-03 20:48:54 -04:00
mjbudd77 10f5988e62 Initialize button states to zero. 2021-08-02 21:58:06 -04:00
mjbudd77 eabde5f134 Added tool tips to gamepad config profile buttons. 2021-08-02 21:29:21 -04:00
mjbudd77 39480dcf91 Moved advanced key binding buttons to bottom of window. 2021-08-02 21:10:53 -04:00
mjbudd77 da084fb184 For Qt GUI, added option to have up to 3 alternate gamepad button bindings in addition to the primary mapping. 2021-08-02 21:02:02 -04:00
mjbudd77 f76df49bf8 Set enable opposite directionals default to false for Qt. 2021-08-02 07:59:36 -04:00
mjbudd77 2054efa3de Changed default style to fusion for windows platforms. 2021-08-02 00:15:43 -04:00