Searched refs:pic (Results 1 - 25 of 156) sorted by relevance

1234567

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavcodec/
H A Dmsrledec.h31 * @param pic destination frame
36 int ff_msrle_decode(AVCodecContext *avctx, AVPicture *pic, int depth,
H A D8bps.c49 AVFrame pic; member in struct:EightBpsContext
74 if(c->pic.data[0])
75 avctx->release_buffer(avctx, &c->pic);
77 c->pic.reference = 0;
78 c->pic.buffer_hints = FF_BUFFER_HINTS_VALID;
79 if(avctx->get_buffer(avctx, &c->pic) < 0){
99 pixptr = c->pic.data[0] + row * c->pic.linesize[0] + planemap[p];
100 pixptr_end = pixptr + c->pic.linesize[0];
131 memcpy (c->pic
[all...]
H A Dtscc.c53 AVFrame pic; member in struct:TsccContext
78 if(c->pic.data[0])
79 avctx->release_buffer(avctx, &c->pic);
81 c->pic.reference = 1;
82 c->pic.buffer_hints = FF_BUFFER_HINTS_VALID;
83 if(avctx->get_buffer(avctx, &c->pic) < 0){
88 outptr = c->pic.data[0]; // Output image pointer
108 ff_msrle_decode(avctx, (AVPicture*)&c->pic, c->bpp, c->decomp_buf, c->zstream.avail_out);
112 memcpy(c->pic.data[1], c->avctx->palctrl->palette, AVPALETTE_SIZE);
114 c->pic
[all...]
H A Dnuv.c31 AVFrame pic; member in struct:__anon545
73 AVPicture pic; local
74 avpicture_fill(&pic, src, PIX_FMT_YUV420P, width, height);
75 av_picture_copy((AVPicture *)f, &pic, PIX_FMT_YUV420P, width, height);
198 if (keyframe && c->pic.data[0])
199 avctx->release_buffer(avctx, &c->pic);
200 c->pic.reference = 1;
201 c->pic.buffer_hints = FF_BUFFER_HINTS_VALID | FF_BUFFER_HINTS_READABLE |
203 result = keyframe ? avctx->get_buffer(avctx, &c->pic) : avctx->reget_buffer(avctx, &c->pic);
[all...]
H A Dxl.c32 AVFrame pic; member in struct:VideoXLContext
46 AVFrame * const p= (AVFrame*)&a->pic;
64 Y = a->pic.data[0];
65 U = a->pic.data[1];
66 V = a->pic.data[2];
110 Y += a->pic.linesize[0];
111 U += a->pic.linesize[1];
112 V += a->pic.linesize[2];
116 *(AVFrame*)data = a->pic;
H A Dcscd.c32 AVFrame pic; member in struct:__anon506
147 if (c->pic.data[0])
148 avctx->release_buffer(avctx, &c->pic);
149 c->pic.reference = 1;
150 c->pic.buffer_hints = FF_BUFFER_HINTS_VALID | FF_BUFFER_HINTS_READABLE |
152 if (avctx->get_buffer(avctx, &c->pic) < 0) {
183 c->pic.pict_type = FF_I_TYPE;
184 c->pic.key_frame = 1;
187 copy_frame_16(&c->pic, c->decomp_buf, c->linelen, c->height);
190 copy_frame_32(&c->pic,
[all...]
H A Ddxa.c40 AVFrame pic, prev; member in struct:DxaDecContext
55 int stride = c->pic.linesize[0];
216 if(avctx->get_buffer(avctx, &c->pic) < 0){
220 memcpy(c->pic.data[1], c->pal, AVPALETTE_SIZE);
221 c->pic.palette_has_changed = pc;
223 outptr = c->pic.data[0];
226 stride = c->pic.linesize[0];
240 c->pic.key_frame = 0;
241 c->pic.pict_type = FF_P_TYPE;
243 memcpy(c->pic
[all...]
H A Dmsrledec.c40 static int msrle_decode_pal4(AVCodecContext *avctx, AVPicture *pic, argument
48 int row_dec = pic->linesize[0];
87 pic->data[0][row_ptr + pixel_ptr] = stream_byte >> 4;
93 pic->data[0][row_ptr + pixel_ptr] = stream_byte & 0x0F;
113 pic->data[0][row_ptr + pixel_ptr] = stream_byte >> 4;
115 pic->data[0][row_ptr + pixel_ptr] = stream_byte & 0x0F;
132 static int msrle_decode_8_16_24_32(AVCodecContext *avctx, AVPicture *pic, int depth, argument
141 output = pic->data[0] + (avctx->height - 1) * pic->linesize[0];
142 output_end = pic
241 ff_msrle_decode(AVCodecContext *avctx, AVPicture *pic, int depth, const uint8_t* data, int data_size) argument
[all...]
H A Dqdrw.c32 AVFrame pic; member in struct:QdrawContext
40 AVFrame * const p= (AVFrame*)&a->pic;
58 outdata = a->pic.data[0];
107 if ((out + (257 - code)) > (outdata + a->pic.linesize[0]))
114 if ((out + code) > (outdata + a->pic.linesize[0]))
124 outdata += a->pic.linesize[0];
128 *(AVFrame*)data = a->pic;
H A Dtargaenc.c34 * @param pic Image to compress
40 static int targa_encode_rle(uint8_t *outbuf, int out_size, AVFrame *pic, argument
49 ret = ff_rle_encode(out, out_size, pic->data[0] + pic->linesize[0] * y, bpp, w, 0x7f, 0, -1, 0);
60 static int targa_encode_normal(uint8_t *outbuf, AVFrame *pic, int bpp, int w, int h) argument
64 uint8_t *ptr = pic->data[0];
69 ptr += pic->linesize[0];
H A Dkmvc.c42 AVFrame pic; member in struct:KmvcContext
236 if (ctx->pic.data[0])
237 avctx->release_buffer(avctx, &ctx->pic);
239 ctx->pic.reference = 1;
240 ctx->pic.buffer_hints = FF_BUFFER_HINTS_VALID;
241 if (avctx->get_buffer(avctx, &ctx->pic) < 0) {
259 ctx->pic.key_frame = 1;
260 ctx->pic.pict_type = FF_I_TYPE;
262 ctx->pic.key_frame = 0;
263 ctx->pic
[all...]
H A Dvmnc.c57 AVFrame pic; member in struct:VmncContext
294 c->pic.reference = 1;
295 c->pic.buffer_hints = FF_BUFFER_HINTS_VALID | FF_BUFFER_HINTS_PRESERVE | FF_BUFFER_HINTS_REUSABLE;
296 if(avctx->reget_buffer(avctx, &c->pic) < 0){
301 c->pic.key_frame = 0;
302 c->pic.pict_type = FF_P_TYPE;
322 outptr = c->pic.data[0] + dx * c->bpp2 + dy * c->pic.linesize[0];
325 outptr += c->pic.linesize[0];
337 outptr = c->pic
[all...]
H A Dvb.c43 AVFrame pic; member in struct:VBDecContext
216 memcpy(c->pic.data[1], c->pal, AVPALETTE_SIZE);
217 c->pic.palette_has_changed = flags & VB_HAS_PALETTE;
219 outptr = c->pic.data[0];
225 outptr += c->pic.linesize[0];
231 *(AVFrame*)data = c->pic;
248 c->pic.reference = 1;
249 if(avctx->get_buffer(avctx, &c->pic) < 0){
266 if(c->pic.data[0])
267 avctx->release_buffer(avctx, &c->pic);
[all...]
H A Dqpeg.c31 AVFrame pic; member in struct:QpegContext
254 AVFrame * const p= (AVFrame*)&a->pic;
266 outdata = a->pic.data[0];
268 qpeg_decode_intra(buf+0x86, outdata, buf_size - 0x86, a->pic.linesize[0], avctx->width, avctx->height);
271 qpeg_decode_inter(buf+0x86, outdata, buf_size - 0x86, a->pic.linesize[0], avctx->width, avctx->height, delta, buf + 4, a->refdata);
275 memcpy(a->pic.data[1], a->avctx->palctrl->palette, AVPALETTE_SIZE);
277 a->pic.palette_has_changed = 1;
282 *(AVFrame*)data = a->pic;
292 a->pic.data[0] = NULL;
300 AVFrame * const p= (AVFrame*)&a->pic;
[all...]
H A Dutils.c199 int avcodec_default_get_buffer(AVCodecContext *s, AVFrame *pic){ argument
206 if(pic->data[0]!=NULL) {
207 av_log(s, AV_LOG_ERROR, "pic->data[0]!=NULL in avcodec_default_get_buffer\n");
241 pic->age= *picture_number - buf->last_pic_num;
308 pic->age= 256*256*256*64;
310 pic->type= FF_BUFFER_TYPE_INTERNAL;
313 pic->base[i]= buf->base[i];
314 pic->data[i]= buf->data[i];
315 pic->linesize[i]= buf->linesize[i];
319 pic
327 avcodec_default_release_buffer(AVCodecContext *s, AVFrame *pic) argument
356 avcodec_default_reget_buffer(AVCodecContext *s, AVFrame *pic) argument
404 avcodec_get_frame_defaults(AVFrame *pic) argument
412 AVFrame *pic= av_malloc(sizeof(AVFrame)); local
[all...]
H A Dvdpau.c46 Picture *pic; local
60 pic = lp[i];
61 if (!pic || !pic->reference)
63 pic_frame_idx = pic->long_ref ? pic->pic_id : pic->frame_num;
65 render_ref = (struct vdpau_render_state *)pic->data[0];
72 && (rf2->is_long_term == pic->long_ref)
79 rf2->top_is_reference |= (pic
[all...]
H A Dlibdiracdec.c85 AVPicture pic; local
134 avpicture_fill(&pic, NULL, avccontext->pix_fmt,
146 pic.linesize[0] * avccontext->height;
148 pic.linesize[1] * src_params->chroma_height;
H A Drawdec.c34 AVFrame pic; ///< AVCodecContext.coded_frame member in struct:RawVideoContext
81 context->pic.pict_type = FF_I_TYPE;
82 context->pic.key_frame = 1;
84 avctx->coded_frame= &context->pic;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavfilter/
H A Ddefaults.c26 void avfilter_default_free_video_buffer(AVFilterPic *pic) argument
28 av_free(pic->data[0]);
29 av_free(pic);
41 AVFilterPic *pic = av_mallocz(sizeof(AVFilterPic)); local
46 ref->pic = pic;
53 pic->refcount = 1;
54 pic->format = link->format;
55 pic->free = avfilter_default_free_video_buffer;
56 ff_fill_linesize((AVPicture *)pic, pi
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/cell/
H A Dspider-pic.c77 static void __iomem *spider_get_irq_config(struct spider_pic *pic, argument
80 return pic->regs + TIR_CFGA + 8 * src;
85 struct spider_pic *pic = spider_virq_to_pic(virq); local
86 void __iomem *cfg = spider_get_irq_config(pic, irq_map[virq].hwirq);
93 struct spider_pic *pic = spider_virq_to_pic(virq); local
94 void __iomem *cfg = spider_get_irq_config(pic, irq_map[virq].hwirq);
101 struct spider_pic *pic = spider_virq_to_pic(virq); local
114 out_be32(pic->regs + TIR_EDC, 0x100 | (src & 0xf));
120 struct spider_pic *pic = spider_virq_to_pic(virq); local
122 void __iomem *cfg = spider_get_irq_config(pic, h
181 struct spider_pic *pic = h->host_data; local
218 struct spider_pic *pic = desc->handler_data; local
239 spider_find_cascade_and_node(struct spider_pic *pic) argument
302 struct spider_pic *pic = &spider_pics[chip]; local
[all...]
H A DMakefile2 cbe_regs.o spider-pic.o \
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/alpha/kernel/
H A Dirq_i8259.c158 unsigned long pic; local
173 pic = inb(0x20) | (inb(0xA0) << 8); /* read isr */
174 pic &= 0xFFFB; /* mask out cascade & hibits */
176 while (pic) {
177 int j = ffz(~pic);
178 pic &= pic - 1;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ia64/sn/pci/pcibr/
H A Dpcibr_reg.c15 #include <asm/sn/pic.h>
20 struct pic pic; member in union:br_ptr
36 __sn_clrq_relaxed(&ptr->pic.p_wid_control, bits);
56 __sn_setq_relaxed(&ptr->pic.p_wid_control, bits);
80 ret = __sn_readq_relaxed(&ptr->pic.p_wid_tflush);
110 ret = __sn_readq_relaxed(&ptr->pic.p_int_status);
134 __sn_clrq_relaxed(&ptr->pic.p_int_enable, bits);
154 __sn_setq_relaxed(&ptr->pic.p_int_enable, bits);
181 __sn_clrq_relaxed(&ptr->pic
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/powermac/
H A DMakefile3 obj-y += pic.o setup.o time.o feature.o pci.o \
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/video/
H A Dbt819.c432 struct video_picture *pic = arg; local
437 I2C_NAME(client), pic->brightness, pic->contrast,
438 pic->colour);
441 if (decoder->bright != pic->brightness) {
443 decoder->bright = pic->brightness;
448 if (decoder->contrast != pic->contrast) {
450 decoder->contrast = pic->contrast;
457 if (decoder->sat != pic->colour) {
459 decoder->sat = pic
[all...]

Completed in 269 milliseconds

1234567