Home
last modified time | relevance | path

Searched refs:picbuf (Results 1 – 25 of 66) sorted by relevance

123

/dports/print/hp2xx/hp2xx-3.4.4/sources/
H A Dto_pcx.c147 if (po->picbuf->depth == 1) in start_PCX()
152 if (po->picbuf->depth == 1) in start_PCX()
158 h.xmax = (short) (po->picbuf->nc - 1); in start_PCX()
159 h.ymax = (short) (po->picbuf->nr - 1); in start_PCX()
163 if (po->picbuf->depth == 1) { in start_PCX()
221 if (po->picbuf->depth == 1) { in start_PCX()
345 row = get_RowBuf(po->picbuf, row_c);
350 for (x = 0; x < po->picbuf->nb; x++)
359 if (po->picbuf->depth > 1) {
382 row = get_RowBuf(po->picbuf, row_c);
[all …]
H A Dto_img.c76 row_nr = picbuf->nr - (row_c + 1); in get_byte_IMG()
77 row = get_RowBuf(picbuf, row_nr); in get_byte_IMG()
107 org_byte = get_byte_IMG(row_c, pos, picbuf); in vert_rep_IMG()
108 cmp_byte = get_byte_IMG(cmp_row_c, pos, picbuf); in vert_rep_IMG()
136 int Img_w = picbuf->nb; /* number of bytes/row */ in empty_SR_IMG()
159 int Img_w = picbuf->nb; /* number of bytes/row */ in full_SR_IMG()
185 int Img_w = picbuf->nb; /* number of bytes/row */ in PR_IMG()
189 first_byte = get_byte_IMG(row_c, pos, picbuf); in PR_IMG()
194 get_byte_IMG(row_c, cmp_pos, picbuf); in PR_IMG()
196 get_byte_IMG(row_c, cmp_pos + 1, picbuf); in PR_IMG()
[all …]
H A Dto_pcl.c411 fprintf(fd, "\033*r%dS", po->picbuf->nc); in start_graphmode()
413 fprintf(fd, "\033*r%dT", po->picbuf->nr); in start_graphmode()
516 if (po->picbuf->depth > 1) {
563 row = get_RowBuf(po->picbuf, row_c);
565 if (po->picbuf->depth == 1)
566 Buf_to_PCL(row->buf, po->picbuf->nb,
569 for (x = 0; x < po->picbuf->nb; x++)
641 K_to_CMY(po->picbuf->nb);
644 KCMY_Buf_to_PCL(po->picbuf->nb,
648 KCMY_to_K(po->picbuf->nb);
[all …]
H A Dto_jpg.c51 W = po->picbuf->nr; in PicBuf_to_JPG()
52 H = po->picbuf->nc; in PicBuf_to_JPG()
53 D = po->picbuf->depth; in PicBuf_to_JPG()
54 B = po->picbuf->nb; in PicBuf_to_JPG()
80 S = 3 * po->picbuf->nc; in PicBuf_to_JPG()
82 S = po->picbuf->nc; in PicBuf_to_JPG()
94 if ((row = get_RowBuf(po->picbuf, (W - 1) - y)) == NULL) in PicBuf_to_JPG()
100 (Byte) index_from_RowBuf(row, x, po->picbuf); in PicBuf_to_JPG()
H A Dto_vga.c161 (((po->picbuf->nb << 3) + xoff > 639) in PicBuf_to_VGA()
162 || (po->picbuf->nr + yoff > 480))) { in PicBuf_to_VGA()
166 (po->picbuf->nb << 3) + xoff, yoff, in PicBuf_to_VGA()
167 po->picbuf->nr + yoff); in PicBuf_to_VGA()
193 for (row_c = 0, y = po->picbuf->nr + yoff - 1; in PicBuf_to_VGA()
194 row_c < po->picbuf->nr; row_c++, y--) { in PicBuf_to_VGA()
195 row = get_RowBuf(po->picbuf, row_c); in PicBuf_to_VGA()
196 for (x = 0; x < po->picbuf->nc; x++) { in PicBuf_to_VGA()
198 index_from_RowBuf(row, x, po->picbuf); in PicBuf_to_VGA()
H A Dto_escp2.c447 if (po->picbuf->depth > 1) {
448 p_K = calloc((size_t) po->picbuf->nb, sizeof(Byte));
449 p_C = calloc((size_t) po->picbuf->nb, sizeof(Byte));
450 p_M = calloc((size_t) po->picbuf->nb, sizeof(Byte));
493 row = get_RowBuf(po->picbuf, row_c);
495 if (po->picbuf->depth == 1) {
501 Buf_to_ESCP2(row->buf, po->picbuf->nb,
505 for (x = 0; x < po->picbuf->nb; x++)
508 for (x = offset = 0; x < (po->picbuf->nb << 3);
511 index_from_RowBuf(row, x, po->picbuf);
[all …]
H A Dto_tif.c51 W = po->picbuf->nr; in PicBuf_to_TIF()
52 H = po->picbuf->nc; in PicBuf_to_TIF()
53 D = po->picbuf->depth; in PicBuf_to_TIF()
54 B = po->picbuf->nb; in PicBuf_to_TIF()
146 if ((row = get_RowBuf(po->picbuf, (W - 1) - y)) == NULL) in PicBuf_to_TIF()
151 (Byte) index_from_RowBuf(row, x, po->picbuf); in PicBuf_to_TIF()
H A Dto_atari.c377 static void zeichne(PicBuf * picbuf) in zeichne() argument
430 zeile = get_RowBuf(picbuf, picbuf->nr - py); in zeichne()
433 color_index = index_from_RowBuf(zeile, px, picbuf); in zeichne()
559 static void preview(PicBuf * picbuf, int quiet) in preview() argument
599 px_max = picbuf->nc; in preview()
600 py_max = picbuf->nr; in preview()
753 zeichne(picbuf); in preview()
783 preview(po->picbuf, pg->quiet); /* Previewer aufrufen */ in PicBuf_to_ATARI()
H A Dpicbuf.c74 static void swapout_RowBuf(RowBuf * row, const PicBuf * picbuf) in swapout_RowBuf() argument
77 (picbuf->sd, (long) row->index * picbuf->nb * picbuf->depth, in swapout_RowBuf()
84 fwrite((char *) row->buf, (size_t) picbuf->nb, in swapout_RowBuf()
85 (size_t) picbuf->depth, picbuf->sd) in swapout_RowBuf()
86 != picbuf->depth) { in swapout_RowBuf()
94 static void swapin_RowBuf(RowBuf * row, const PicBuf * picbuf) in swapin_RowBuf() argument
97 (picbuf->sd, (long) row->index * picbuf->nb * picbuf->depth, in swapin_RowBuf()
104 fread((char *) row->buf, (size_t) picbuf->nb, in swapin_RowBuf()
105 (size_t) picbuf->depth, picbuf->sd) in swapin_RowBuf()
106 != picbuf->depth) { in swapin_RowBuf()
[all …]
H A Dto_pac.c596 Screen_for_PAC(const PicBuf * picbuf, Byte * screen, int x, int y) in Screen_for_PAC() argument
614 if (buf_y < picbuf->nr && buf_x < picbuf->nb) { in Screen_for_PAC()
615 row_nr = picbuf->nr - (buf_y + 1); in Screen_for_PAC()
616 row = get_RowBuf(picbuf, row_nr); in Screen_for_PAC()
681 pb = po->picbuf;
H A Dhp2xx.c466 po->picbuf = NULL; in preset_par()
627 if (po != NULL && po->picbuf != NULL) { in cleanup_o()
628 free_PicBuf(po->picbuf); in cleanup_o()
629 po->picbuf = NULL; in cleanup_o()
855 if ((po->picbuf = allocate_PicBuf(pg, n_rows, n_cols)) == NULL) { in TMP_to_BUF()
887 if (po->picbuf == NULL) in BUF_to_RAS()
H A Dto_pm.c265 pbuf = po->picbuf; in PicBuf_to_PM()
269 po->picbuf->nb << 3, po->picbuf->nr)) in PicBuf_to_PM()
/dports/print/hp2xx/hp2xx-3.4.4/old/
H A Dto_pcx.c162 h.xmax = po->picbuf->nc - 1; in start_PCX()
163 h.ymax = po->picbuf->nr - 1; in start_PCX()
303 row = get_RowBuf (po->picbuf, row_c);
306 for (np=0; np < picbuf->depth; np++)
307 for (x=0; x < po->picbuf->nb; x++)
316 if (po->picbuf->depth > 1)
341 row = get_RowBuf(po->picbuf, row_c);
344 if (po->picbuf->depth == 1)
348 for (x=0; x < po->picbuf->nb; x++)
399 Buf_to_PCX (p_R, po->picbuf->nb, fd);
[all …]
H A Dto_pbm.c52 if (po->picbuf->depth > 1) in PicBuf_to_PBM()
82 if (fprintf(fd, "%d %d\n", (po->picbuf->nb) * 8, po->picbuf->nr)== EOF) in PicBuf_to_PBM()
88 for (row_c = 0; row_c < po->picbuf->nr; row_c++) in PicBuf_to_PBM()
90 row = get_RowBuf(po->picbuf, po->picbuf->nr - row_c - 1); in PicBuf_to_PBM()
92 for (byte_c = x = 0; byte_c < po->picbuf->nb; byte_c++) in PicBuf_to_PBM()
H A Dto_atari.c332 int lese_pixel(PicBuf *picbuf) in lese_pixel() argument
348 zeile = get_RowBuf(picbuf, picbuf->nr - (py + 1)); in lese_pixel()
441 void zeichne (PicBuf *picbuf) in zeichne() argument
536 pixel = lese_pixel(picbuf); in zeichne()
689 void preview(PicBuf *picbuf) in preview() argument
729 px_max = picbuf->nc; in preview()
731 py_max = picbuf->nr; in preview()
971 zeichne(picbuf); in preview()
1000 void PicBuf_to_ATARI (PicBuf *picbuf, PAR *par) in PicBuf_to_ATARI() argument
1005 preview(picbuf); /* Previewer aufrufen */ in PicBuf_to_ATARI()
H A Dto_pm.c242 pbuf = po->picbuf; in PicBuf_to_PM()
246 po->picbuf->nb << 3, po->picbuf->nr ) ) in PicBuf_to_PM()
H A Dto_x11.c294 pb = po->picbuf; in PicBuf_to_X11()
374 free(po->picbuf); in PicBuf_to_X11()
375 po->picbuf=NULL; in PicBuf_to_X11()
377 pb=po->picbuf; in PicBuf_to_X11()
/dports/multimedia/libde265/libde265-1.0.2/libde265/encoder/
H A Dencoder-context.h45 return picbuf.get_picture(frame_id)->reconstruction; in get_image()
49 return picbuf.has_picture(frame_id); in has_image()
93 encoder_picture_buffer picbuf; variable
151 void release_input_image(int frame_number) { picbuf.release_input_image(frame_number); } in release_input_image()
153 void mark_image_is_outputted(int frame_number) { picbuf.mark_image_is_outputted(frame_number); } in mark_image_is_outputted()
H A Dencoder-context.cc83 sop->set_encoder_picture_buffer(&picbuf); in start_encoder()
200 if (!picbuf.have_more_frames_to_encode()) { in encode_picture_from_input_buffer()
206 const image_data* id = picbuf.peek_next_picture_to_encode(); in encode_picture_from_input_buffer()
236 imgdata = picbuf.get_next_picture_to_encode(); in encode_picture_from_input_buffer()
238 picbuf.mark_encoding_started(imgdata->frame_number); in encode_picture_from_input_buffer()
273 picbuf.set_reconstruction_image(imgdata->frame_number, img); in encode_picture_from_input_buffer()
291 picbuf.mark_encoding_finished(imgdata->frame_number); in encode_picture_from_input_buffer()
/dports/graphics/digikam/digikam-7.4.0/core/libs/heifutils/libde265/encoder/
H A Dencoder-context.h45 return picbuf.get_picture(frame_id)->reconstruction; in get_image()
49 return picbuf.has_picture(frame_id); in has_image()
109 encoder_picture_buffer picbuf; variable
167 void release_input_image(int frame_number) { picbuf.release_input_image(frame_number); } in release_input_image()
169 void mark_image_is_outputted(int frame_number) { picbuf.mark_image_is_outputted(frame_number); } in mark_image_is_outputted()
H A Dencoder-context.cc86 sop->set_encoder_picture_buffer(&picbuf); in start_encoder()
213 if (!picbuf.have_more_frames_to_encode()) { in encode_picture_from_input_buffer()
219 const image_data* id = picbuf.peek_next_picture_to_encode(); in encode_picture_from_input_buffer()
246 imgdata = picbuf.get_next_picture_to_encode(); in encode_picture_from_input_buffer()
248 picbuf.mark_encoding_started(imgdata->frame_number); in encode_picture_from_input_buffer()
292 picbuf.set_reconstruction_image(imgdata->frame_number, img); in encode_picture_from_input_buffer()
310 picbuf.mark_encoding_finished(imgdata->frame_number); in encode_picture_from_input_buffer()
/dports/multimedia/camserv/camserv-0.5.1/camserv/
H A Dvideo_fbsd_bttv.c49 unsigned char *picbuf; /* Picture buffer */ member
176 res->picbuf = mmap( (caddr_t)0, in video_open()
180 if( res->picbuf == (unsigned char *) -1 ){ in video_open()
220 if( munmap( fbttv_dev->picbuf, FBTTV_MAX_WIDTH * FBTTV_MAX_HEIGHT * 3) == -1) in video_close()
611 int adjust_contrast( int width, int height, const char *picbuf, int mean, in adjust_contrast() argument
616 dev = camserv_get_pic_stddev( width, height, picbuf, 1, mean ); in adjust_contrast()
637 int adjust_bright( int width, int height, const char *picbuf, in adjust_bright() argument
645 totmean = camserv_get_pic_mean( width, height, picbuf, 1, 0, 0, in adjust_bright()
658 adjustcont = adjust_contrast( width, height, picbuf, totmean, in adjust_bright()
714 bgr2rgb( place_buffer, fbttv_dev->picbuf, in video_snap()
/dports/multimedia/camserv/camserv-0.5.1/relay/
H A Drelay.c67 char *picbuf; /* Actual picture data */ member
212 cldata->camdata.picbuf = NULL; in relay_connect_camserv()
284 cldata->camdata.picbuf = malloc( ntohl( cldata->camdata.picsize )); in read_camera()
285 if( cldata->camdata.picbuf == NULL ) { in read_camera()
290 databuf_buf_set( cldata->readbuf, cldata->camdata.picbuf, in read_camera()
297 if( manager_new_picture( cldata->camdata.picbuf, in read_camera()
301 free( cldata->camdata.picbuf ); in read_camera()
/dports/print/hp2xx/hp2xx-3.4.4/makes/
H A Damiga.mak20 OBJFILES = hp2xx.o std_main.o hpgl.o chardraw.o picbuf.o \
62 picbuf.o : picbuf.c bresnham.h hp2xx.h
63 $(COMPILER) $(CFLAGS) picbuf.c
H A Dborland.mak61 picbuf.obj \
90 picbuf.obj+
131 picbuf.obj: hp2xx.cfg picbuf.c

123