Commit Graph

5430 Commits

Author SHA1 Message Date
joseLuís
9bbfd96dd7 [rust] delete examples for issues #1559 #1699 2021-06-07 20:59:35 +02:00
joseLuís
5d4ee0f294 [rust] fix examples 2021-06-07 20:55:45 +02:00
joseLuís
0d7b6619bb [rust] add example for issue #1732 2021-06-07 20:53:42 +02:00
José Luis Cruz
481d0d69e8
Merge pull request #1729 from dankamongmen/dankamongmen/pixel-cell-rust
[rust] pixel-cell example: make 'em match #1728
2021-06-07 10:46:08 +02:00
nick black
e3bf3c9802
place resized pixel planes properly 2021-06-06 16:18:25 -04:00
nick black
7b7308e866
[rust] pixel-cell example: make 'em match #1728 2021-06-06 15:14:58 -04:00
nick black
f8533d44a1 new unit test, InflateVsScale #1728 2021-06-06 15:14:35 -04:00
nick black
ea13e25cf4 kill NCSCALE_INFLATE #1576 2021-06-06 15:14:35 -04:00
nick black
4bf14935f5
tinfo_debug_caps: prettify outputs 2021-06-06 12:32:55 -04:00
nick black
9cbc1c35f3
[sextants] add right-half to inverse lookup 2021-06-06 12:32:20 -04:00
Nick Black
b686661873 RGBA/BRGA unit tests: don't do any scaling #1714 2021-06-06 10:06:32 -04:00
nick black
97bfd726e4 ncvisual_from_bgra(): use ncpixel API to work on big-endian #1714 2021-06-06 13:10:31 +00:00
nick black
7f2635ced1
rgba/bgra from memory tests need htole() #1714 2021-06-06 08:50:42 -04:00
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