Searched refs:buf_size (Results 51 - 75 of 414) sorted by relevance

1234567891011>>

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/include/libavutil/
H A Dfifo.h62 * @param buf_size number of bytes to read
64 int av_fifo_read(AVFifoBuffer *f, uint8_t *buf, int buf_size);
69 * @param buf_size number of bytes to read
73 int av_fifo_generic_read(AVFifoBuffer *f, int buf_size, void (*func)(void*, void*, int), void* dest);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavcodec/
H A Ddvbsub_parser.c52 const uint8_t *buf, int buf_size)
66 for (i=0; i < buf_size; i++)
96 if (buf_size < 2 || buf[0] != 0x20 || buf[1] != 0x00) {
123 if (buf_size - buf_pos + pc->packet_index > PARSE_BUF_SIZE)
128 return buf_size;
130 memcpy(pc->packet_buf + pc->packet_index, buf + buf_pos, buf_size - buf_pos);
131 pc->packet_index += buf_size - buf_pos;
181 return buf_size;
49 dvbsub_parse(AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size) argument
H A Dfraps.c128 * @param buf_size size of input data frame
133 const uint8_t *buf, int buf_size)
168 if ( (buf_size != avctx->width*avctx->height*3/2+header_size) &&
169 (buf_size != header_size) ) {
172 buf_size, avctx->width*avctx->height*3/2+header_size);
217 if ( (buf_size != avctx->width*avctx->height*3+header_size) &&
218 (buf_size != header_size) ) {
221 buf_size, avctx->width*avctx->height*3+header_size);
262 if(buf_size == 8) {
269 if ((AV_RL32(buf) != FPS_TAG)||(buf_size < (plane
131 decode_frame(AVCodecContext *avctx, void *data, int *data_size, const uint8_t *buf, int buf_size) argument
[all...]
H A Dmsrle.c66 const uint8_t *buf, int buf_size)
71 s->size = buf_size;
87 ff_msrle_decode(avctx, (AVPicture*)&s->frame, avctx->bits_per_coded_sample, buf, buf_size); local
93 return buf_size;
64 msrle_decode_frame(AVCodecContext *avctx, void *data, int *data_size, const uint8_t *buf, int buf_size) argument
H A Drtjpeg.h41 const uint8_t *buf, int buf_size);
H A Dbitstream_filter.c61 const uint8_t *buf, int buf_size, int keyframe){
63 *poutbuf_size= buf_size;
64 return bsfc->filter->filter(bsfc, avctx, args, poutbuf, poutbuf_size, buf, buf_size, keyframe);
58 av_bitstream_filter_filter(AVBitStreamFilterContext *bsfc, AVCodecContext *avctx, const char *args, uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size, int keyframe) argument
H A Dmpeg4audio.c49 int ff_mpeg4audio_get_config(MPEG4AudioConfig *c, const uint8_t *buf, int buf_size) argument
54 init_get_bits(&gb, buf, buf_size*8);
70 int bits_left = buf_size*8 - specific_config_bitindex;
H A Dlibschroedingerdec.c70 int buf_size; member in struct:FfmpegSchroParseUnitContext
78 const uint8_t *buf, int buf_size)
81 parse_ctx->buf_size = buf_size;
90 if (parse_ctx->buf_size < 13 ||
106 if (next_pu_offset <= 0 || parse_ctx->buf_size < next_pu_offset)
116 parse_ctx->buf_size -= next_pu_offset;
210 const uint8_t *buf, int buf_size)
226 FfmpegSchroParseContextInit (&parse_ctx, buf, buf_size);
227 if (buf_size
77 FfmpegSchroParseContextInit(FfmpegSchroParseUnitContext *parse_ctx, const uint8_t *buf, int buf_size) argument
208 libschroedinger_decode_frame(AVCodecContext *avccontext, void *data, int *data_size, const uint8_t *buf, int buf_size) argument
[all...]
H A Dmpegaudio_parser.c94 const uint8_t *buf, int buf_size)
104 while (buf_size > 0) {
117 len = FFMIN(MPA_HEADER_SIZE - len, buf_size);
121 buf_size -= len;
164 if (len > buf_size)
165 len = buf_size;
190 buf_size -= len;
210 buf_size -= len;
217 len = FFMIN(s->frame_size - len, buf_size);
221 buf_size
91 mpegaudio_parse(AVCodecParserContext *s1, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size) argument
[all...]
H A Dnellymoserdec.c155 const uint8_t * buf, int buf_size) {
162 if (buf_size < avctx->block_align)
163 return buf_size;
165 switch (buf_size) {
175 av_log(avctx, AV_LOG_DEBUG, "Tag size %d.\n", buf_size);
176 return buf_size;
185 return buf_size;
153 decode_tag(AVCodecContext * avctx, void *data, int *data_size, const uint8_t * buf, int buf_size) argument
H A Daudioconvert.c63 void avcodec_sample_fmt_string (char *buf, int buf_size, int sample_fmt) argument
67 snprintf (buf, buf_size, "name " " depth");
70 snprintf (buf, buf_size, "%-6s" " %2d ", info.name, info.bits);
121 void avcodec_get_channel_layout_string(char *buf, int buf_size, int nb_channels, int64_t channel_layout) argument
131 av_strlcpy(buf, channel_layout_map[i].name, buf_size);
135 snprintf(buf, buf_size, "%d channels", nb_channels);
138 av_strlcat(buf, " (", buf_size);
143 if (ch>0) av_strlcat(buf, "|", buf_size);
144 av_strlcat(buf, name, buf_size);
149 av_strlcat(buf, ")", buf_size);
[all...]
H A Dlibdiracdec.c80 const uint8_t *buf, int buf_size)
91 if (buf_size>0) {
93 dirac_buffer (p_dirac_params->p_decoder, buf, buf+buf_size);
103 return buf_size;
163 return buf_size;
173 return buf_size;
78 libdirac_decode_frame(AVCodecContext *avccontext, void *data, int *data_size, const uint8_t *buf, int buf_size) argument
H A Dbmpenc.c35 static int bmp_encode_frame(AVCodecContext *avctx, unsigned char *buf, int buf_size, void *data){ argument
54 if(n_bytes>buf_size) {
55 av_log(avctx, AV_LOG_ERROR, "buf size too small (need %d, got %d)\n", n_bytes, buf_size);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/s390/cio/
H A Dcio_debug.h28 length -= cio_debug_trace_id->buf_size;
29 data += cio_debug_trace_id->buf_size;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/libexif-0.6.19/libexif/pentax/
H A Dexif-mnote-data-pentax.c74 * @param buf_size the final size of the buffer
78 unsigned char **buf, unsigned int *buf_size)
87 if (!n || !buf || !buf_size) return;
93 *buf_size = o2 + 2 + n->count * 12 + 4;
97 *buf = exif_mem_alloc (ne->mem, *buf_size);
99 EXIF_LOG_NO_MEMORY(ne->log, "ExifMnoteDataPentax", *buf_size);
110 *buf = exif_mem_alloc (ne->mem, *buf_size);
112 EXIF_LOG_NO_MEMORY(ne->log, "ExifMnoteDataPentax", *buf_size);
126 *buf = exif_mem_alloc (ne->mem, *buf_size);
128 EXIF_LOG_NO_MEMORY(ne->log, "ExifMnoteDataPentax", *buf_size);
77 exif_mnote_data_pentax_save(ExifMnoteData *ne, unsigned char **buf, unsigned int *buf_size) argument
214 exif_mnote_data_pentax_load(ExifMnoteData *en, const unsigned char *buf, unsigned int buf_size) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ieee1394/
H A Dvideo1394.h44 unsigned int buf_size; member in struct:video1394_mmap
57 buf_size / packet_size */
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/libgrep/
H A Dlibgrep.h39 const char *buf, size_t buf_size,
H A Dm-common.h46 check_multibyte_string (const char *buf, size_t buf_size);
H A Dm-fgrep.c70 Fexecute (const void *compiled_pattern, const char *buf, size_t buf_size, argument
81 mb_properties = check_multibyte_string (buf, buf_size);
84 for (beg = buf; beg <= buf + buf_size; ++beg)
87 kwsexec (ckwset->kwset, beg, buf + buf_size - beg, &kwsmatch);
115 if (beg + len < buf + buf_size && beg[len] != eol)
124 if (curr + len < buf + buf_size
153 end = (const char *) memchr (beg + len, eol, (buf + buf_size) - (beg + len));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/libexif-0.6.19/libexif/fuji/
H A Dexif-mnote-data-fuji.c78 unsigned int *buf_size)
85 if (!n || !buf || !buf_size) return;
91 *buf_size = 8 + 4 + 2 + n->count * 12 + 4;
92 *buf = exif_mem_alloc (ne->mem, *buf_size);
94 *buf_size = 0;
124 ts = *buf_size + s;
133 *buf_size = ts;
134 doff = *buf_size - s;
135 if (s & 1) { doff--; *(*buf + *buf_size - 1) = '\0'; }
151 const unsigned char *buf, unsigned int buf_size)
77 exif_mnote_data_fuji_save(ExifMnoteData *ne, unsigned char **buf, unsigned int *buf_size) argument
150 exif_mnote_data_fuji_load(ExifMnoteData *en, const unsigned char *buf, unsigned int buf_size) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/libexif-0.6.19/libexif/olympus/
H A Dexif-mnote-data-olympus.c89 * @param buf_size the size of the buffer
93 unsigned char **buf, unsigned int *buf_size)
101 if (!n || !buf || !buf_size) return;
106 *buf_size = 6 + 2 + 2 + n->count * 12;
111 *buf = exif_mem_alloc (ne->mem, *buf_size);
113 EXIF_LOG_NO_MEMORY(ne->log, "ExifMnoteDataOlympus", *buf_size);
124 *buf_size += 8-6 + 4;
125 *buf = exif_mem_alloc (ne->mem, *buf_size);
127 EXIF_LOG_NO_MEMORY(ne->log, "ExifMnoteDataOlympus", *buf_size);
146 *buf_size
92 exif_mnote_data_olympus_save(ExifMnoteData *ne, unsigned char **buf, unsigned int *buf_size) argument
226 exif_mnote_data_olympus_load(ExifMnoteData *en, const unsigned char *buf, unsigned int buf_size) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavformat/
H A Davio.h89 void url_get_filename(URLContext *h, char *buf, int buf_size);
183 int (*read_packet)(void *opaque, uint8_t *buf, int buf_size);
184 int (*write_packet)(void *opaque, uint8_t *buf, int buf_size);
206 int (*read_packet)(void *opaque, uint8_t *buf, int buf_size),
207 int (*write_packet)(void *opaque, uint8_t *buf, int buf_size),
214 int (*read_packet)(void *opaque, uint8_t *buf, int buf_size),
215 int (*write_packet)(void *opaque, uint8_t *buf, int buf_size),
281 char *url_fgets(ByteIOContext *s, char *buf, int buf_size);
326 int url_setbufsize(ByteIOContext *s, int buf_size);
349 int url_open_buf(ByteIOContext **s, uint8_t *buf, int buf_size, in
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/include/libavformat/
H A Davio.h89 void url_get_filename(URLContext *h, char *buf, int buf_size);
183 int (*read_packet)(void *opaque, uint8_t *buf, int buf_size);
184 int (*write_packet)(void *opaque, uint8_t *buf, int buf_size);
206 int (*read_packet)(void *opaque, uint8_t *buf, int buf_size),
207 int (*write_packet)(void *opaque, uint8_t *buf, int buf_size),
214 int (*read_packet)(void *opaque, uint8_t *buf, int buf_size),
215 int (*write_packet)(void *opaque, uint8_t *buf, int buf_size),
281 char *url_fgets(ByteIOContext *s, char *buf, int buf_size);
326 int url_setbufsize(ByteIOContext *s, int buf_size);
349 int url_open_buf(ByteIOContext **s, uint8_t *buf, int buf_size, in
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/video/ivtv/
H A Divtv-queue.c29 if (s->buf_size - buf->bytesused < copybytes)
30 copybytes = s->buf_size - buf->bytesused;
67 q->length += s->buf_size;
82 q->length -= s->buf_size;
96 from->length -= s->buf_size;
104 buf->bytesused = s->buf_size;
108 to->length += s->buf_size;
196 s->name, s->buffers, s->buf_size, s->buffers * s->buf_size / 1024);
228 buf->buf = kmalloc(s->buf_size
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/libexif-0.6.19/test/
H A Dtest-mnote.c74 unsigned int buf_size; local
95 exif_data_save_data (d, &buf, &buf_size);
97 d = exif_data_new_from_data (buf, buf_size);

Completed in 404 milliseconds

1234567891011>>