Home
last modified time | relevance | path

Searched refs:tegra_ctx (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/media/platform/nvidia/tegra-vde/
H A Dv4l2.c49 static inline struct tegra_ctx *file_to_tegra_ctx(struct file *file) in file_to_tegra_ctx()
51 return container_of(file_to_v4l2_fh(file), struct tegra_ctx, fh); in file_to_tegra_ctx()
54 static void tegra_set_control_data(struct tegra_ctx *ctx, void *data, u32 id) in tegra_set_control_data()
69 void tegra_vde_prepare_control_data(struct tegra_ctx *ctx, u32 id) in tegra_vde_prepare_control_data()
89 struct tegra_ctx *ctx = vb2_get_drv_priv(vq); in tegra_queue_setup()
127 struct tegra_ctx *ctx = vb2_get_drv_priv(vq); in __tegra_buf_cleanup()
151 struct tegra_ctx *ctx = vb2_get_drv_priv(vq); in tegra_buf_init()
220 struct tegra_ctx *ctx = vb2_get_drv_priv(vq); in tegra_buf_prepare()
283 struct tegra_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in tegra_buf_queue()
291 struct tegra_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in tegra_buf_request_complete()
[all …]
H A Dvde.h45 struct tegra_ctx;
72 int (*decode_run)(struct tegra_ctx *ctx);
73 int (*decode_wait)(struct tegra_ctx *ctx);
144 struct tegra_ctx { struct
175 void tegra_vde_prepare_control_data(struct tegra_ctx *ctx, u32 id); argument
183 int tegra_vde_h264_decode_run(struct tegra_ctx *ctx);
184 int tegra_vde_h264_decode_wait(struct tegra_ctx *ctx);
H A Dh264.c649 static struct vb2_buffer *get_ref_buf(struct tegra_ctx *ctx, in get_ref_buf()
670 static int tegra_vde_validate_vb_size(struct tegra_ctx *ctx, in tegra_vde_validate_vb_size()
687 static int tegra_vde_h264_setup_frame(struct tegra_ctx *ctx, in tegra_vde_h264_setup_frame()
751 static int tegra_vde_h264_setup_frames(struct tegra_ctx *ctx, in tegra_vde_h264_setup_frames()
858 static int tegra_vde_h264_setup_context(struct tegra_ctx *ctx, in tegra_vde_h264_setup_context()
918 int tegra_vde_h264_decode_run(struct tegra_ctx *ctx) in tegra_vde_h264_decode_run()
940 int tegra_vde_h264_decode_wait(struct tegra_ctx *ctx) in tegra_vde_h264_decode_wait()