Searched refs:buf_size (Results 26 - 50 of 1000) sorted by relevance

1234567891011>>

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/
H A Dnoise_bsf.c26 const uint8_t *buf, int buf_size, int keyframe){
31 *poutbuf= av_malloc(buf_size + FF_INPUT_BUFFER_PADDING_SIZE);
33 memcpy(*poutbuf, buf, buf_size + FF_INPUT_BUFFER_PADDING_SIZE);
34 for(i=0; i<buf_size; i++){
24 noise(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 Dlatm_parser.c43 int buf_size)
55 for (i = 0; i < buf_size; i++) {
68 if (buf_size == 0)
70 if ((state & LATM_SIZE_MASK) - s->count <= buf_size) {
77 s->count += buf_size;
86 const uint8_t *buf, int buf_size)
93 next = buf_size;
95 next = latm_find_frame_end(s1, buf, buf_size);
97 if (ff_combine_frame(pc, next, &buf, &buf_size) < 0) {
100 return buf_size;
42 latm_find_frame_end(AVCodecParserContext *s1, const uint8_t *buf, int buf_size) argument
84 latm_parse(AVCodecParserContext *s1, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size) argument
[all...]
H A Dadx_parser.c42 const uint8_t *buf, int buf_size)
51 for (i = 0; i < buf_size; i++) {
71 if (s->remaining <= buf_size) {
75 s->remaining -= buf_size;
78 if (ff_combine_frame(pc, next, &buf, &buf_size) < 0 || !buf_size) {
81 return buf_size;
84 *poutbuf_size = buf_size;
39 adx_parse(AVCodecParserContext *s1, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size) argument
H A Dh261_parser.c31 static int h261_find_frame_end(ParseContext *pc, AVCodecContext* avctx, const uint8_t *buf, int buf_size){ argument
38 for(i=0; i<buf_size && !vop_found; i++){
48 for(; i<buf_size; i++){
68 const uint8_t *buf, int buf_size)
73 next= h261_find_frame_end(pc,avctx, buf, buf_size);
74 if (ff_combine_frame(pc, next, &buf, &buf_size) < 0) {
77 return buf_size;
80 *poutbuf_size = buf_size;
65 h261_parse(AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size) argument
H A Dh263_parser.c30 int ff_h263_find_frame_end(ParseContext *pc, const uint8_t *buf, int buf_size){ argument
39 for(i=0; i<buf_size; i++){
50 for(; i<buf_size; i++){
68 const uint8_t *buf, int buf_size)
73 next= ff_h263_find_frame_end(pc, buf, buf_size);
75 if (ff_combine_frame(pc, next, &buf, &buf_size) < 0) {
78 return buf_size;
82 *poutbuf_size = buf_size;
65 h263_parse(AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size) argument
H A Dmp3_header_decompress_bsf.c29 const uint8_t *buf, int buf_size, int keyframe){
38 *poutbuf_size= buf_size;
58 if(frame_size == buf_size + 4)
60 if(frame_size == buf_size + 6)
70 header |= (frame_size == buf_size + 4)<<16; //FIXME actually set a correct crc instead of 0
74 memcpy(*poutbuf + frame_size - buf_size, buf, buf_size + FF_INPUT_BUFFER_PADDING_SIZE);
77 uint8_t *p= *poutbuf + frame_size - buf_size;
27 mp3_header_decompress(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 Dvp56rac.c40 void ff_vp56_init_range_decoder(VP56RangeCoder *c, const uint8_t *buf, int buf_size) argument
45 c->end = buf + buf_size;
H A Ddca_parser.c36 #define IS_MARKER(state, i, buf, buf_size) \
37 ((state == DCA_MARKER_14B_LE && (i < buf_size-2) && (buf[i+1] & 0xF0) == 0xF0 && buf[i+2] == 0x07) \
38 || (state == DCA_MARKER_14B_BE && (i < buf_size-2) && buf[i+1] == 0x07 && (buf[i+2] & 0xF0) == 0xF0) \
46 int buf_size)
57 for (i = 0; i < buf_size; i++) {
59 if (IS_MARKER(state, i, buf, buf_size)) {
72 for (; i < buf_size; i++) {
77 if (state == pc1->lastmarker && IS_MARKER(state, i, buf, buf_size)) {
106 const uint8_t * buf, int buf_size)
113 next = buf_size;
45 dca_find_frame_end(DCAParseContext * pc1, const uint8_t * buf, int buf_size) argument
103 dca_parse(AVCodecParserContext * s, AVCodecContext * avctx, const uint8_t ** poutbuf, int *poutbuf_size, const uint8_t * buf, int buf_size) argument
[all...]
H A Dmpeg4video_parser.c29 int ff_mpeg4_find_frame_end(ParseContext *pc, const uint8_t *buf, int buf_size){ argument
38 for(i=0; i<buf_size; i++){
50 if (buf_size == 0)
52 for(; i<buf_size; i++){
69 const uint8_t *buf, int buf_size)
84 init_get_bits(gb, buf, 8 * buf_size);
109 const uint8_t *buf, int buf_size)
115 next= buf_size;
117 next= ff_mpeg4_find_frame_end(pc, buf, buf_size);
119 if (ff_combine_frame(pc, next, &buf, &buf_size) <
67 av_mpeg4_decode_header(AVCodecParserContext *s1, AVCodecContext *avctx, const uint8_t *buf, int buf_size) argument
106 mpeg4video_parse(AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size) argument
[all...]
H A Ddvdsub_parser.c40 const uint8_t *buf, int buf_size)
45 if (buf_size < 2)
54 if (pc->packet_index + buf_size <= pc->packet_len) {
55 memcpy(pc->packet + pc->packet_index, buf, buf_size);
56 pc->packet_index += buf_size;
61 return buf_size;
70 return buf_size;
37 dvdsub_parse(AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size) argument
H A Dgsm_parser.c39 const uint8_t *buf, int buf_size)
56 if (s->remaining <= buf_size) {
61 s->remaining -= buf_size;
64 if (ff_combine_frame(pc, next, &buf, &buf_size) < 0 || !buf_size) {
67 return buf_size;
70 *poutbuf_size = buf_size;
37 gsm_parse(AVCodecParserContext *s1, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size) argument
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/
H A Dmjpega_dump_header_bsf.c35 const uint8_t *buf, int buf_size, int keyframe)
47 *poutbuf = av_malloc(buf_size + 44 + FF_INPUT_BUFFER_PADDING_SIZE);
56 bytestream_put_be32(&poutbufp, buf_size + 44); /* field size */
57 bytestream_put_be32(&poutbufp, buf_size + 44); /* pad field size */
60 for (i = 0; i < buf_size - 1; i++) {
72 bytestream_put_buffer(&poutbufp, buf + 2, buf_size - 2); /* skip already written SOI */
76 if (i + 8 < buf_size && AV_RL32(buf + i + 8) == AV_RL32("mjpg")) {
78 memcpy(*poutbuf, buf, buf_size);
79 *poutbuf_size = buf_size;
33 mjpega_dump_header(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 Ds302m.c32 int buf_size)
37 if (buf_size <= AES3_HEADER_LEN) {
56 if (AES3_HEADER_LEN + frame_size != buf_size || bits > 24) {
84 32 * (48000 / (buf_size * 8 /
96 int buf_size = avpkt->size; local
99 int frame_size = s302m_parse_frame_header(avctx, buf, buf_size);
103 buf_size -= AES3_HEADER_LEN;
108 frame->nb_samples = 2 * (buf_size / block_size) / avctx->channels;
112 buf_size = (frame->nb_samples * avctx->channels / 2) * block_size;
116 for (; buf_size >
31 s302m_parse_frame_header(AVCodecContext *avctx, const uint8_t *buf, int buf_size) argument
[all...]
H A Dlatm_parser.c43 int buf_size)
54 for (i = 0; i < buf_size; i++) {
67 if (buf_size == 0)
69 if ((state & LATM_SIZE_MASK) - s->count <= buf_size) {
76 s->count += buf_size;
85 const uint8_t *buf, int buf_size)
92 next = buf_size;
94 next = latm_find_frame_end(s1, buf, buf_size);
96 if (ff_combine_frame(pc, next, &buf, &buf_size) < 0) {
99 return buf_size;
42 latm_find_frame_end(AVCodecParserContext *s1, const uint8_t *buf, int buf_size) argument
83 latm_parse(AVCodecParserContext *s1, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size) argument
[all...]
H A Dadx_parser.c42 const uint8_t *buf, int buf_size)
51 for (i = 0; i < buf_size; i++) {
71 if (s->remaining <= buf_size) {
75 s->remaining -= buf_size;
78 if (ff_combine_frame(pc, next, &buf, &buf_size) < 0 || !buf_size) {
81 return buf_size;
87 *poutbuf_size = buf_size;
39 adx_parse(AVCodecParserContext *s1, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size) argument
H A Dmp3_header_decompress_bsf.c30 const uint8_t *buf, int buf_size, int keyframe){
39 *poutbuf_size= buf_size;
59 if(frame_size == buf_size + 4)
61 if(frame_size == buf_size + 6)
71 header |= (frame_size == buf_size + 4)<<16; //FIXME actually set a correct crc instead of 0
75 memcpy(*poutbuf + frame_size - buf_size, buf, buf_size + FF_INPUT_BUFFER_PADDING_SIZE);
78 uint8_t *p= *poutbuf + frame_size - buf_size;
28 mp3_header_decompress(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 Dvp56rac.c40 void ff_vp56_init_range_decoder(VP56RangeCoder *c, const uint8_t *buf, int buf_size) argument
45 c->end = buf + buf_size;
H A Dopus_parser.c39 const uint8_t *buf, int buf_size)
44 if (!buf_size)
57 ret = ff_opus_parse_packet(&s->pkt, buf, buf_size, s->ctx.nb_streams > 1);
67 *poutbuf_size = buf_size;
68 return buf_size;
37 opus_parse(AVCodecParserContext *ctx, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size) argument
H A Ddnxhd_parser.c38 const uint8_t *buf, int buf_size)
48 for (i = 0; i < buf_size; i++) {
61 if (!buf_size) /* EOF considered as end of frame */
63 for (; i < buf_size; i++) {
90 const uint8_t *buf, int buf_size)
97 next = buf_size;
99 next = dnxhd_find_frame_end(dctx, buf, buf_size);
100 if (ff_combine_frame(pc, next, &buf, &buf_size) < 0) {
103 return buf_size;
107 *poutbuf_size = buf_size;
37 dnxhd_find_frame_end(DNXHDParserContext *dctx, const uint8_t *buf, int buf_size) argument
87 dnxhd_parse(AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size) argument
[all...]
H A Ddpx_parser.c40 const uint8_t *buf, int buf_size)
50 if (buf_size == 0)
54 for (; i < buf_size; i++) {
67 i = FFMIN(d->remaining_size, buf_size);
74 for (;d->pc.frame_start_found && i < buf_size; i++) {
83 if (d->fsize > buf_size - i + 19)
84 d->remaining_size = d->fsize - buf_size + i - 19;
99 if (ff_combine_frame(&d->pc, next, &buf, &buf_size) < 0)
100 return buf_size;
105 *poutbuf_size = buf_size;
38 dpx_parse(AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size) argument
[all...]
H A Dtak_parser.c38 const uint8_t *buf, int buf_size)
45 int needed = buf_size ? TAK_MAX_FRAME_HEADER_BYTES : 8;
49 init_get_bits(&gb, buf, buf_size);
54 *poutbuf_size = buf_size;
55 return buf_size;
58 while (buf_size || t->index + needed <= pc->index) {
59 if (buf_size && t->index + TAK_MAX_FRAME_HEADER_BYTES > pc->index) {
61 buf_size);
68 buf_size -= tmp_buf_size;
100 if (consumed && !buf_size
36 tak_parse(AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/gettext-0.17/gettext-runtime/gnulib-lib/
H A Dareadlink.c60 size_t buf_size = sizeof (initial_buf); local
65 ssize_t link_length = readlink (filename, buffer, buf_size);
80 if ((size_t) link_length < buf_size)
96 if ((size_t) link_length < buf_size)
109 buf_size *= 2;
110 if (SSIZE_MAX < buf_size || (SIZE_MAX / 2 < SSIZE_MAX && buf_size == 0))
115 buffer = (char *) malloc (buf_size);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libiconv-1.10/srclib/
H A Dxreadlink.c78 size_t buf_size = sizeof (initial_buf); local
83 ssize_t link_length = readlink (filename, buffer, buf_size);
96 if ((size_t) link_length < buf_size)
113 if ((size_t) link_length < buf_size)
126 buf_size *= 2;
127 if (SSIZE_MAX < buf_size || (SIZE_MAX / 2 < SSIZE_MAX && buf_size == 0))
133 buffer = (char *) xmalloc (buf_size);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/gettext-0.17/gettext-tools/gnulib-lib/
H A Dareadlink.c60 size_t buf_size = sizeof (initial_buf); local
65 ssize_t link_length = readlink (filename, buffer, buf_size);
80 if ((size_t) link_length < buf_size)
96 if ((size_t) link_length < buf_size)
109 buf_size *= 2;
110 if (SSIZE_MAX < buf_size || (SIZE_MAX / 2 < SSIZE_MAX && buf_size == 0))
115 buffer = (char *) malloc (buf_size);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/libiconv-1.11/srclib/
H A Dxreadlink.c74 size_t buf_size = sizeof (initial_buf); local
79 ssize_t link_length = readlink (filename, buffer, buf_size);
92 if ((size_t) link_length < buf_size)
109 if ((size_t) link_length < buf_size)
122 buf_size *= 2;
123 if (SSIZE_MAX < buf_size || (SIZE_MAX / 2 < SSIZE_MAX && buf_size == 0))
129 buffer = (char *) xmalloc (buf_size);

Completed in 277 milliseconds

1234567891011>>