Re: [PATCH 3/8] media: vidc: decoder: add video decoder files

2016-08-29 Thread Stanimir Varbanov
Hi Hans, +static int vdec_start_streaming(struct vb2_queue *q, unsigned int count) +{ + struct vidc_inst *inst = vb2_get_drv_priv(q); + struct hfi_core *hfi = &inst->core->hfi; + struct device *dev = inst->core->dev; + struct hfi_buffer_requirements bufreq;

Re: [PATCH 3/8] media: vidc: decoder: add video decoder files

2016-08-23 Thread Hans Verkuil
On 08/23/16 14:45, Stanimir Varbanov wrote: > Hi Hans, > > Thanks for the valuable comments! > > > >>> +static int vdec_s_parm(struct file *file, void *fh, struct v4l2_streamparm >>> *a) >>> +{ >>> + struct vidc_inst *inst = to_inst(file); >>> + struct v4l2_captureparm *cap = &a->parm.capt

Re: [PATCH 3/8] media: vidc: decoder: add video decoder files

2016-08-23 Thread Stanimir Varbanov
Hi Hans, Thanks for the valuable comments! >> + >> +static int vdec_g_fmt(struct file *file, void *fh, struct v4l2_format *f) >> +{ >> +struct vidc_inst *inst = to_inst(file); >> +const struct vidc_format *fmt = NULL; >> +struct v4l2_pix_format_mplane *pixmp = &f->fmt.pix_mp; >> + >

Re: [PATCH 3/8] media: vidc: decoder: add video decoder files

2016-08-22 Thread Hans Verkuil
On 08/22/2016 03:13 PM, Stanimir Varbanov wrote: > This consists of video decoder implementation plus decoder > controls. > > Signed-off-by: Stanimir Varbanov > --- > drivers/media/platform/qcom/vidc/vdec.c | 1100 > + > drivers/media/platform/qcom/vidc/vdec.h

[PATCH 3/8] media: vidc: decoder: add video decoder files

2016-08-22 Thread Stanimir Varbanov
This consists of video decoder implementation plus decoder controls. Signed-off-by: Stanimir Varbanov --- drivers/media/platform/qcom/vidc/vdec.c | 1100 + drivers/media/platform/qcom/vidc/vdec.h | 27 + drivers/media/platform/qcom/vidc/vdec_ctrls.c | 200 +