Lines Matching defs:ctx

40 hantro_get_formats(const struct hantro_ctx *ctx, unsigned int *num_fmts, bool need_postproc)  in hantro_get_formats()
61 hantro_get_postproc_formats(const struct hantro_ctx *ctx, in hantro_get_postproc_formats()
112 hantro_find_format(const struct hantro_ctx *ctx, u32 fourcc) in hantro_find_format()
130 hantro_get_default_fmt(const struct hantro_ctx *ctx, bool bitstream, in hantro_get_default_fmt()
169 struct hantro_ctx *ctx = fh_to_ctx(priv); in vidioc_enum_framesizes() local
201 struct hantro_ctx *ctx = fh_to_ctx(priv); in vidioc_enum_fmt() local
273 struct hantro_ctx *ctx = fh_to_ctx(priv); in vidioc_g_fmt_out_mplane() local
286 struct hantro_ctx *ctx = fh_to_ctx(priv); in vidioc_g_fmt_cap_mplane() local
295 static int hantro_try_fmt(const struct hantro_ctx *ctx, in hantro_try_fmt()
402 hantro_reset_encoded_fmt(struct hantro_ctx *ctx) in hantro_reset_encoded_fmt()
421 hantro_reset_raw_fmt(struct hantro_ctx *ctx, int bit_depth, bool need_postproc) in hantro_reset_raw_fmt()
454 void hantro_reset_fmts(struct hantro_ctx *ctx) in hantro_reset_fmts()
461 hantro_update_requires_request(struct hantro_ctx *ctx, u32 fourcc) in hantro_update_requires_request()
480 hantro_update_requires_hold_capture_buf(struct hantro_ctx *ctx, u32 fourcc) in hantro_update_requires_hold_capture_buf()
503 static int hantro_set_fmt_out(struct hantro_ctx *ctx, in hantro_set_fmt_out()
577 static int hantro_set_fmt_cap(struct hantro_ctx *ctx, in hantro_set_fmt_cap()
655 struct hantro_ctx *ctx = fh_to_ctx(priv); in vidioc_g_selection() local
686 struct hantro_ctx *ctx = fh_to_ctx(priv); in vidioc_s_selection() local
733 struct hantro_ctx *ctx = fh_to_ctx(priv); in vidioc_encoder_cmd() local
800 struct hantro_ctx *ctx = vb2_get_drv_priv(vq); in hantro_queue_setup() local
853 struct hantro_ctx *ctx = vb2_get_drv_priv(vq); in hantro_buf_prepare() local
881 struct hantro_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in hantro_buf_queue() local
905 struct hantro_ctx *ctx = vb2_get_drv_priv(q); in hantro_vq_is_coded() local
912 struct hantro_ctx *ctx = vb2_get_drv_priv(q); in hantro_start_streaming() local
956 struct hantro_ctx *ctx = vb2_get_drv_priv(q); in hantro_return_bufs() local
972 struct hantro_ctx *ctx = vb2_get_drv_priv(q); in hantro_stop_streaming() local
999 struct hantro_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in hantro_buf_request_complete() local