/third_party/ffmpeg/libavcodec/ |
H A D | h264_mp4toannexb_bsf.c | 49 static void count_or_copy(uint8_t **out, uint64_t *out_size, in count_or_copy() argument 55 uint8_t start_code_size = ps < 0 ? 0 : *out_size == 0 || ps ? 4 : 3; in count_or_copy() 68 *out_size += start_code_size + in_size; in count_or_copy() 217 uint64_t out_size; in h264_mp4toannexb_filter() local 244 out_size = 0; in h264_mp4toannexb_filter() 246 old_out_size = out_size; in h264_mp4toannexb_filter() 279 count_or_copy(&out, &out_size, s->sps, s->sps_size, -1, j); in h264_mp4toannexb_filter() 281 h264_mp4toannexb_modify_encryption_info(in, out_size, old_out_size, j); in h264_mp4toannexb_filter() 282 old_out_size = out_size; in h264_mp4toannexb_filter() 298 count_or_copy(&out, &out_size, ct in h264_mp4toannexb_filter() [all...] |
H A D | truehd_core_bsf.c | 43 int in_size, out_size; in truehd_core_filter() local 96 out_size = end + 4 + last_offset; in truehd_core_filter() 97 if (out_size < in_size) { in truehd_core_filter() 114 out_size -= reduce; in truehd_core_filter() 115 pkt->size = out_size; in truehd_core_filter() 123 parity_nibble ^= out_size / 2; in truehd_core_filter() 152 auheader |= (out_size / 2) & 0x0fff; in truehd_core_filter()
|
H A D | ws-snd1.c | 60 int in_size, out_size, ret; in ws_snd_decode_frame() local 73 out_size = AV_RL16(&buf[0]); in ws_snd_decode_frame() 83 frame->nb_samples = out_size; in ws_snd_decode_frame() 87 samples_end = samples + out_size; in ws_snd_decode_frame() 89 if (in_size == out_size) { in ws_snd_decode_frame() 90 memcpy(samples, buf, out_size); in ws_snd_decode_frame()
|
H A D | dvbsub_parser.c | 50 int out_size = 0; in dvbsub_parse() local 129 out_size += len + 6; in dvbsub_parse() 153 if (out_size > 0) in dvbsub_parse() 156 *poutbuf_size = out_size; in dvbsub_parse()
|
H A D | rle.c | 53 int ff_rle_encode(uint8_t *outbuf, int out_size, const uint8_t *ptr, int bpp, in ff_rle_encode() argument 62 if (out + bpp + 1 > outbuf + out_size) in ff_rle_encode() 71 if (out + bpp * count >= outbuf + out_size) in ff_rle_encode()
|
H A D | mediacodecdec.c | 72 static int h2645_ps_to_nalu(const uint8_t *src, int src_size, uint8_t **out, int *out_size) in h2645_ps_to_nalu() argument 79 if (!out || !out_size) { in h2645_ps_to_nalu() 89 *out_size = sizeof(nalu_header) + src_size; in h2645_ps_to_nalu() 95 for (i = 4; i < *out_size; i++) { in h2645_ps_to_nalu() 96 if (i < *out_size - 3 && in h2645_ps_to_nalu() 102 *out_size += 1; in h2645_ps_to_nalu() 103 new = av_realloc(*out, *out_size); in h2645_ps_to_nalu() 111 memmove(p + i + 1, p + i, *out_size - (i + 1)); in h2645_ps_to_nalu() 118 *out_size = 0; in h2645_ps_to_nalu()
|
H A D | vp9_parser.c | 30 const uint8_t **out_data, int *out_size, in parse() 37 *out_size = size; in parse() 28 parse(AVCodecParserContext *ctx, AVCodecContext *avctx, const uint8_t **out_data, int *out_size, const uint8_t *data, int size) parse() argument
|
H A D | adxenc.c | 148 int ch, out_size, ret; in adx_encode_frame() local 166 out_size = BLOCK_SIZE * channels + !c->header_parsed * HEADER_SIZE; in adx_encode_frame() 167 if ((ret = ff_get_encode_buffer(avctx, avpkt, out_size, 0)) < 0) in adx_encode_frame()
|
/third_party/libwebsockets/lib/misc/ |
H A D | base64-decode.c | 53 char *out, int out_size) in _lws_b64_encode_string() 69 if (done + 4 >= out_size) in _lws_b64_encode_string() 82 if (done + 1 >= out_size) in _lws_b64_encode_string() 91 lws_b64_encode_string(const char *in, int in_len, char *out, int out_size) in lws_b64_encode_string() argument 93 return _lws_b64_encode_string(encode_orig, in, in_len, out, out_size); in lws_b64_encode_string() 97 lws_b64_encode_string_url(const char *in, int in_len, char *out, int out_size) in lws_b64_encode_string_url() argument 99 return _lws_b64_encode_string(encode_url, in, in_len, out, out_size); in lws_b64_encode_string_url() 111 uint8_t *out, size_t *out_size, int final) in lws_b64_decode_stateful() 114 uint8_t *orig_out = out, *end_out = out + *out_size; in lws_b64_decode_stateful() 169 *out_size in lws_b64_decode_stateful() 52 _lws_b64_encode_string(const char *encode, const char *in, int in_len, char *out, int out_size) _lws_b64_encode_string() argument 110 lws_b64_decode_stateful(struct lws_b64state *s, const char *in, size_t *in_len, uint8_t *out, size_t *out_size, int final) lws_b64_decode_stateful() argument 184 _lws_b64_decode_string(const char *in, int in_len, char *out, size_t out_size) _lws_b64_decode_string() argument 202 lws_b64_decode_string(const char *in, char *out, int out_size) lws_b64_decode_string() argument 208 lws_b64_decode_string_len(const char *in, int in_len, char *out, int out_size) lws_b64_decode_string_len() argument [all...] |
/third_party/libwebsockets/include/libwebsockets/ |
H A D | lws-sha1-base64.h | 52 * \param out_size: length of result buffer 57 lws_b64_encode_string(const char *in, int in_len, char *out, int out_size); 64 * \param out_size: length of result buffer 69 lws_b64_encode_string_url(const char *in, int in_len, char *out, int out_size); 75 * \param out_size: length of result buffer 80 lws_b64_decode_string(const char *in, char *out, int out_size); 87 * \param out_size: length of result buffer 92 lws_b64_decode_string_len(const char *in, int in_len, char *out, int out_size); 107 uint8_t *out, size_t *out_size, int final);
|
/third_party/ffmpeg/libavformat/ |
H A D | rtmphttp.c | 47 int out_size; ///< current output buffer size member 66 rt->out_size, 0); in rtmp_http_send_cmd() 73 rt->out_size = 0; in rtmp_http_send_cmd() 89 if (rt->out_size + size > rt->out_capacity) { in rtmp_http_write() 91 rt->out_capacity = (rt->out_size + size) * 2; in rtmp_http_write() 93 rt->out_size = 0; in rtmp_http_write() 99 memcpy(rt->out_data + rt->out_size, buf, size); in rtmp_http_write() 100 rt->out_size += size; in rtmp_http_write() 126 if (rt->out_size > 0) { in rtmp_http_read() 172 rt->out_size in rtmp_http_close() [all...] |
H A D | data_uri.c | 75 size_t out_size = 3 * (in_size / 4) + 1; in data_open() local 77 if (out_size > INT_MAX || !(ddata = av_malloc(out_size))) in data_open() 79 if ((ret = av_base64_decode(ddata, data, out_size)) < 0) { in data_open()
|
H A D | xa.c | 39 uint32_t out_size; member 79 xa->out_size = avio_rl32(pb); in xa_read_header() 108 if (xa->sent_bytes >= xa->out_size) in xa_read_packet()
|
H A D | westwood_aud.c | 151 int out_size = AV_RL16(&preamble[2]); in wsaud_read_packet() local 156 AV_WL16(&pkt->data[0], out_size); in wsaud_read_packet() 159 pkt->duration = out_size; in wsaud_read_packet()
|
H A D | crypto.c | 332 int total_size, blocks, pad_len, out_size; in crypto_write() local 337 out_size = total_size - pad_len; in crypto_write() 338 blocks = out_size / BLOCKSIZE; in crypto_write() 340 if (out_size) { in crypto_write() 341 av_fast_malloc(&c->write_buf, &c->write_buf_size, out_size); in crypto_write() 357 ret = ffurl_write(c->hd, c->write_buf, out_size); in crypto_write()
|
/third_party/skia/third_party/externals/libwebp/imageio/ |
H A D | pnmdec.c | 50 char out[MAX_LINE_SIZE + 1], size_t* const out_size) { in ReadLine() 52 *out_size = 0; in ReadLine() 63 *out_size = i; in ReadLine() 75 size_t out_size; in ReadPAMFields() local 80 off = ReadLine(info->data, off, info->data_size, out, &out_size); in ReadPAMFields() 115 if (out_size > 20) sprintf(out + 20 - strlen(kEllipsis), kEllipsis); in ReadPAMFields() 143 size_t out_size; in ReadHeader() local 154 off = ReadLine(info->data, off, info->data_size, out, &out_size); in ReadHeader() 159 off = ReadLine(info->data, off, info->data_size, out, &out_size); in ReadHeader() 163 off = ReadLine(info->data, off, info->data_size, out, &out_size); in ReadHeader() 49 ReadLine(const uint8_t* const data, size_t off, size_t data_size, char out[MAX_LINE_SIZE + 1], size_t* const out_size) ReadLine() argument [all...] |
/third_party/ffmpeg/libavformat/tests/ |
H A D | movenc.c | 55 int out_size; variable 101 out_size += size; in io_write() 126 // for header at out_size == 0 in io_write_data_type() 129 (type != AVIO_DATA_MARKER_HEADER || out_size == 0) && in io_write_data_type() 150 out_size = 0; in init_out() 159 printf(" %d %s\n", out_size, cur_name); in close_out() 494 check(out_size == 0, "delay_moov flushed prematurely"); in main() 499 check(out_size > 0, "delay_moov didn't output anything"); in main() 508 check(out_size > 0, "No moov written"); in main() 530 check(out_size > in main() [all...] |
/third_party/protobuf/src/google/protobuf/io/ |
H A D | zero_copy_stream_unittest.cc | 147 int out_size; in WriteToOutput() local 150 if (!output->Next(&out, &out_size)) { in WriteToOutput() 153 EXPECT_GT(out_size, 0); in WriteToOutput() 155 if (in_size <= out_size) { in WriteToOutput() 157 output->BackUp(out_size - in_size); in WriteToOutput() 161 memcpy(out, in, out_size); in WriteToOutput() 162 in += out_size; in WriteToOutput() 163 in_size -= out_size; in WriteToOutput() 171 int out_size = size; in ReadFromInput() local 180 return size - out_size; in ReadFromInput() [all...] |
/third_party/ffmpeg/libavutil/ |
H A D | detection_bbox.c | 21 AVDetectionBBoxHeader *av_detection_bbox_alloc(uint32_t nb_bboxes, size_t *out_size) in av_detection_bbox_alloc() argument 45 if (out_size) in av_detection_bbox_alloc() 46 *out_size = size; in av_detection_bbox_alloc()
|
H A D | video_enc_params.c | 28 unsigned int nb_blocks, size_t *out_size) in av_video_enc_params_alloc() 51 if (out_size) in av_video_enc_params_alloc() 52 *out_size = size; in av_video_enc_params_alloc() 27 av_video_enc_params_alloc(enum AVVideoEncParamsType type, unsigned int nb_blocks, size_t *out_size) av_video_enc_params_alloc() argument
|
H A D | base64.h | 37 * @param out_size size in bytes of the out buffer, must be at 42 int av_base64_decode(uint8_t *out, const char *in, int out_size); 54 * @param out_size size in bytes of the out buffer (including the 60 char *av_base64_encode(char *out, int out_size, const uint8_t *in, int in_size);
|
H A D | base64.c | 81 int av_base64_decode(uint8_t *out, const char *in_str, int out_size) in av_base64_decode() argument 93 end = out + out_size; in av_base64_decode() 147 char *av_base64_encode(char *out, int out_size, const uint8_t *in, int in_size) in av_base64_encode() argument 157 out_size < AV_BASE64_SIZE(in_size)) in av_base64_encode()
|
/third_party/mbedtls/include/mbedtls/ |
H A D | nist_kw.h | 126 * \param[in] out_size The capacity of the output buffer. 134 unsigned char *output, size_t *out_len, size_t out_size); 152 * \param[in] out_size The capacity of the output buffer. 161 unsigned char *output, size_t *out_len, size_t out_size);
|
/third_party/elfutils/libelf/ |
H A D | elf_compress.c | 96 size_t out_size = 2 * block; in __libelf_compress() local 97 void *out_buf = malloc (out_size); in __libelf_compress() 159 z.avail_out = out_size - used; in __libelf_compress() 167 used += (out_size - used) - z.avail_out; in __libelf_compress() 177 void *bigger = realloc (out_buf, out_size + block); in __libelf_compress() 184 out_size += block; in __libelf_compress()
|
/third_party/skia/third_party/externals/freetype/src/lzw/ |
H A D | ftzopen.c | 263 FT_ULong out_size ) in FT_LOCAL_DEF() 272 if ( out_size == 0 ) in FT_LOCAL_DEF() 313 if ( ++result >= out_size ) in FT_LOCAL_DEF() 387 if ( ++result == out_size ) in FT_LOCAL_DEF()
|