Searched refs:vb (Results 1 - 25 of 74) sorted by relevance

123

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/libvorbis-1.2.3/lib/
H A Dsynthesis.c26 int vorbis_synthesis(vorbis_block *vb,ogg_packet *op){ argument
27 vorbis_dsp_state *vd=vb->vd;
31 oggpack_buffer *opb=&vb->opb;
35 _vorbis_block_ripcord(vb);
48 vb->mode=mode;
49 vb->W=ci->mode_param[mode]->blockflag;
50 if(vb->W){
54 vb->lW=oggpack_read(opb,1);
55 vb->nW=oggpack_read(opb,1);
56 if(vb
82 vorbis_synthesis_trackonly(vorbis_block *vb,ogg_packet *op) argument
[all...]
H A Danalysis.c30 int vorbis_analysis(vorbis_block *vb, ogg_packet *op){ argument
32 vorbis_block_internal *vbi=vb->internal;
34 vb->glue_bits=0;
35 vb->time_bits=0;
36 vb->floor_bits=0;
37 vb->res_bits=0;
47 if((ret=_mapping_P[0]->forward(vb)))
51 if(vorbis_bitrate_managed(vb))
56 op->packet=oggpack_get_buffer(&vb->opb);
57 op->bytes=oggpack_bytes(&vb
[all...]
H A Dbitrate.h38 vorbis_block *vb; member in struct:bitrate_manager_state
55 extern int vorbis_bitrate_managed(vorbis_block *vb);
56 extern int vorbis_bitrate_addblock(vorbis_block *vb);
H A Dbitrate.c64 int vorbis_bitrate_managed(vorbis_block *vb){ argument
65 vorbis_dsp_state *vd=vb->vd;
74 int vorbis_bitrate_addblock(vorbis_block *vb){ argument
75 vorbis_block_internal *vbi=vb->internal;
76 vorbis_dsp_state *vd=vb->vd;
85 long min_target_bits=(vb->W?bm->min_bitsper*bm->short_per_long:bm->min_bitsper);
86 long max_target_bits=(vb->W?bm->max_bitsper*bm->short_per_long:bm->max_bitsper);
87 int samples=ci->blocksizes[vb->W]>>1;
93 if(bm->vb)return(-1); /* one has been submitted without
95 bm->vb
233 vorbis_block *vb=bm->vb; local
[all...]
H A Dblock.c88 int vorbis_block_init(vorbis_dsp_state *v, vorbis_block *vb){ argument
90 memset(vb,0,sizeof(*vb));
91 vb->vd=v;
92 vb->localalloc=0;
93 vb->localstore=NULL;
96 vb->internal=_ogg_calloc(1,sizeof(vorbis_block_internal));
101 vbi->packetblob[i]=&vb->opb;
113 void *_vorbis_block_alloc(vorbis_block *vb,long bytes){ argument
115 if(bytes+vb
137 _vorbis_block_ripcord(vorbis_block *vb) argument
159 vorbis_block_clear(vorbis_block *vb) argument
513 vorbis_analysis_blockout(vorbis_dsp_state *v,vorbis_block *vb) argument
710 vorbis_synthesis_blockin(vorbis_dsp_state *v,vorbis_block *vb) argument
[all...]
H A Dmapping0.c238 static int mapping0_forward(vorbis_block *vb){ argument
239 vorbis_dsp_state *vd=vb->vd;
242 private_state *b=vb->vd->backend_state;
243 vorbis_block_internal *vbi=(vorbis_block_internal *)vb->internal;
244 int n=vb->pcmend;
248 float **gmdct = _vorbis_block_alloc(vb,vi->channels*sizeof(*gmdct));
249 int **ilogmaskch= _vorbis_block_alloc(vb,vi->channels*sizeof(*ilogmaskch));
250 int ***floor_posts = _vorbis_block_alloc(vb,vi->channels*sizeof(*floor_posts));
256 int modenumber=vb->W;
259 b->psy+blocktype+(vb
756 mapping0_inverse(vorbis_block *vb,vorbis_info_mapping *l) argument
[all...]
H A Dfloor0.c110 static void floor0_map_lazy_init(vorbis_block *vb, argument
113 if(!look->linearmap[vb->W]){
114 vorbis_dsp_state *vd=vb->vd;
118 int W=vb->W;
157 static void *floor0_inverse1(vorbis_block *vb,vorbis_look_floor *i){ argument
162 int ampraw=oggpack_read(&vb->opb,info->ampbits);
166 int booknum=oggpack_read(&vb->opb,_ilog(info->numbooks));
169 codec_setup_info *ci=vb->vd->vi->codec_setup;
176 float *lsp=_vorbis_block_alloc(vb,sizeof(*lsp)*(look->m+b->dim+1));
179 if(vorbis_book_decodev_set(b,lsp+j,&vb
193 floor0_inverse2(vorbis_block *vb,vorbis_look_floor *i, void *memo,float *out) argument
[all...]
H A Dmisc.h22 extern void *_vorbis_block_alloc(vorbis_block *vb,long bytes);
23 extern void _vorbis_block_ripcord(vorbis_block *vb);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/video/saa7134/
H A Dsaa7134-vbi.c72 saa_writeb(SAA7134_VBI_H_LEN1(task), buf->vb.width & 0xff);
73 saa_writeb(SAA7134_VBI_H_LEN2(task), buf->vb.width >> 8);
74 saa_writeb(SAA7134_VBI_V_LEN1(task), buf->vb.height & 0xff);
75 saa_writeb(SAA7134_VBI_V_LEN2(task), buf->vb.height >> 8);
89 buf->vb.state = STATE_ACTIVE;
103 saa_writel(SAA7134_RS_BA2(2),base + buf->vb.size/2);
104 saa_writel(SAA7134_RS_PITCH(2),buf->vb.width);
107 saa_writel(SAA7134_RS_BA2(3),base + buf->vb.size/2);
108 saa_writel(SAA7134_RS_PITCH(3),buf->vb.width);
119 struct videobuf_buffer *vb,
118 buffer_prepare(struct videobuf_queue *q, struct videobuf_buffer *vb, enum v4l2_field field) argument
182 buffer_queue(struct videobuf_queue *q, struct videobuf_buffer *vb) argument
191 buffer_release(struct videobuf_queue *q, struct videobuf_buffer *vb) argument
[all...]
H A Dsaa7134-ts.c51 buf->vb.state = STATE_ACTIVE;
56 if (V4L2_FIELD_TOP == buf->vb.field) {
73 static int buffer_prepare(struct videobuf_queue *q, struct videobuf_buffer *vb, argument
77 struct saa7134_buf *buf = container_of(vb,struct saa7134_buf,vb);
88 if (0 != buf->vb.baddr && buf->vb.bsize < size)
91 if (buf->vb.size != size) {
95 if (STATE_NEEDS_INIT == buf->vb.state) {
96 buf->vb
145 buffer_queue(struct videobuf_queue *q, struct videobuf_buffer *vb) argument
153 buffer_release(struct videobuf_queue *q, struct videobuf_buffer *vb) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/video/cx88/
H A Dcx88-vbi.c59 buf->vb.width, buf->risc.dma);
108 buf = list_entry(q->active.next, struct cx88_buffer, vb.queue);
110 buf, buf->vb.i);
113 buf = list_entry(item, struct cx88_buffer, vb.queue);
135 buf = list_entry(q->active.next, struct cx88_buffer, vb.queue);
136 list_del(&buf->vb.queue);
137 buf->vb.state = STATE_ERROR;
138 wake_up(&buf->vb.done);
140 buf, buf->vb.i, (unsigned long)buf->risc.dma);
162 vbi_prepare(struct videobuf_queue *q, struct videobuf_buffer *vb, argument
198 vbi_queue(struct videobuf_queue *vq, struct videobuf_buffer *vb) argument
230 vbi_release(struct videobuf_queue *q, struct videobuf_buffer *vb) argument
[all...]
H A Dcx88-mpeg.c84 dprintk(1, "cx8802_start_dma w: %d, h: %d, f: %d\n", dev->width, dev->height, buf->vb.field);
91 cx_write(MO_TS_LNGTH, buf->vb.width);
193 buf = list_entry(q->queued.next, struct cx88_buffer, vb.queue);
195 list_del(&buf->vb.queue);
196 list_add_tail(&buf->vb.queue,&q->active);
198 buf->vb.state = STATE_ACTIVE;
202 buf,buf->vb.i);
204 } else if (prev->vb.width == buf->vb.width &&
205 prev->vb
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/video/
H A Dvivi.c144 struct videobuf_buffer vb; member in struct:vivi_buffer
237 struct videobuf_buffer *vb)
241 for (i=0;i<vb->dma.nr_pages;i++) {
242 to_addr[i].sg=&vb->dma.sglist[i];
244 pos += vb->dma.sglist[i].length;
415 int hmax = buf->vb.height;
416 int wmax = buf->vb.width;
420 struct videobuf_buffer *vb=&buf->vb; local
427 if (!sg_dma_address(&vb
236 prep_to_addr(struct sg_to_addr to_addr[], struct videobuf_buffer *vb) argument
733 buffer_prepare(struct videobuf_queue *vq, struct videobuf_buffer *vb, enum v4l2_field field) argument
782 buffer_queue(struct videobuf_queue *vq, struct videobuf_buffer *vb) argument
824 buffer_release(struct videobuf_queue *vq, struct videobuf_buffer *vb) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavcodec/
H A Dvb.d1 libavcodec/vb.o: libavcodec/vb.c libavcodec/avcodec.h libavutil/avutil.h \
H A Dhuffman.h38 typedef int (*HuffCmp)(const void *va, const void *vb);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/video/bt8xx/
H A Dbttv-risc.c578 videobuf_waiton(&buf->vb,0,0);
579 videobuf_dma_unmap(q, &buf->vb.dma);
580 videobuf_dma_free(&buf->vb.dma);
583 buf->vb.state = STATE_NEEDS_INIT;
603 vbi->vb.state = STATE_ACTIVE;
604 list_del(&vbi->vb.queue);
645 set->top->vb.state = STATE_ACTIVE;
646 if (set->top->vb.queue.next)
647 list_del(&set->top->vb.queue);
649 set->top->vb
[all...]
H A Dbttv-vbi.c99 struct videobuf_buffer *vb,
104 struct bttv_buffer *buf = container_of(vb,struct bttv_buffer,vb);
110 buf->vb.size = IMAGE_SIZE(&fh->vbi_fmt.fmt);
111 if (0 != buf->vb.baddr && buf->vb.bsize < buf->vb.size)
146 if (STATE_NEEDS_INIT == buf->vb.state) {
148 if (0 != (rc = videobuf_iolock(q, &buf->vb, NULL)))
160 buf->vb
98 vbi_buffer_prepare(struct videobuf_queue *q, struct videobuf_buffer *vb, enum v4l2_field field) argument
205 vbi_buffer_queue(struct videobuf_queue *q, struct videobuf_buffer *vb) argument
220 vbi_buffer_release(struct videobuf_queue *q, struct videobuf_buffer *vb) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/libvorbis-1.2.3/examples/
H A Dencoder_example.c53 vorbis_block vb; /* local working space for packet->PCM decode */ local
142 vorbis_block_init(&vd,&vb);
212 while(vorbis_analysis_blockout(&vd,&vb)==1){
215 vorbis_analysis(&vb,NULL);
216 vorbis_bitrate_addblock(&vb);
242 vorbis_block_clear(&vb);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/common/
H A Dsaa7146_vbi.c199 buf->vb.state = STATE_ACTIVE;
208 static int buffer_prepare(struct videobuf_queue *q, struct videobuf_buffer *vb,enum v4l2_field field) argument
213 struct saa7146_buf *buf = (struct saa7146_buf *)vb;
222 DEB_VBI(("vb:%p\n",vb));
224 if (0 != buf->vb.baddr && buf->vb.bsize < size) {
229 if (buf->vb.size != size)
232 if (STATE_NEEDS_INIT == buf->vb.state) {
233 buf->vb
275 buffer_queue(struct videobuf_queue *q, struct videobuf_buffer *vb) argument
287 buffer_release(struct videobuf_queue *q, struct videobuf_buffer *vb) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/libvorbis-1.2.3/include/vorbis/
H A Dcodec.h176 extern int vorbis_block_init(vorbis_dsp_state *v, vorbis_block *vb);
177 extern int vorbis_block_clear(vorbis_block *vb);
195 extern int vorbis_analysis_blockout(vorbis_dsp_state *v,vorbis_block *vb);
196 extern int vorbis_analysis(vorbis_block *vb,ogg_packet *op);
198 extern int vorbis_bitrate_addblock(vorbis_block *vb);
209 extern int vorbis_synthesis(vorbis_block *vb,ogg_packet *op);
210 extern int vorbis_synthesis_trackonly(vorbis_block *vb,ogg_packet *op);
211 extern int vorbis_synthesis_blockin(vorbis_dsp_state *v,vorbis_block *vb);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/kernel/
H A Dvecemu.c262 unsigned int va, vb, vc, vd; local
271 vb = (instr >> 11) & 0x1f;
279 vaddfp(&vrs[vd], &vrs[va], &vrs[vb]);
282 vsubfp(&vrs[vd], &vrs[va], &vrs[vb]);
285 vrefp(&vrs[vd], &vrs[vb]);
288 vrsqrtefp(&vrs[vd], &vrs[vb]);
292 vrs[vd].u[i] = eexp2(vrs[vb].u[i]);
296 vrs[vd].u[i] = elog2(vrs[vb].u[i]);
300 vrs[vd].u[i] = rfin(vrs[vb].u[i]);
304 vrs[vd].u[i] = rfiz(vrs[vb]
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/partitions/
H A Dldm.c628 struct vblk *vb; local
645 vb = list_entry (item, struct vblk, list);
646 part = &vb->vblk.part;
758 * @vb: In-memory vblk in which to return information
762 * Return: 'true' @vb contains a Component VBLK
763 * 'false' @vb contents are not defined
765 static bool ldm_parse_cmp3 (const u8 *buffer, int buflen, struct vblk *vb) argument
770 BUG_ON (!buffer || !vb);
794 comp = &vb->vblk.comp;
809 * @vb
816 ldm_parse_dgr3(const u8 *buffer, int buflen, struct vblk *vb) argument
860 ldm_parse_dgr4(const u8 *buffer, int buflen, struct vblk *vb) argument
904 ldm_parse_dsk3(const u8 *buffer, int buflen, struct vblk *vb) argument
943 ldm_parse_dsk4(const u8 *buffer, int buflen, struct vblk *vb) argument
976 ldm_parse_prt3(const u8 *buffer, int buflen, struct vblk *vb) argument
1052 ldm_parse_vol5(const u8 *buffer, int buflen, struct vblk *vb) argument
1123 ldm_parse_vblk(const u8 *buf, int len, struct vblk *vb) argument
1177 struct vblk *vb; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/libvorbis-1.2.3/test/
H A Dwrite_read.c41 vorbis_block vb; local
63 vorbis_block_init (&vd,&vb);
99 while (vorbis_analysis_blockout (&vd,&vb) == 1) {
100 vorbis_analysis (&vb,NULL);
101 vorbis_bitrate_addblock (&vb);
120 vorbis_block_clear (&vb);
141 vorbis_block vb; local
235 vorbis_block_init (&vd,&vb);
258 if (vorbis_synthesis (&vb,&op) == 0)
259 vorbis_synthesis_blockin(&vd,&vb);
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/alpha/math-emu/
H A Dmath.c105 unsigned long res, va, vb, vc, swcr, fpcr; local
128 vb = alpha_read_fp_reg_s(fb);
131 FP_UNPACK_SP(SB, &vb);
158 vb = alpha_read_fp_reg(fb);
162 FP_UNPACK_RAW_DP(DB, &vb);
193 FP_UNPACK_DP(DB, &vb);
224 vb = alpha_read_fp_reg_s(fb);
225 FP_UNPACK_SP(SB, &vb);
245 vb = alpha_read_fp_reg(fb);
253 vc = ((vb
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/media/
H A Dvideo-buf.h187 struct videobuf_buffer *vb,
190 struct videobuf_buffer *vb);
192 struct videobuf_buffer *vb);
230 int videobuf_waiton(struct videobuf_buffer *vb, int non_blocking, int intr);
231 int videobuf_iolock(struct videobuf_queue* q, struct videobuf_buffer *vb,
249 void videobuf_status(struct v4l2_buffer *b, struct videobuf_buffer *vb,

Completed in 207 milliseconds

123