nick black
d4264586a0
point out that ncvisual_from_bgra() is byte-oriented
2021-06-06 12:44:45 +00:00
nick black
eee6ed4f7b
rotate unit tests: fix for big-endian #1714
2021-06-06 12:16:51 +00:00
nick black
e03b1fb5d8
if query_sixel_details fails, disable bitmap support #1469
2021-06-06 07:53:43 -04:00
nick black
b432166f66
send DA following XTSMGRAPHICS #1469
2021-06-06 07:53:43 -04:00
nick black
60c030e232
send DA following XTSMGRAPHICS #1469
2021-06-06 07:53:43 -04:00
nick black
8f0324547e
oiio: use pixel_stride() when appropriate #1723
2021-06-06 02:13:18 -04:00
nick black
bb243989d3
blitters: take bpp as parameter to deal with OIIO pixel_stride() #1723
2021-06-06 02:13:18 -04:00
nick black
383dc90842
ncvisual_blit: call resize_bitmap() for implicit scaling without multimedia engine #1718
2021-06-06 02:13:18 -04:00
nick black
c64e6e265e
drop visual_resize_internal
2021-06-06 02:13:18 -04:00
nick black
4cf653635a
add Visual::Stretch unit test, complete FIXMEs in two others #1718
2021-06-06 02:13:18 -04:00
nick black
0184ccc0b3
add visual_resize_internal to visual_interface API #1718
2021-06-06 02:13:18 -04:00
nick black
a7f41dcefa
ffmpeg_resize: check for owndata before frame_unref #1718
2021-06-06 02:13:18 -04:00
nick black
250c5c9262
ffmpeg_resize: rewrite using ffmpeg_resize_internal() #1718
2021-06-06 02:13:18 -04:00
nick black
e07d712029
notcurses-tester: use unique_ptr on find_data()
2021-06-06 02:13:18 -04:00
nick black
ba8dd1b705
extract ffmpeg_resize_internal(), call from ffmpeg_blit() #1718
2021-06-06 02:13:18 -04:00
nick black
68c0ac4093
ffmpeg: no need for an AVFrame in resize, yay #1718
2021-06-06 02:13:18 -04:00
nick black
3a3fe77514
null media implementation: use c source, not c++ #1718
2021-06-06 02:13:18 -04:00
nick black
73ed97993f
kill 'none' multimedia implementation #1718
2021-06-06 00:22:53 -04:00
nick black
bf62f5ac3f
notcurses_visual.3: document what functionality requires a multimedia backend #1718
2021-06-06 00:22:30 -04:00
José Luis Cruz
191049a465
Merge pull request #1717 from db48x/remove-unsafe-from-example-code
...
remove unsafe code from example “issue-1716”
2021-06-03 18:43:34 +02:00
Daniel Brooks
477797716f
remove unsafe code from example “issue-1716”
...
Now that the NcDirectF type and its methods are defined, there is no
need to set a bad example.
2021-06-03 09:09:57 -07:00
joseLuís
f44175b9c3
[rust] update example for issue #1716
2021-06-03 16:12:30 +02:00
joseLuís
bb07a995d5
[tools] update function-summary data
2021-06-03 16:11:55 +02:00
joseLuís
c3f1d6c4a3
[rust] wrap ncdirectf functions
...
- add type aliases: NcDirectF (NcVisual alias), NcDirectV (NcPlane alias).
- implement wrapper methods for the `ncdirect_*` functions on NcDirectF.
- the methods over NcDirectF are prefixed with `ncdirectf_` to distinguish them
from the other NcVisual methods (since they are both type aliases, they
share their methods).
- fix typos in `direct.h`:
- ncdirect_geom_frame > ncdirectf_geom()
- ncdirect_render_loaded_frame > ncdirectf_render()
- add NcVGeom struct.
- minor fixes & rustfmt.
2021-06-03 16:08:54 +02:00
joseLuís
812a29e219
[rust] add ncdirectf functions; fix build
...
- ncdirectf_from_file, ncdirectf_geom, ncdirectf_render, ncdirectf_free
2021-06-03 14:34:45 +02:00
joseLuís
1c6a50e047
[rust] add example for issue #1716
2021-06-03 14:25:20 +02:00
joseLuís
18446034e4
[rust] add ncblit functions
...
- ncblit_rgba, ncblit_bgrx, ncblit_rgb_packed, ncblit_rgb_loose
2021-06-03 14:24:42 +02:00
nick black
f77c008e88
tinfo_debug_caps: print unicode block characters
2021-06-03 07:17:02 -04:00
nick black
8d22f4618f
lookup_blitset: replace O(N) loop with O(1) access
2021-06-03 07:16:43 -04:00
nick black
8d4d67c5e7
technically, ncplane_at_yx() change didn't affect ncplane_as_rgba()
2021-06-03 03:05:31 -04:00
nick black
e6f226452d
fix erroneous comment in NEWS
2021-06-03 03:04:29 -04:00
nick black
507d2c8d8e
v2.3.2
2021-06-03 02:29:13 -04:00
nick black
46ddd37083
NEWS.md: memory leak fixes applied to all but OIIO backend
2021-06-03 01:49:28 -04:00
nick black
26054e757c
rely on ncvisual_set_data() for clear in ffmpeg_resize() #1712
2021-06-03 01:46:10 -04:00
nick black
398a98d18c
[drone] use TERM=xterm on debian/fedora CI to exercise more paths
2021-06-03 01:16:27 -04:00
nick black
63bbe9fbbf
FdsAndSubprocs: WARN on (very rarely) failing pthread_mutex_destroy()
2021-06-03 01:16:27 -04:00
nick black
27831c744e
[ffmpeg] restore some av_freep()s, IMGALLOCALIGN 32->64 #1712
2021-06-03 01:16:27 -04:00
nick black
c2a82d0ed1
ffmpeg: transfer ownership following resize #1712
2021-06-03 01:16:27 -04:00
nick black
5f3844d6f1
ffmpeg: free sframe->data[0], not sframe->data #1712
2021-06-03 01:16:27 -04:00
nick black
36f7eb500c
av_frame_free() instead of av_freep() in ffmpeg_destroy() #1712
2021-06-03 01:16:27 -04:00
nick black
5ad08e7e87
[fallin] plug up memory leak on empty ncplane_at_yx() return
2021-06-02 21:56:46 -04:00
nick black
c9e450bc27
add note to NEWS for 2.3.2 about 'none' memory leak
2021-06-02 21:52:01 -04:00
nick black
7c54fe0f23
ncplane_at_yx: free intermediate empty ret
2021-06-02 21:51:03 -04:00
nick black
1daa011269
kill OWNDATA diagnostic
2021-06-02 21:46:37 -04:00
nick black
d8c9463175
none_destroy: free up subdata #1711
2021-06-02 21:46:19 -04:00
nick black
82fb065795
only manage ncvisual in toplayer with no media implementation #1711
2021-06-02 21:34:50 -04:00
nick black
5a4b6cdae0
ncvisual_destroy: free up structure on all paths #1711
2021-06-02 20:50:34 -04:00
nick black
c2dd6b6a78
fix compilation error in textplay #1710
2021-06-02 19:17:15 -04:00
nick black
2aa63404e2
resize_bitmap: guard against potential overwrite
2021-06-02 03:39:48 -04:00
nick black
bebd33a30a
prune cruft
2021-06-02 03:18:10 -04:00