Home
last modified time | relevance | path

Searched refs:scratchbuf (Results 1 – 12 of 12) sorted by relevance

/third_party/ffmpeg/libavcodec/
Delbg.c58 int *scratchbuf; member
142 elbg->scratchbuf + 3*dim, in simple_lbg()
143 elbg->scratchbuf + 4*dim in simple_lbg()
271 elbg->scratchbuf, in try_shift_candidate()
272 elbg->scratchbuf + elbg->dim, in try_shift_candidate()
273 elbg->scratchbuf + 2*elbg->dim in try_shift_candidate()
394 elbg->scratchbuf = av_malloc_array(5*dim, sizeof(int)); in avpriv_do_elbg()
397 !elbg->utility || !elbg->utility_inc || !elbg->scratchbuf) { in avpriv_do_elbg()
461 av_free(elbg->scratchbuf); in avpriv_do_elbg()
Dsvq1enc.c258 uint8_t *src = s->scratchbuf + stride * 32; in svq1_encode_plane()
373 uint8_t *temp = s->scratchbuf; in svq1_encode_plane()
503 av_freep(&s->scratchbuf); in svq1_encode_end()
604 if (!s->scratchbuf) { in svq1_encode_frame()
605 s->scratchbuf = av_malloc_array(s->current_picture->linesize[0], 16 * 3); in svq1_encode_frame()
606 if (!s->scratchbuf) in svq1_encode_frame()
646 av_freep(&s->scratchbuf); in svq1_encode_frame()
Dsvq1enc.h75 uint8_t *scratchbuf; member
Dsnow.c526 if(!s->scratchbuf) { in ff_snow_common_init_after_header()
531 …if (!FF_ALLOCZ_TYPED_ARRAY(s->scratchbuf, FFMAX(s->mconly_picture->linesize[0], 2*avctx->widt… in ff_snow_common_init_after_header()
716 av_freep(&s->scratchbuf); in ff_snow_common_end()
Dsnow.h185 uint8_t *scratchbuf; member
293 uint8_t *tmp = s->scratchbuf; in add_yblock()
Dsnowenc.c619 uint8_t *cur = s->scratchbuf; in get_block_rd()
/third_party/gettext/gettext-tools/src/
Dpo-lex.c413 unsigned char scratchbuf[64]; in mbfile_getc() local
416 char *outptr = (char *) &scratchbuf[0]; in mbfile_getc()
417 size_t outsize = sizeof (scratchbuf); in mbfile_getc()
424 if ((insize < mbf->bufcount) != (outsize < sizeof (scratchbuf))) in mbfile_getc()
426 if (outsize == sizeof (scratchbuf)) in mbfile_getc()
491 size_t outbytes = sizeof (scratchbuf) - outsize; in mbfile_getc()
500 if (u8_mbtoucr (&mbc->uc, scratchbuf, outbytes) < (int) outbytes) in mbfile_getc()
Dx-csharp.c246 unsigned char scratchbuf[6]; in phase2_getc() local
249 char *outptr = (char *) &scratchbuf[0]; in phase2_getc()
250 size_t outsize = sizeof (scratchbuf); in phase2_getc()
257 if ((insize < bufcount) != (outsize < sizeof (scratchbuf))) in phase2_getc()
259 if (outsize == sizeof (scratchbuf)) in phase2_getc()
320 size_t outbytes = sizeof (scratchbuf) - outsize; in phase2_getc()
333 if (u8_mbtoucr (&uc, scratchbuf, outbytes) < (int) outbytes) in phase2_getc()
Dx-python.c302 unsigned char scratchbuf[6]; in phase2_getc() local
305 char *outptr = (char *) &scratchbuf[0]; in phase2_getc()
306 size_t outsize = sizeof (scratchbuf); in phase2_getc()
313 if ((insize < bufcount) != (outsize < sizeof (scratchbuf))) in phase2_getc()
315 if (outsize == sizeof (scratchbuf)) in phase2_getc()
358 size_t outbytes = sizeof (scratchbuf) - outsize; in phase2_getc()
371 if (u8_mbtoucr (&uc, scratchbuf, outbytes) < (int) outbytes) in phase2_getc()
Dx-javascript.c260 unsigned char scratchbuf[6]; in phase2_getc() local
263 char *outptr = (char *) &scratchbuf[0]; in phase2_getc()
264 size_t outsize = sizeof (scratchbuf); in phase2_getc()
271 if ((insize < bufcount) != (outsize < sizeof (scratchbuf))) in phase2_getc()
273 if (outsize == sizeof (scratchbuf)) in phase2_getc()
334 size_t outbytes = sizeof (scratchbuf) - outsize; in phase2_getc()
347 if (u8_mbtoucr (&uc, scratchbuf, outbytes) < (int) outbytes) in phase2_getc()
Dwrite-po.c787 char scratchbuf[64]; in wrap() local
790 char *outptr = &scratchbuf[0]; in wrap()
791 size_t outsize = sizeof (scratchbuf); in wrap()
924 char scratchbuf[64]; in wrap() local
927 char *outptr = &scratchbuf[0]; in wrap()
928 size_t outsize = sizeof (scratchbuf); in wrap()
/third_party/nghttp2/tests/
Dnghttp2_session_test.c79 nghttp2_buf scratchbuf; member
605 nghttp2_buf *buf = &my_data->scratchbuf; in on_extension_chunk_recv_callback()
632 nghttp2_buf *buf = &my_data->scratchbuf; in unpack_extension_callback()
2255 nghttp2_buf_init2(&ud.scratchbuf, 4096, mem); in test_nghttp2_session_recv_extension()
2272 CU_ASSERT(0 == memcmp(data, ud.scratchbuf.pos, sizeof(data))); in test_nghttp2_session_recv_extension()
2277 nghttp2_buf_reset(&ud.scratchbuf); in test_nghttp2_session_recv_extension()
2293 nghttp2_buf_reset(&ud.scratchbuf); in test_nghttp2_session_recv_extension()
2309 nghttp2_buf_free(&ud.scratchbuf, mem); in test_nghttp2_session_recv_extension()
6198 nghttp2_buf_init2(&ud.scratchbuf, 4096, mem); in test_nghttp2_submit_extension()
6202 ud.scratchbuf.last = nghttp2_cpymem(ud.scratchbuf.last, data, sizeof(data)); in test_nghttp2_submit_extension()
[all …]