Lines Matching refs:streaminfo
245 struct delta_streaminfo *streaminfo = &ctx->streaminfo; in set_default_params() local
264 memset(streaminfo, 0, sizeof(*streaminfo)); in set_default_params()
265 streaminfo->streamformat = DELTA_DEFAULT_STREAMFORMAT; in set_default_params()
266 streaminfo->width = DELTA_DEFAULT_WIDTH; in set_default_params()
267 streaminfo->height = DELTA_DEFAULT_HEIGHT; in set_default_params()
268 streaminfo->field = V4L2_FIELD_NONE; in set_default_params()
269 streaminfo->colorspace = V4L2_COLORSPACE_REC709; in set_default_params()
270 streaminfo->xfer_func = V4L2_XFER_FUNC_DEFAULT; in set_default_params()
271 streaminfo->ycbcr_enc = V4L2_YCBCR_ENC_DEFAULT; in set_default_params()
272 streaminfo->quantization = V4L2_QUANTIZATION_DEFAULT; in set_default_params()
274 ctx->max_au_size = estimated_au_size(streaminfo->width, in set_default_params()
275 streaminfo->height); in set_default_params()
430 struct delta_streaminfo *streaminfo = &ctx->streaminfo; in delta_g_fmt_stream() local
437 delta_streaminfo_str(streaminfo, str, sizeof(str))); in delta_g_fmt_stream()
439 pix->pixelformat = streaminfo->streamformat; in delta_g_fmt_stream()
440 pix->width = streaminfo->width; in delta_g_fmt_stream()
441 pix->height = streaminfo->height; in delta_g_fmt_stream()
442 pix->field = streaminfo->field; in delta_g_fmt_stream()
445 pix->colorspace = streaminfo->colorspace; in delta_g_fmt_stream()
446 pix->xfer_func = streaminfo->xfer_func; in delta_g_fmt_stream()
447 pix->ycbcr_enc = streaminfo->ycbcr_enc; in delta_g_fmt_stream()
448 pix->quantization = streaminfo->quantization; in delta_g_fmt_stream()
459 struct delta_streaminfo *streaminfo = &ctx->streaminfo; in delta_g_fmt_frame() local
478 frameinfo->colorspace = streaminfo->colorspace; in delta_g_fmt_frame()
479 frameinfo->xfer_func = streaminfo->xfer_func; in delta_g_fmt_frame()
480 frameinfo->ycbcr_enc = streaminfo->ycbcr_enc; in delta_g_fmt_frame()
481 frameinfo->quantization = streaminfo->quantization; in delta_g_fmt_frame()
555 dec = delta_find_decoder(ctx, ctx->streaminfo.streamformat, in delta_try_fmt_frame()
630 ctx->streaminfo.width = pix->width; in delta_s_fmt_stream()
631 ctx->streaminfo.height = pix->height; in delta_s_fmt_stream()
632 ctx->streaminfo.streamformat = pix->pixelformat; in delta_s_fmt_stream()
633 ctx->streaminfo.colorspace = pix->colorspace; in delta_s_fmt_stream()
634 ctx->streaminfo.xfer_func = pix->xfer_func; in delta_s_fmt_stream()
635 ctx->streaminfo.ycbcr_enc = pix->ycbcr_enc; in delta_s_fmt_stream()
636 ctx->streaminfo.quantization = pix->quantization; in delta_s_fmt_stream()
1180 struct delta_streaminfo *streaminfo = &ctx->streaminfo; in delta_get_frameinfo_default() local
1184 frameinfo->width = streaminfo->width; in delta_get_frameinfo_default()
1185 frameinfo->height = streaminfo->height; in delta_get_frameinfo_default()
1186 frameinfo->aligned_width = ALIGN(streaminfo->width, in delta_get_frameinfo_default()
1188 frameinfo->aligned_height = ALIGN(streaminfo->height, in delta_get_frameinfo_default()
1193 if (streaminfo->flags & DELTA_STREAMINFO_FLAG_CROP) { in delta_get_frameinfo_default()
1195 frameinfo->crop = streaminfo->crop; in delta_get_frameinfo_default()
1197 if (streaminfo->flags & DELTA_STREAMINFO_FLAG_PIXELASPECT) { in delta_get_frameinfo_default()
1199 frameinfo->pixelaspect = streaminfo->pixelaspect; in delta_get_frameinfo_default()
1201 frameinfo->field = streaminfo->field; in delta_get_frameinfo_default()
1312 struct delta_streaminfo *streaminfo = &ctx->streaminfo; in delta_vb2_au_start_streaming() local
1324 ctx->streaminfo.streamformat, in delta_vb2_au_start_streaming()
1361 ret = call_dec_op(dec, get_streaminfo, ctx, streaminfo); in delta_vb2_au_start_streaming()
1378 delta_streaminfo_str(streaminfo, str1, sizeof(str1)), in delta_vb2_au_start_streaming()
1421 struct delta_streaminfo *streaminfo = &ctx->streaminfo; in delta_vb2_frame_queue_setup() local
1438 *num_buffers += streaminfo->dpb + DELTA_PEAK_FRAME_SMOOTHING; in delta_vb2_frame_queue_setup()