Searched refs:packet_size (Results 1 - 25 of 51) sorted by relevance

123

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavformat/
H A Dlmlm4.c38 unsigned int frame_type, packet_size; local
41 packet_size = AV_RB32(buf+4);
43 if (!AV_RB16(buf) && frame_type <= LMLM4_MPEG1L2 && packet_size &&
44 frame_type != LMLM4_INVALID && packet_size <= LMLM4_MAX_PACKET_SIZE) {
50 * packet_size-8, but that seems overkill */
83 unsigned int frame_type, packet_size, padding, frame_size; local
87 packet_size = get_be32(pb);
88 padding = -packet_size & 511;
89 frame_size = packet_size - 8;
95 if (packet_size > LMLM4_MAX_PACKET_SIZ
[all...]
H A Dxa.c89 unsigned int packet_size; local
95 packet_size = 15*st->codec->channels;
97 ret = av_get_packet(pb, pkt, packet_size);
98 if(ret != packet_size)
102 xa->sent_bytes += packet_size;
H A Dffm.h51 int packet_size; member in struct:FFMContext
H A Deacdata.c84 int packet_size = 76*cdata->channels; local
86 if (av_get_packet(s->pb, pkt, packet_size) != packet_size)
H A Diss.c38 int packet_size; member in struct:__anon654
78 sscanf(token, "%d", &iss->packet_size);
104 st->codec->block_align = iss->packet_size;
113 int ret = av_get_packet(s->pb, pkt, iss->packet_size);
115 if(ret != iss->packet_size)
H A Dmpegenc.c59 int packet_size; /* required packet size */ member in struct:__anon694
307 if(ctx->packet_size)
308 s->packet_size = ctx->packet_size;
310 s->packet_size = 2048;
454 s->pack_header_freq = 2 * bitrate / s->packet_size / 8;
562 buf_index += s->packet_size - buf_index;
591 n = (s->packet_size - buf_index) % stream->lpcm_align;
602 return s->packet_size - buf_index;
646 int packet_size; local
[all...]
H A Dffmenc.c35 if (url_ftell(pb) % ffm->packet_size)
91 ffm->packet_size = FFM_PACKET_SIZE;
95 put_be32(pb, ffm->packet_size);
97 put_be64(pb, ffm->packet_size); /* current write position */
174 while ((url_ftell(pb) % ffm->packet_size) != 0)
181 ffm->packet_end = ffm->packet + ffm->packet_size - FFM_HEADER_SIZE;
H A Drtp_h264.c123 uint32_t packet_size; local
135 packet_size= av_base64_decode(decoded_packet, base64packet, sizeof(decoded_packet));
136 if (packet_size) {
137 uint8_t *dest= av_malloc(packet_size+sizeof(start_sequence)+codec->extradata_size);
148 memcpy(dest+codec->extradata_size+sizeof(start_sequence), decoded_packet, packet_size);
151 codec->extradata_size+= sizeof(start_sequence)+packet_size;
H A Dffmdec.c77 avail_size = (avail_size / ffm->packet_size) * (ffm->packet_size - FFM_HEADER_SIZE) + len;
102 url_fseek(pb, ffm->packet_size, SEEK_SET);
108 get_buffer(pb, ffm->packet, ffm->packet_size - FFM_HEADER_SIZE);
109 ffm->packet_end = ffm->packet + (ffm->packet_size - FFM_HEADER_SIZE - fill_size);
117 if (url_ftell(pb) >= ffm->packet_size * 3) {
118 url_fseek(pb, -ffm->packet_size * 2, SEEK_CUR);
247 ffm->packet_size = get_be32(pb);
248 if (ffm->packet_size != FFM_PACKET_SIZE)
337 while ((url_ftell(pb) % ffm->packet_size) !
[all...]
H A Dyuv4mpeg.c343 int packet_size, width, height; local
360 packet_size = avpicture_get_size(st->codec->pix_fmt, width, height);
361 if (packet_size < 0)
364 if (av_get_packet(s->pb, pkt, packet_size) != packet_size)
H A Doptions.c45 {"packetsize", "set packet size", OFFSET(packet_size), FF_OPT_TYPE_INT, DEFAULT, 0, INT_MAX, E},
H A Dasfdec.c215 s->packet_size = asf->hdr.max_pktsize;
559 if (s->packet_size > 0)
560 off= (url_ftell(pb) - s->data_offset) % s->packet_size + 3;
590 DO_2BITS(asf->packet_flags >> 5, packet_length, s->packet_size);
619 dprintf(s, "packet: size=%d padsize=%d left=%d\n", s->packet_size, asf->packet_padsize, asf->packet_size_left);
791 // s->packet_size, asf_st->pkt.size, asf->packet_frag_offset,
945 if (s->packet_size > 0)
946 pos= (pos+s->packet_size-1-s->data_offset)/s->packet_size*s->packet_size
[all...]
H A Dasfenc.c324 put_le32(pb, s->packet_size); /* packet size */
325 put_le32(pb, s->packet_size); /* packet size */
502 /* movie chunk, followed by packets of packet_size */
517 s->packet_size = PACKET_SIZE;
539 init_put_byte(&asf->pb, asf->packet_buf, s->packet_size, 1,
615 put_chunk(s, 0x4424, s->packet_size, 0);
630 put_buffer(s->pb, asf->packet_buf, s->packet_size - packet_hdr_size);
637 init_put_byte(&asf->pb, asf->packet_buf, s->packet_size, 1,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ecryptfs/
H A Dkeystore.c500 * @packet_size: This function writes the size of the parsed packet
509 size_t *packet_size, size_t max_packet_size)
516 (*packet_size) = 0;
524 if (unlikely((*packet_size) + 3 > max_packet_size)) {
530 if (data[(*packet_size)++] != ECRYPTFS_TAG_1_PACKET_TYPE) {
557 rc = parse_packet_length(&data[(*packet_size)], &body_size,
570 (*packet_size) += length_size;
571 if (unlikely((*packet_size) + body_size > max_packet_size)) {
577 if (unlikely(data[(*packet_size)++] != 0x03)) {
579 "[%d]\n", data[(*packet_size)
506 parse_tag_1_packet(struct ecryptfs_crypt_stat *crypt_stat, unsigned char *data, struct list_head *auth_tok_list, struct ecryptfs_auth_tok **new_auth_tok, size_t *packet_size, size_t max_packet_size) argument
649 parse_tag_3_packet(struct ecryptfs_crypt_stat *crypt_stat, unsigned char *data, struct list_head *auth_tok_list, struct ecryptfs_auth_tok **new_auth_tok, size_t *packet_size, size_t max_packet_size) argument
830 parse_tag_11_packet(unsigned char *data, unsigned char *contents, size_t max_contents_bytes, size_t *tag_11_contents_size, size_t *packet_size, size_t max_packet_size) argument
1067 size_t packet_size; local
1290 write_tag_1_packet(char *dest, size_t max, struct ecryptfs_auth_tok *auth_tok, struct ecryptfs_crypt_stat *crypt_stat, struct ecryptfs_mount_crypt_stat *mount_crypt_stat, struct ecryptfs_key_record *key_rec, size_t *packet_size) argument
1447 write_tag_3_packet(char *dest, size_t max, struct ecryptfs_auth_tok *auth_tok, struct ecryptfs_crypt_stat *crypt_stat, struct ecryptfs_key_record *key_rec, size_t *packet_size) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ieee1394/
H A Dvideo1394.h45 unsigned int packet_size; /* For VARIABLE_PACKET_SIZE: member in struct:video1394_mmap
57 buf_size / packet_size */
H A Dvideo1394.c84 unsigned int packet_size; member in struct:dma_iso_ctx
180 int buf_size, int channel, unsigned int packet_size)
282 d->packet_size = packet_size;
284 if (PAGE_SIZE % packet_size || packet_size>4096) {
288 packet_size, PAGE_SIZE);
293 d->nb_cmd = d->frame_size / d->packet_size;
294 if (d->frame_size % d->packet_size) {
296 d->left_size = d->frame_size % d->packet_size;
179 alloc_dma_iso_ctx(struct ti_ohci *ohci, int type, int num_desc, int buf_size, int channel, unsigned int packet_size) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavcodec/
H A Dlibamr.c146 int packet_size; local
152 packet_size = block_size[dec_mode] + 1;
154 if (packet_size > buf_size) {
156 buf_size, packet_size);
161 /* av_log(NULL, AV_LOG_DEBUG, "packet_size=%d amrData= 0x%X %X %X %X\n",
162 packet_size, amrData[0], amrData[1], amrData[2], amrData[3]); */
167 return packet_size;
404 int packet_size; local
412 packet_size = block_size[mode];
414 if (packet_size > buf_siz
[all...]
H A Dlibopencore-amr.c117 int packet_size; local
123 packet_size = block_size[dec_mode] + 1;
125 if (packet_size > buf_size) {
127 buf_size, packet_size);
132 /* av_log(NULL, AV_LOG_DEBUG, "packet_size=%d amrData= 0x%X %X %X %X\n",
133 packet_size, amrData[0], amrData[1], amrData[2], amrData[3]); */
138 return packet_size;
281 int packet_size; local
289 packet_size = block_size[mode];
291 if (packet_size > buf_siz
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/isdn/hisax/
H A Dst5481_b.c35 unsigned int packet_size,offset; local
49 packet_size = SIZE_ISO_PACKETS_B_OUT + B_FLOW_ADJUST;
53 packet_size = SIZE_ISO_PACKETS_B_OUT - B_FLOW_ADJUST;
57 packet_size = 8;
113 urb->iso_frame_desc[i].length = packet_size;
114 offset += packet_size;
115 packet_size = SIZE_ISO_PACKETS_B_OUT;
312 bcs->b_in.packet_size = SIZE_ISO_PACKETS_B_IN;
H A Dst5481_usb.c405 int packet_size, usb_complete_t complete,
415 urb->transfer_buffer_length=num_packets*packet_size;
421 urb->iso_frame_desc[k].offset = packet_size * k;
422 urb->iso_frame_desc[k].length = packet_size;
430 int packet_size, int buf_size,
449 num_packets, packet_size, complete,
561 in->num_packets, in->packet_size,
562 in->num_packets * in->packet_size,
653 in->packet_size,
403 fill_isoc_urb(struct urb *urb, struct usb_device *dev, unsigned int pipe, void *buf, int num_packets, int packet_size, usb_complete_t complete, void *context) argument
428 st5481_setup_isocpipes(struct urb* urb[2], struct usb_device *dev, unsigned int pipe, int num_packets, int packet_size, int buf_size, usb_complete_t complete, void *context) argument
H A Dhfc_usb.c185 int packet_size, iso_packet_size; member in struct:hfcusb_data
483 void *buf, int num_packets, int packet_size, int interval,
492 urb->transfer_buffer_length = packet_size * num_packets;
499 urb->iso_frame_desc[k].offset = packet_size * k;
500 urb->iso_frame_desc[k].length = packet_size;
509 usb_complete_t complete, int packet_size)
545 k * packet_size;
548 packet_size;
1219 (hfc->packet_size / 8) | ((hfc->packet_size /
482 fill_isoc_urb(struct urb *urb, struct usb_device *dev, unsigned int pipe, void *buf, int num_packets, int packet_size, int interval, usb_complete_t complete, void *context) argument
508 start_isoc_chain(usb_fifo * fifo, int num_packets_per_urb, usb_complete_t complete, int packet_size) argument
1368 int cmptbl[16], small_match, iso_packet_size, packet_size, local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/minidlna/
H A Dmetadata.h31 int packet_size; member in struct:tsinfo_s
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/minidlna.07.26/
H A Dmetadata.h33 int packet_size; member in struct:tsinfo_s
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dncp_fs_sb.h50 int packet_size; member in struct:ncp_server
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/usb/atm/
H A Dusbatm.h140 unsigned int packet_size; /* endpoint maxpacket */ member in struct:usbatm_channel

Completed in 151 milliseconds

123