Commit Graph

5630 Commits

Author SHA1 Message Date
nick black
c967028fbe ncplayer: add -n option for noninterpolative scaling #1738 2021-06-09 06:57:15 -04:00
nick black
99bb6e6f70 ncdirect_render_visual: pass vopts->flags through to bargs.flags #1738 2021-06-09 06:57:15 -04:00
nick black
2f340d6926 ncdirect_render_visual: convert maxx/maxy into ncvisualspeak #1738 2021-06-09 06:57:15 -04:00
nick black
59f4edd777 ncdirectf_render: accept an ncvisual_options #1738 2021-06-09 06:57:15 -04:00
nick black
6fcaad3c5d
generalize ncvisual_inflate() to ncvisual_resize_noninterpolative() #1738 2021-06-08 16:32:03 -04:00
nick black
9d47666dfe
kitty: undo C=1 thinko, ugh #1733 2021-06-08 15:26:59 -04:00
joseLuís
852cde9a75 [rust] add NCVISUAL_OPTION_NOINTERPOLATE
- update the `pixel-cell` example.
- change the type of ncvisual flags parameter to u32.
- minor doc fixes.
2021-06-08 21:18:58 +02:00
nick black
3aa287b9d4
notcurses.3: make explicit that rasterizing clears the area #1732 2021-06-08 14:55:40 -04:00
joseLuís
6f1f544b77 [rust] add prsleep macro + fixes
- add prsleep macro for rendering & rasterizing a plane pline + sleep
- fix some comments and refactor a little
2021-06-08 20:27:36 +02:00
joseLuís
95cd7ad27e [rust] delete example #1732 2021-06-08 20:19:19 +02:00
nick black
af7cde565b implement NCVISUAL_OPTION_NOINTERPOLATE #1576 2021-06-08 13:05:36 -04:00
nick black
d730abb6b0 notcurses_render: purge falsehood #1732 2021-06-08 13:05:36 -04:00
nick black
863c1778aa kitty: cut alphas in half with NCVISUAL_OPTION_BLEND #1735 2021-06-08 13:05:36 -04:00
nick black
94cefb091f pass blitterargs in toto down to write_kitty_data #1735 2021-06-08 13:05:36 -04:00
nick black
5940239e32 kill bargs->blendcolors, pass full flags qword #1735, #1576 2021-06-08 13:05:36 -04:00
nick black
7d6c03fe6a notcurses_visual.3: document BLEND interactions with PIXEL #1735 2021-06-08 13:05:36 -04:00
nick black
df29cbaf1e [kitty] pass C=1 to inhibit cursor moves/scrolling from graphics #1733 2021-06-08 13:05:36 -04:00
nick black
a6433caeaa add NCVISUAL_OPTION_NOINTERPOLATE #1576 2021-06-08 13:05:36 -04:00
José Luis Cruz
617071cf2c
Merge pull request #1736 from db48x/fix-doc-warnings
cargo doc complains about some urls that are not turned into links
2021-06-08 16:01:36 +02:00
Daniel Brooks
313f1caaa0 cargo doc complains about some urls that are not turned into links
so turn them into links.
2021-06-08 04:29:59 -07:00
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