Merge "video: driver: modify s_fmt for decoder"
This commit is contained in:

committato da
Gerrit - the friendly Code Review server

commit
d51e886a52
@@ -1979,8 +1979,8 @@ int msm_vdec_s_fmt(struct msm_vidc_inst *inst, struct v4l2_format *f)
|
||||
fmt = &inst->fmts[OUTPUT_PORT];
|
||||
fmt->type = OUTPUT_MPLANE;
|
||||
if (inst->vb2q[INPUT_PORT].streaming) {
|
||||
f->fmt.pix_mp.height = fmt->fmt.pix_mp.height;
|
||||
f->fmt.pix_mp.width = fmt->fmt.pix_mp.width;
|
||||
f->fmt.pix_mp.height = inst->fmts[INPUT_PORT].fmt.pix_mp.height;
|
||||
f->fmt.pix_mp.width = inst->fmts[INPUT_PORT].fmt.pix_mp.width;
|
||||
}
|
||||
fmt->fmt.pix_mp.pixelformat = f->fmt.pix_mp.pixelformat;
|
||||
fmt->fmt.pix_mp.width = VIDEO_Y_STRIDE_PIX(
|
||||
|
Fai riferimento in un nuovo problema
Block a user