Loading drivers/media/platform/msm/vidc/msm_vidc_common.c +3 −3 Original line number Original line Diff line number Diff line Loading @@ -1424,7 +1424,7 @@ static void handle_ebd(enum hal_command_response cmd, void *data) } } vb = get_vb_from_device_addr(&inst->bufq[OUTPUT_PORT], vb = get_vb_from_device_addr(&inst->bufq[OUTPUT_PORT], response->clnt_data); response->input_done.packet_buffer); if (vb) { if (vb) { vb->v4l2_planes[0].bytesused = response->input_done.filled_len; vb->v4l2_planes[0].bytesused = response->input_done.filled_len; vb->v4l2_planes[0].data_offset = response->input_done.offset; vb->v4l2_planes[0].data_offset = response->input_done.offset; Loading @@ -1433,8 +1433,8 @@ static void handle_ebd(enum hal_command_response cmd, void *data) if (vb->v4l2_planes[0].bytesused > vb->v4l2_planes[0].length) if (vb->v4l2_planes[0].bytesused > vb->v4l2_planes[0].length) dprintk(VIDC_INFO, "bytesused overflow length\n"); dprintk(VIDC_INFO, "bytesused overflow length\n"); if (vb->v4l2_planes[0].m.userptr != if (vb->v4l2_planes[0].m.userptr != response->input_done.packet_buffer) response->clnt_data) dprintk(VIDC_INFO, "Unexpected buffer address\n"); dprintk(VIDC_INFO, "Client data != bufaddr\n"); empty_buf_done = (struct vidc_hal_ebd *)&response->input_done; empty_buf_done = (struct vidc_hal_ebd *)&response->input_done; if (empty_buf_done) { if (empty_buf_done) { if (empty_buf_done->status == VIDC_ERR_NOT_SUPPORTED) { if (empty_buf_done->status == VIDC_ERR_NOT_SUPPORTED) { Loading Loading
drivers/media/platform/msm/vidc/msm_vidc_common.c +3 −3 Original line number Original line Diff line number Diff line Loading @@ -1424,7 +1424,7 @@ static void handle_ebd(enum hal_command_response cmd, void *data) } } vb = get_vb_from_device_addr(&inst->bufq[OUTPUT_PORT], vb = get_vb_from_device_addr(&inst->bufq[OUTPUT_PORT], response->clnt_data); response->input_done.packet_buffer); if (vb) { if (vb) { vb->v4l2_planes[0].bytesused = response->input_done.filled_len; vb->v4l2_planes[0].bytesused = response->input_done.filled_len; vb->v4l2_planes[0].data_offset = response->input_done.offset; vb->v4l2_planes[0].data_offset = response->input_done.offset; Loading @@ -1433,8 +1433,8 @@ static void handle_ebd(enum hal_command_response cmd, void *data) if (vb->v4l2_planes[0].bytesused > vb->v4l2_planes[0].length) if (vb->v4l2_planes[0].bytesused > vb->v4l2_planes[0].length) dprintk(VIDC_INFO, "bytesused overflow length\n"); dprintk(VIDC_INFO, "bytesused overflow length\n"); if (vb->v4l2_planes[0].m.userptr != if (vb->v4l2_planes[0].m.userptr != response->input_done.packet_buffer) response->clnt_data) dprintk(VIDC_INFO, "Unexpected buffer address\n"); dprintk(VIDC_INFO, "Client data != bufaddr\n"); empty_buf_done = (struct vidc_hal_ebd *)&response->input_done; empty_buf_done = (struct vidc_hal_ebd *)&response->input_done; if (empty_buf_done) { if (empty_buf_done) { if (empty_buf_done->status == VIDC_ERR_NOT_SUPPORTED) { if (empty_buf_done->status == VIDC_ERR_NOT_SUPPORTED) { Loading