/third_party/ffmpeg/libavcodec/ |
H A D | av1_parse.c | 45 obu->size = obu_size; in ff_av1_extract_obu() 50 "obu_type: %d, temporal_id: %d, spatial_id: %d, payload size: %d\n", in ff_av1_extract_obu() 51 obu->type, obu->temporal_id, obu->spatial_id, obu->size); in ff_av1_extract_obu() 89 obu->size_bits = get_obu_bit_length(obu->data, obu->size, obu->type); in ff_av1_packet_split()
|
H A D | frwu.c | 51 const uint8_t *buf_end = buf + avpkt->size; in decode_frame() 53 if (avpkt->size < avctx->width * 2 * avctx->height + 4 + 2*8) { in decode_frame() 78 av_log(avctx, AV_LOG_ERROR, "Field size %i is too small (required %i)\n", field_size, min_field_size); in decode_frame() 102 return avpkt->size; in decode_frame()
|
H A D | avuidec.c | 63 if (avpkt->size < opaque_length) { in avui_decode_frame() 68 avpkt->size >= opaque_length * 2 + 4; in avui_decode_frame() 119 return avpkt->size; in avui_decode_frame()
|
H A D | avuienc.c | 56 int i, j, skip, ret, size, interlaced; in avui_encode_frame() local 65 size = 2 * avctx->width * (avctx->height + skip) + 8 * interlaced; in avui_encode_frame() 66 if ((ret = ff_get_encode_buffer(avctx, pkt, size, 0)) < 0) in avui_encode_frame()
|
H A D | m101.c | 31 avpriv_request_sample(avctx, "Missing or too small extradata (size %d)", avctx->extradata_size); in m101_decode_init() 66 if (stride < min_stride || avpkt->size < stride * (uint64_t)avctx->height) { in m101_decode_frame() 68 stride, avpkt->size); in m101_decode_frame() 105 return avpkt->size; in m101_decode_frame()
|
H A D | mlp_parse.c | 66 int size = 28; in mlp_get_major_sync_size() local 74 size += 2 + extensions * 2; in mlp_get_major_sync_size() 77 return size; in mlp_get_major_sync_size()
|
H A D | aliaspixdec.c | 40 bytestream2_init(&gb, avpkt->data, avpkt->size); in decode_frame() 43 av_log(avctx, AV_LOG_ERROR, "Header too small %d.\n", avpkt->size); in decode_frame() 121 return avpkt->size; in decode_frame()
|
H A D | acelp_filters.c | 138 void ff_tilt_compensation(float *mem, float tilt, float *samples, int size) in ff_tilt_compensation() argument 140 float new_tilt_mem = samples[size - 1]; in ff_tilt_compensation() 143 for (i = size - 1; i > 0; i--) in ff_tilt_compensation()
|
H A D | nvdec_mpeg4.c | 30 static int nvdec_mpeg4_start_frame(AVCodecContext *avctx, const uint8_t *buffer, uint32_t size) in nvdec_mpeg4_start_frame() argument 97 return ff_nvdec_simple_decode_slice(avctx, buffer, size); in nvdec_mpeg4_start_frame() 100 static int nvdec_mpeg4_decode_slice(AVCodecContext *avctx, const uint8_t *buffer, uint32_t size) in nvdec_mpeg4_decode_slice() argument
|
H A D | twinvq.h | 113 uint16_t size; ///< frame size in samples member 129 uint8_t ppc_shape_len; ///< size of PPC shape CB 185 static inline void twinvq_memset_float(float *buf, float val, int size) in twinvq_memset_float() argument 187 while (size--) in twinvq_memset_float()
|
H A D | v210x.c | 48 if (avpkt->size < avctx->width * avctx->height * 8 / 3) { in decode_frame() 53 if (avpkt->size > avctx->width * avctx->height * 8 / 3) { in decode_frame() 119 return avpkt->size; in decode_frame()
|
H A D | videotoolbox_vp9.c | 105 uint32_t size) in videotoolbox_vp9_start_frame() 112 uint32_t size) in videotoolbox_vp9_decode_slice() 116 return ff_videotoolbox_buffer_copy(vtctx, buffer, size); in videotoolbox_vp9_decode_slice() 103 videotoolbox_vp9_start_frame(AVCodecContext *avctx, const uint8_t *buffer, uint32_t size) videotoolbox_vp9_start_frame() argument 110 videotoolbox_vp9_decode_slice(AVCodecContext *avctx, const uint8_t *buffer, uint32_t size) videotoolbox_vp9_decode_slice() argument
|
H A D | textdec.c | 57 if (ptr && avpkt->size > 0 && *ptr) { in text_decode_frame() 58 ff_ass_bprint_text_event(&buf, ptr, avpkt->size, text->linebreaks, text->keep_ass_markup); in text_decode_frame() 65 return avpkt->size; in text_decode_frame()
|
/third_party/curl/tests/libtest/ |
H A D | lib1156.c | 76 static size_t writedata(char *data, size_t size, size_t nmemb, void *userdata) in writedata() argument 81 if(size && nmemb) in writedata() 83 return size * nmemb; in writedata()
|
H A D | lib554.c | 37 static size_t read_callback(char *ptr, size_t size, size_t nmemb, void *userp) in read_callback() argument 41 (void)size; in read_callback() 49 if(size*nmemb < 1) in read_callback() 163 /* Set the expected POST size */ in once()
|
/third_party/elfutils/libasm/ |
H A D | libasm.h | 109 /* Add zero terminated string STR of size LEN to (sub)section ASMSCN. */ 146 GElf_Xword size, int type, int binding); 151 GElf_Xword size, GElf_Addr align); 155 GElf_Xword size, GElf_Addr value,
|
/third_party/ffmpeg/libavdevice/ |
H A D | oss_dec.c | 78 ret = read(s->fd, pkt->data, pkt->size); in audio_read_packet() 81 pkt->size = 0; in audio_read_packet() 85 pkt->size = ret; in audio_read_packet()
|
/third_party/ffmpeg/libavfilter/ |
H A D | glslang.cpp | 208 res->size = spirv.size()*sizeof(unsigned int); in glslang_compile() 209 res->data = av_memdup(spirv.data(), res->size); in glslang_compile()
|
/third_party/ffmpeg/libavformat/ |
H A D | filmstripdec.c | 91 pkt->size = av_get_packet(s->pb, pkt, st->codecpar->width * st->codecpar->height * 4); in read_packet() 93 if (pkt->size < 0) in read_packet() 94 return pkt->size; in read_packet()
|
H A D | msf.c | 45 unsigned codec, size; in msf_read_header() local 61 size = avio_rb32(s->pb); in msf_read_header() 81 AV_WL16(st->codecpar->extradata+2, 2048 * st->codecpar->ch_layout.nb_channels); /* unknown size */ in msf_read_header() 92 st->duration = av_get_audio_frame_duration2(st->codecpar, size); in msf_read_header()
|
H A D | avio_internal.h | 70 * Original buffer size 71 * used after probing to ensure seekback and to reset the buffer size 76 * Written output size 98 * Read size bytes from AVIOContext, returning a pointer. 105 * @param size number of bytes requested 112 int ffio_read_indirect(AVIOContext *s, unsigned char *buf, int size, const unsigned char **data); 129 * @param buf_size The size of buf 138 * Read size bytes from AVIOContext into buf. 139 * Check that exactly size bytes have been read. 142 int ffio_read_size(AVIOContext *s, unsigned char *buf, int size); [all...] |
H A D | rtmppkt.h | 48 RTMP_PT_CHUNK_SIZE = 1, ///< chunk size change 51 RTMP_PT_WINDOW_ACK_SIZE, ///< window acknowledgement size 84 int size; ///< packet payload size member 96 * @param size packet size 100 int timestamp, int size); 114 * @param chunk_size current chunk size 128 * @param chunk_size current chunk size 144 * @param chunk_size current chunk size [all...] |
H A D | demux.h | 139 int64_t pos, int64_t timestamp, int size, int distance, int flags); 202 * @param buf if set, it contains the data and size information to be used 204 * @param size the size of the data to read if buf is unset. 210 AVBufferRef **buf, int size); 230 * @param size size of extradata 233 int ff_get_extradata(void *logctx, AVCodecParameters *par, AVIOContext *pb, int size);
|
/third_party/ffmpeg/libavutil/tests/ |
H A D | bprint.c | 26 static void bprint_pascal(AVBPrint *b, unsigned size) in bprint_pascal() argument 31 av_assert0(size < FF_ARRAY_ELEMS(p)); in bprint_pascal() 35 for (i = 1; i <= size; i++) { in bprint_pascal() 74 /* Note that the size of the automatic buffer is arch-dependent. */ in main()
|
/third_party/ffmpeg/libavutil/ |
H A D | avstring.h | 87 * Copy the string src to dst, but no more than size - 1 bytes, and 94 * @param size size of destination buffer 101 size_t av_strlcpy(char *dst, const char *src, size_t size); 105 * no more than size - 1 bytes, and null-terminate dst. 108 * size <= strlen(dst). 112 * @param size size of destination buffer 119 size_t av_strlcat(char *dst, const char *src, size_t size); 127 * @param size tota [all...] |