Lines Matching refs:pixelformat
96 frameinfo->pixelformat = V4L2_PIX_FMT_NV12; in set_default_params()
105 frameinfo->pixelformat); in set_default_params()
121 u32 pixelformat, in hva_find_encoder() argument
130 if ((enc->pixelformat == pixelformat) && in hva_find_encoder()
159 register_format(hva->encoders[i]->pixelformat, in register_formats()
190 u32 pixelformat, struct hva_enc **penc) in hva_open_encoder() argument
198 enc = (struct hva_enc *)hva_find_encoder(ctx, pixelformat, in hva_open_encoder()
202 ctx->name, (char *)&pixelformat, (char *)&streamformat); in hva_open_encoder()
207 ctx->name, (char *)&pixelformat, (char *)&streamformat); in hva_open_encoder()
239 (char *)&frame->pixelformat, in hva_dbg_summary()
277 f->pixelformat = hva->streamformats[f->index]; in hva_enum_fmt_stream()
291 f->pixelformat = hva->pixelformats[f->index]; in hva_enum_fmt_frame()
308 f->fmt.pix.pixelformat = streaminfo->streamformat; in hva_g_fmt_stream()
327 f->fmt.pix.pixelformat = frameinfo->pixelformat; in hva_g_fmt_frame()
329 frameinfo->pixelformat); in hva_g_fmt_frame()
341 u32 streamformat = pix->pixelformat; in hva_try_fmt_stream()
346 enc = hva_find_encoder(ctx, ctx->frameinfo.pixelformat, streamformat); in hva_try_fmt_stream()
350 ctx->name, (char *)&pix->pixelformat); in hva_try_fmt_stream()
405 u32 pixelformat = pix->pixelformat; in hva_try_fmt_frame() local
409 enc = hva_find_encoder(ctx, pixelformat, ctx->streaminfo.streamformat); in hva_try_fmt_frame()
413 ctx->name, (char *)&pixelformat); in hva_try_fmt_frame()
422 frame_alignment(pixelformat) - 1, in hva_try_fmt_frame()
425 frame_alignment(pixelformat) - 1, in hva_try_fmt_frame()
443 pix->bytesperline = frame_stride(width, pixelformat); in hva_try_fmt_frame()
444 pix->sizeimage = frame_size(width, height, pixelformat); in hva_try_fmt_frame()
460 ctx->name, (char *)&f->fmt.pix.pixelformat); in hva_s_fmt_stream()
474 ctx->streaminfo.streamformat = f->fmt.pix.pixelformat; in hva_s_fmt_stream()
491 ctx->name, (char *)&pix->pixelformat); in hva_s_fmt_frame()
510 ctx->frameinfo.pixelformat = pix->pixelformat; in hva_s_fmt_frame()
1038 ctx->frameinfo.pixelformat, in hva_start_streaming()