Home
last modified time | relevance | path

Searched refs:poutbuf (Results 1 – 25 of 481) sorted by relevance

12345678910>>...20

/dports/net/netwib/netwib-5.38.0-src/src/netwib/dat/
H A Dbufenc.c63 poutbuf->endoffset += dataoutsize; in netwib_priv_buf_encode_data_wrap()
98 poutbuf->endoffset += dataoutsize; in netwib_priv_buf_encode_hexa0()
165 poutbuf->endoffset += dataoutsize; in netwib_priv_buf_encode_hexa_wrap()
209 poutbuf->endoffset += dataoutsize; in netwib_priv_buf_encode_hexa1()
265 poutbuf->endoffset += dataoutsize; in netwib_priv_buf_encode_hexa24()
350 poutbuf->endoffset += dataoutsize; in netwib_priv_buf_encode_mixed()
432 poutbuf->endoffset += dataoutsize; in netwib_priv_buf_encode_mixed_wrap()
528 poutbuf->endoffset += dataoutsize; in netwib_priv_buf_encode_mixedh_wrap()
563 poutbuf->endoffset += dataoutsize; in netwib_priv_buf_encode_text()
592 poutbuf->endoffset += datainsize; in netwib_priv_buf_encode_lowercase()
[all …]
/dports/sysutils/xvidcap/xvidcap-1.1.7/ffmpeg/libavcodec/
H A Dh264_mp4toannexb_bsf.c30 static void alloc_and_copy(uint8_t **poutbuf, int *poutbuf_size, in alloc_and_copy() argument
37 *poutbuf = av_realloc(*poutbuf, *poutbuf_size); in alloc_and_copy()
39 memcpy(*poutbuf+offset, sps_pps, sps_pps_size); in alloc_and_copy()
40 memcpy(*poutbuf+sps_pps_size+nal_header_size+offset, in, in_size); in alloc_and_copy()
42 AV_WB32(*poutbuf+sps_pps_size, 1); in alloc_and_copy()
44 (*poutbuf+offset+sps_pps_size)[0] = (*poutbuf+offset+sps_pps_size)[1] = 0; in alloc_and_copy()
45 (*poutbuf+offset+sps_pps_size)[2] = 1; in alloc_and_copy()
60 *poutbuf = (uint8_t*) buf; in h264_mp4toannexb_filter()
108 *poutbuf = NULL; in h264_mp4toannexb_filter()
122 alloc_and_copy(poutbuf, poutbuf_size, in h264_mp4toannexb_filter()
[all …]
H A Dmp3_header_compress_bsf.c26 uint8_t **poutbuf, int *poutbuf_size, in mp3_header_compress() argument
41 *poutbuf= (uint8_t *) buf; in mp3_header_compress()
65 *poutbuf= av_malloc(buf_size - header_size + FF_INPUT_BUFFER_PADDING_SIZE); in mp3_header_compress()
66 memcpy(*poutbuf, buf + header_size, buf_size - header_size + FF_INPUT_BUFFER_PADDING_SIZE); in mp3_header_compress()
70 (*poutbuf)[1] &= 0x3F; in mp3_header_compress()
71 (*poutbuf)[1] |= mode_extension<<6; in mp3_header_compress()
72 FFSWAP(int, (*poutbuf)[1], (*poutbuf)[2]); in mp3_header_compress()
74 (*poutbuf)[1] &= 0x8F; in mp3_header_compress()
75 (*poutbuf)[1] |= mode_extension<<4; in mp3_header_compress()
H A Dmovsub_bsf.c25 uint8_t **poutbuf, int *poutbuf_size, in text2movsub() argument
29 *poutbuf = av_malloc(*poutbuf_size + FF_INPUT_BUFFER_PADDING_SIZE); in text2movsub()
30 AV_WB16(*poutbuf, buf_size); in text2movsub()
31 memcpy(*poutbuf + 2, buf, buf_size); in text2movsub()
42 uint8_t **poutbuf, int *poutbuf_size, in mov2textsub() argument
46 *poutbuf = av_malloc(*poutbuf_size + FF_INPUT_BUFFER_PADDING_SIZE); in mov2textsub()
47 memcpy(*poutbuf, buf + 2, *poutbuf_size); in mov2textsub()
H A Dmjpega_dump_header_bsf.c34 uint8_t **poutbuf, int *poutbuf_size, in mjpega_dump_header() argument
46 *poutbuf = av_malloc(buf_size + 44 + FF_INPUT_BUFFER_PADDING_SIZE); in mjpega_dump_header()
47 poutbufp = *poutbuf; in mjpega_dump_header()
71 *poutbuf_size = poutbufp - *poutbuf; in mjpega_dump_header()
76 memcpy(*poutbuf, buf, buf_size); in mjpega_dump_header()
83 av_freep(poutbuf); in mjpega_dump_header()
H A Dnoise_bsf.c25 uint8_t **poutbuf, int *poutbuf_size, in noise() argument
31 *poutbuf= av_malloc(buf_size + FF_INPUT_BUFFER_PADDING_SIZE); in noise()
33 memcpy(*poutbuf, buf, buf_size + FF_INPUT_BUFFER_PADDING_SIZE); in noise()
35 (*state) += (*poutbuf)[i] + 1; in noise()
37 (*poutbuf)[i] = *state; in noise()
H A Dmp3_header_decompress_bsf.c27 uint8_t **poutbuf, int *poutbuf_size, in mp3_header_decompress() argument
36 *poutbuf= (uint8_t *) buf; in mp3_header_decompress()
72 *poutbuf= av_malloc(frame_size + FF_INPUT_BUFFER_PADDING_SIZE); in mp3_header_decompress()
73 memcpy(*poutbuf + frame_size - buf_size, buf, buf_size + FF_INPUT_BUFFER_PADDING_SIZE); in mp3_header_decompress()
76 uint8_t *p= *poutbuf + frame_size - buf_size; in mp3_header_decompress()
87 AV_WB32(*poutbuf, header); in mp3_header_decompress()
H A Dimx_dump_header_bsf.c33 uint8_t **poutbuf, int *poutbuf_size, in imx_dump_header() argument
45 *poutbuf = av_malloc(buf_size + 20 + FF_INPUT_BUFFER_PADDING_SIZE); in imx_dump_header()
46 poutbufp = *poutbuf; in imx_dump_header()
51 *poutbuf_size = poutbufp - *poutbuf; in imx_dump_header()
H A Ddump_extradata_bsf.c25 uint8_t **poutbuf, int *poutbuf_size, in dump_extradata() argument
36 *poutbuf= av_malloc(size + FF_INPUT_BUFFER_PADDING_SIZE); in dump_extradata()
38 memcpy(*poutbuf, avctx->extradata, avctx->extradata_size); in dump_extradata()
39 … memcpy((*poutbuf) + avctx->extradata_size, buf, buf_size + FF_INPUT_BUFFER_PADDING_SIZE); in dump_extradata()
/dports/emulators/vice/vice-3.5/src/lib/libffmpeg/libavcodec/
H A Dh264_mp4toannexb_bsf.c44 if ((err = av_reallocp(poutbuf, in alloc_and_copy()
50 memcpy(*poutbuf + offset, sps_pps, sps_pps_size); in alloc_and_copy()
53 AV_WB32(*poutbuf + sps_pps_size, 1); in alloc_and_copy()
55 (*poutbuf + offset + sps_pps_size)[0] = in alloc_and_copy()
56 (*poutbuf + offset + sps_pps_size)[1] = 0; in alloc_and_copy()
57 (*poutbuf + offset + sps_pps_size)[2] = 1; in alloc_and_copy()
147 *poutbuf = (uint8_t *)buf; in h264_mp4toannexb_filter()
164 *poutbuf = NULL; in h264_mp4toannexb_filter()
190 if ((ret=alloc_and_copy(poutbuf, poutbuf_size, in h264_mp4toannexb_filter()
196 if ((ret=alloc_and_copy(poutbuf, poutbuf_size, in h264_mp4toannexb_filter()
[all …]
H A Dmovsub_bsf.c27 uint8_t **poutbuf, int *poutbuf_size, in text2movsub() argument
31 *poutbuf = av_malloc(*poutbuf_size + FF_INPUT_BUFFER_PADDING_SIZE); in text2movsub()
32 AV_WB16(*poutbuf, buf_size); in text2movsub()
33 memcpy(*poutbuf + 2, buf, buf_size); in text2movsub()
43 uint8_t **poutbuf, int *poutbuf_size, in mov2textsub() argument
47 *poutbuf = av_malloc(*poutbuf_size + FF_INPUT_BUFFER_PADDING_SIZE); in mov2textsub()
48 memcpy(*poutbuf, buf + 2, *poutbuf_size); in mov2textsub()
H A Dnoise_bsf.c29 uint8_t **poutbuf, int *poutbuf_size, in noise() argument
38 *poutbuf= av_malloc(buf_size + FF_INPUT_BUFFER_PADDING_SIZE); in noise()
39 if (!*poutbuf) in noise()
42 memcpy(*poutbuf, buf, buf_size + FF_INPUT_BUFFER_PADDING_SIZE); in noise()
44 (*state) += (*poutbuf)[i] + 1; in noise()
46 (*poutbuf)[i] = *state; in noise()
H A Dmjpega_dump_header_bsf.c34 uint8_t **poutbuf, int *poutbuf_size, in mjpega_dump_header() argument
47 *poutbuf = av_malloc(buf_size + 44 + FF_INPUT_BUFFER_PADDING_SIZE); in mjpega_dump_header()
48 poutbufp = *poutbuf; in mjpega_dump_header()
73 *poutbuf_size = poutbufp - *poutbuf; in mjpega_dump_header()
78 memcpy(*poutbuf, buf, buf_size); in mjpega_dump_header()
85 av_freep(poutbuf); in mjpega_dump_header()
H A Dmp3_header_decompress_bsf.c29 uint8_t **poutbuf, int *poutbuf_size, in mp3_header_decompress() argument
38 *poutbuf= (uint8_t *) buf; in mp3_header_decompress()
74 *poutbuf= av_malloc(frame_size + FF_INPUT_BUFFER_PADDING_SIZE); in mp3_header_decompress()
75 memcpy(*poutbuf + frame_size - buf_size, buf, buf_size + FF_INPUT_BUFFER_PADDING_SIZE); in mp3_header_decompress()
78 uint8_t *p= *poutbuf + frame_size - buf_size; in mp3_header_decompress()
89 AV_WB32(*poutbuf, header); in mp3_header_decompress()
H A Dimx_dump_header_bsf.c33 uint8_t **poutbuf, int *poutbuf_size, in imx_dump_header() argument
45 *poutbuf = av_malloc(buf_size + 20 + FF_INPUT_BUFFER_PADDING_SIZE); in imx_dump_header()
46 poutbufp = *poutbuf; in imx_dump_header()
51 *poutbuf_size = poutbufp - *poutbuf; in imx_dump_header()
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/lib/libffmpeg/libavcodec/
H A Dh264_mp4toannexb_bsf.c44 if ((err = av_reallocp(poutbuf, in alloc_and_copy()
50 memcpy(*poutbuf + offset, sps_pps, sps_pps_size); in alloc_and_copy()
53 AV_WB32(*poutbuf + sps_pps_size, 1); in alloc_and_copy()
55 (*poutbuf + offset + sps_pps_size)[0] = in alloc_and_copy()
56 (*poutbuf + offset + sps_pps_size)[1] = 0; in alloc_and_copy()
57 (*poutbuf + offset + sps_pps_size)[2] = 1; in alloc_and_copy()
147 *poutbuf = (uint8_t *)buf; in h264_mp4toannexb_filter()
164 *poutbuf = NULL; in h264_mp4toannexb_filter()
190 if ((ret=alloc_and_copy(poutbuf, poutbuf_size, in h264_mp4toannexb_filter()
196 if ((ret=alloc_and_copy(poutbuf, poutbuf_size, in h264_mp4toannexb_filter()
[all …]
H A Dmovsub_bsf.c27 uint8_t **poutbuf, int *poutbuf_size, in text2movsub() argument
31 *poutbuf = av_malloc(*poutbuf_size + FF_INPUT_BUFFER_PADDING_SIZE); in text2movsub()
32 AV_WB16(*poutbuf, buf_size); in text2movsub()
33 memcpy(*poutbuf + 2, buf, buf_size); in text2movsub()
43 uint8_t **poutbuf, int *poutbuf_size, in mov2textsub() argument
47 *poutbuf = av_malloc(*poutbuf_size + FF_INPUT_BUFFER_PADDING_SIZE); in mov2textsub()
48 memcpy(*poutbuf, buf + 2, *poutbuf_size); in mov2textsub()
H A Dnoise_bsf.c29 uint8_t **poutbuf, int *poutbuf_size, in noise() argument
38 *poutbuf= av_malloc(buf_size + FF_INPUT_BUFFER_PADDING_SIZE); in noise()
39 if (!*poutbuf) in noise()
42 memcpy(*poutbuf, buf, buf_size + FF_INPUT_BUFFER_PADDING_SIZE); in noise()
44 (*state) += (*poutbuf)[i] + 1; in noise()
46 (*poutbuf)[i] = *state; in noise()
H A Dmjpega_dump_header_bsf.c34 uint8_t **poutbuf, int *poutbuf_size, in mjpega_dump_header() argument
47 *poutbuf = av_malloc(buf_size + 44 + FF_INPUT_BUFFER_PADDING_SIZE); in mjpega_dump_header()
48 poutbufp = *poutbuf; in mjpega_dump_header()
73 *poutbuf_size = poutbufp - *poutbuf; in mjpega_dump_header()
78 memcpy(*poutbuf, buf, buf_size); in mjpega_dump_header()
85 av_freep(poutbuf); in mjpega_dump_header()
H A Dmp3_header_decompress_bsf.c29 uint8_t **poutbuf, int *poutbuf_size, in mp3_header_decompress() argument
38 *poutbuf= (uint8_t *) buf; in mp3_header_decompress()
74 *poutbuf= av_malloc(frame_size + FF_INPUT_BUFFER_PADDING_SIZE); in mp3_header_decompress()
75 memcpy(*poutbuf + frame_size - buf_size, buf, buf_size + FF_INPUT_BUFFER_PADDING_SIZE); in mp3_header_decompress()
78 uint8_t *p= *poutbuf + frame_size - buf_size; in mp3_header_decompress()
89 AV_WB32(*poutbuf, header); in mp3_header_decompress()
H A Dimx_dump_header_bsf.c33 uint8_t **poutbuf, int *poutbuf_size, in imx_dump_header() argument
45 *poutbuf = av_malloc(buf_size + 20 + FF_INPUT_BUFFER_PADDING_SIZE); in imx_dump_header()
46 poutbufp = *poutbuf; in imx_dump_header()
51 *poutbuf_size = poutbufp - *poutbuf; in imx_dump_header()
/dports/net/netwib/netwib-5.38.0-src/src/netwib/sys/priv/
H A Dcmdline.c123 netwib_buf *poutbuf) in netwib_priv_cmdline_win() argument
147 netwib_er(netwib_buf_append_byte('"', poutbuf)); in netwib_priv_cmdline_win()
149 netwib_er(netwib_buf_append_string(filename, poutbuf)); in netwib_priv_cmdline_win()
151 netwib_er(netwib_buf_append_byte('"', poutbuf)); in netwib_priv_cmdline_win()
156 netwib_er(netwib_buf_append_byte(' ', poutbuf)); in netwib_priv_cmdline_win()
159 netwib_er(netwib_buf_append_byte('"', poutbuf)); in netwib_priv_cmdline_win()
161 netwib_er(netwib_buf_append_string(argv[i], poutbuf)); in netwib_priv_cmdline_win()
163 netwib_er(netwib_buf_append_byte('"', poutbuf)); in netwib_priv_cmdline_win()
/dports/multimedia/handbrake/ffmpeg-4.4/libavcodec/
H A Dmpegaudio_parser.c45 const uint8_t **poutbuf, int *poutbuf_size, in mpegaudio_parse() argument
102 *poutbuf = NULL; in mpegaudio_parse()
115 *poutbuf = NULL; in mpegaudio_parse()
121 *poutbuf = NULL; in mpegaudio_parse()
127 *poutbuf = NULL; in mpegaudio_parse()
132 *poutbuf = buf; in mpegaudio_parse()
/dports/multimedia/ffmpeg/ffmpeg-4.4.1/libavcodec/
H A Dmpegaudio_parser.c45 const uint8_t **poutbuf, int *poutbuf_size, in mpegaudio_parse() argument
102 *poutbuf = NULL; in mpegaudio_parse()
115 *poutbuf = NULL; in mpegaudio_parse()
121 *poutbuf = NULL; in mpegaudio_parse()
127 *poutbuf = NULL; in mpegaudio_parse()
132 *poutbuf = buf; in mpegaudio_parse()
/dports/multimedia/gstreamer1-libav/gst-libav-1.16.2/gst-libs/ext/libav/libavcodec/
H A Dmpegaudio_parser.c45 const uint8_t **poutbuf, int *poutbuf_size, in mpegaudio_parse() argument
102 *poutbuf = NULL; in mpegaudio_parse()
115 *poutbuf = NULL; in mpegaudio_parse()
121 *poutbuf = NULL; in mpegaudio_parse()
127 *poutbuf = NULL; in mpegaudio_parse()
132 *poutbuf = buf; in mpegaudio_parse()

12345678910>>...20