/third_party/ffmpeg/libavcodec/ |
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);
|
H A D | teeproto.c | 51 static int tee_write(URLContext *h, const unsigned char *buf, int size) in tee_write() argument 55 int main_ret = size; in tee_write() 58 int ret = ffurl_write(c->child[i].url_context, buf, size); in tee_write()
|
H A D | riff.h | 43 * Writes the size of the BMP file to *size. 46 int ff_get_bmp_header(AVIOContext *pb, AVStream *st, uint32_t *size); 65 * @return the size or -1 on error 70 int ff_get_wav_header(AVFormatContext *s, AVIOContext *pb, AVCodecParameters *par, int size, int big_endian); 83 int ff_read_riff_info(AVFormatContext *s, int64_t 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...] |
/third_party/gn/src/base/posix/ |
H A D | file_descriptor_shuffle.cc | 25 for (size_t i_index = 0; i_index < m->size(); ++i_index) { in PerformInjectiveMultimapDestructive() 30 for (size_t j_index = i_index + 1; j_index < m->size(); ++j_index) { in PerformInjectiveMultimapDestructive() 38 for (size_t j_index = i_index + 1; j_index < m->size(); ++j_index) { in PerformInjectiveMultimapDestructive()
|
/third_party/gn/src/base/strings/ |
H A D | stringprintf.cc | 23 // is the size of the buffer. These return the number of characters in the 41 // First try with a small fixed size buffer. in StringAppendVT() 42 // This buffer size should be kept in sync with StringUtilTest.GrowBoundary in StringAppendVT() 52 int result = vsnprintfT(stack_buf, std::size(stack_buf), format, ap_copy); in StringAppendVT() 55 if (result >= 0 && result < static_cast<int>(std::size(stack_buf))) { in StringAppendVT() 61 // Repeatedly increase buffer size until it fits. in StringAppendVT() 62 int mem_length = std::size(stack_buf); in StringAppendVT() 73 // Try doubling the buffer size. in StringAppendVT() 85 DLOG(WARNING) << "Unable to printf the requested string due to size."; in StringAppendVT()
|