Defined in 1 files as a prototype:
Defined in 4 files as a function:
- drivers/media/platform/nvidia/tegra-vde/h264.c, line 649 (as a function)
- drivers/media/platform/rockchip/rkvdec/rkvdec-hevc-common.c, line 363 (as a function)
- drivers/media/platform/rockchip/rkvdec/rkvdec-vp9.c, line 352 (as a function)
- drivers/media/platform/verisilicon/hantro_g2_vp9_dec.c, line 92 (as a function)
Referenced in 6 files:
- drivers/media/platform/nvidia/tegra-vde/h264.c, line 808
- drivers/media/platform/rockchip/rkvdec/rkvdec-hevc.c, line 448
- drivers/media/platform/rockchip/rkvdec/rkvdec-vdpu381-hevc.c, line 462
- drivers/media/platform/rockchip/rkvdec/rkvdec-vdpu383-hevc.c, line 411
- drivers/media/platform/rockchip/rkvdec/rkvdec-vp9.c
- drivers/media/platform/verisilicon/hantro_g2_vp9_dec.c
Smatch caller information:
drivers/media/platform/rockchip/rkvdec/rkvdec-vdpu383-hevc.c config_registers() -> get_ref_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->fh.m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | dst | 7451723134324146176 |
| PARAM_VALUE | 1 | dst->base.bufs.dst | 4096-ptr_max |
| PARAM_VALUE | 1 | dst->decode_params | 4096-ptr_max |
| PARAM_VALUE | 2 | dpb_idx | 0-14 |
| BUF_SIZE | 0 | ctx | 360,392,488,768,776,784,816,856,872,880,920,928,976,1000,1016,1088,1120,1128,1144,1152,1184,1248,1288,1312,1328,1344,1352,1368,1392,1552,2416,2728,2888,4104,4824,7552,7944,8768,116088 |
| BUF_SIZE | 0 | ctx | 360,392,488,768,776,784,816,856,872,880,920,928,976,1000,1016,1088,1120,1128,1144,1152,1184,1248,1288,1312,1328,1344,1352,1368,1392,1552,2416,2728,2888,4104,4824,7552,7944,8768,116088 |
| DATA_SOURCE | 0 | ctx | $0 |
| DATA_SOURCE | 1 | dst | $1 |
| FUZZY_MAX | 2 | dpb_idx | 14 |
| HARD_MAX | 2 | dpb_idx | 14 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/media/platform/rockchip/rkvdec/rkvdec-vdpu381-hevc.c config_registers() -> get_ref_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->fh.m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | dst | 82226150327078912 |
| PARAM_VALUE | 1 | dst->base.bufs.dst | 4096-ptr_max |
| PARAM_VALUE | 1 | dst->decode_params | 4096-ptr_max |
| PARAM_VALUE | 2 | dpb_idx | 0-15 |
| BUF_SIZE | 0 | ctx | 360,392,488,768,776,784,816,856,872,880,920,928,976,1000,1016,1088,1120,1128,1144,1152,1184,1248,1288,1312,1328,1344,1352,1368,1392,1552,2416,2728,2888,4104,4824,7552,7944,8768,116088 |
| BUF_SIZE | 0 | ctx | 360,392,488,768,776,784,816,856,872,880,920,928,976,1000,1016,1088,1120,1128,1144,1152,1184,1248,1288,1312,1328,1344,1352,1368,1392,1552,2416,2728,2888,4104,4824,7552,7944,8768,116088 |
| DATA_SOURCE | 0 | ctx | $0 |
| DATA_SOURCE | 1 | dst | $1 |
| FUZZY_MAX | 2 | dpb_idx | 15 |
| HARD_MAX | 2 | dpb_idx | 15 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | dpb_idx | unit_array_size |
| HALF_LOCKED2 | &pool->lock |
drivers/media/platform/nvidia/tegra-vde/h264.c tegra_vde_h264_setup_frames() -> get_ref_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->fh.m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->h264.decode_params | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->h264.decode_params->dpb | 4096-ptr_max |
| PARAM_VALUE | 1 | dst | 4096-ptr_max |
| PARAM_VALUE | 1 | dst->vb2_buf.copied_timestamp | 1 |
| PARAM_VALUE | 2 | dpb_idx | 0-255 |
| BUF_SIZE | 0 | ctx | 360,392,488,768,776,784,816,856,872,880,920,928,976,1000,1016,1088,1120,1128,1144,1152,1184,1248,1288,1312,1328,1344,1352,1368,1392,1552,2416,2728,2888,4104,4824,7552,7944,8768,116088 |
| BUF_SIZE | 0 | ctx | 360,392,488,768,776,784,816,856,872,880,920,928,976,1000,1016,1088,1120,1128,1144,1152,1184,1248,1288,1312,1328,1344,1352,1368,1392,1552,2416,2728,2888,4104,4824,7552,7944,8768,116088 |
| BUF_SIZE | 1 | dst | (-1),1168 |
| BUF_SIZE | 1 | dst | (-1),1168 |
| CAPPED_DATA | 1 | dst->vb2_buf.num_planes | 1 |
| DATA_SOURCE | 0 | ctx | $0 |
| DATA_SOURCE | 1 | dst | r v4l2_m2m_next_dst_buf |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | dpb_idx | unit_array_size |
| HALF_LOCKED2 | &pool->lock |
drivers/media/platform/rockchip/rkvdec/rkvdec-vp9.c config_registers() -> get_ref_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->fh.m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | dst | 4096-ptr_max |
| BUF_SIZE | 0 | ctx | 360,392,488,768,776,784,816,856,872,880,920,928,976,1000,1016,1088,1120,1128,1144,1152,1184,1248,1288,1312,1328,1344,1352,1368,1392,1552,2416,2728,2888,4104,4824,7552,7944,8768,116088 |
| BUF_SIZE | 0 | ctx | 360,392,488,768,776,784,816,856,872,880,920,928,976,1000,1016,1088,1120,1128,1144,1152,1184,1248,1288,1312,1328,1344,1352,1368,1392,1552,2416,2728,2888,4104,4824,7552,7944,8768,116088 |
| CAPPED_DATA | 0 | ctx->ctrl_hdl.lock | 1 |
| CAPPED_DATA | 0 | ctx->decoded_fmt.fmt.pix_mp.height | 1 |
| CAPPED_DATA | 0 | ctx->decoded_fmt.fmt.pix_mp.width | 1 |
| DATA_SOURCE | 0 | ctx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/media/platform/rockchip/rkvdec/rkvdec-vp9.c config_registers() -> get_ref_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->fh.m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | dst | 4096-ptr_max |
| BUF_SIZE | 0 | ctx | 360,392,488,768,776,784,816,856,872,880,920,928,976,1000,1016,1088,1120,1128,1144,1152,1184,1248,1288,1312,1328,1344,1352,1368,1392,1552,2416,2728,2888,4104,4824,7552,7944,8768,116088 |
| BUF_SIZE | 0 | ctx | 360,392,488,768,776,784,816,856,872,880,920,928,976,1000,1016,1088,1120,1128,1144,1152,1184,1248,1288,1312,1328,1344,1352,1368,1392,1552,2416,2728,2888,4104,4824,7552,7944,8768,116088 |
| CAPPED_DATA | 0 | ctx->ctrl_hdl.lock | 1 |
| CAPPED_DATA | 0 | ctx->decoded_fmt.fmt.pix_mp.height | 1 |
| CAPPED_DATA | 0 | ctx->decoded_fmt.fmt.pix_mp.width | 1 |
| CAPPED_DATA | 0 | ctx->fh.m2m_ctx->cap_q_ctx.q.max_num_buffers | 1 |
| DATA_SOURCE | 0 | ctx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/media/platform/rockchip/rkvdec/rkvdec-vp9.c config_registers() -> get_ref_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->fh.m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | dst | 4096-ptr_max |
| BUF_SIZE | 0 | ctx | 360,392,488,768,776,784,816,856,872,880,920,928,976,1000,1016,1088,1120,1128,1144,1152,1184,1248,1288,1312,1328,1344,1352,1368,1392,1552,2416,2728,2888,4104,4824,7552,7944,8768,116088 |
| BUF_SIZE | 0 | ctx | 360,392,488,768,776,784,816,856,872,880,920,928,976,1000,1016,1088,1120,1128,1144,1152,1184,1248,1288,1312,1328,1344,1352,1368,1392,1552,2416,2728,2888,4104,4824,7552,7944,8768,116088 |
| CAPPED_DATA | 0 | ctx->ctrl_hdl.lock | 1 |
| CAPPED_DATA | 0 | ctx->decoded_fmt.fmt.pix_mp.height | 1 |
| CAPPED_DATA | 0 | ctx->decoded_fmt.fmt.pix_mp.width | 1 |
| CAPPED_DATA | 0 | ctx->fh.m2m_ctx->cap_q_ctx.q.max_num_buffers | 1 |
| DATA_SOURCE | 0 | ctx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/media/platform/rockchip/rkvdec/rkvdec-vp9.c config_registers() -> get_ref_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->fh.m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | dst | 4096-ptr_max |
| BUF_SIZE | 0 | ctx | 360,392,488,768,776,784,816,856,872,880,920,928,976,1000,1016,1088,1120,1128,1144,1152,1184,1248,1288,1312,1328,1344,1352,1368,1392,1552,2416,2728,2888,4104,4824,7552,7944,8768,116088 |
| BUF_SIZE | 0 | ctx | 360,392,488,768,776,784,816,856,872,880,920,928,976,1000,1016,1088,1120,1128,1144,1152,1184,1248,1288,1312,1328,1344,1352,1368,1392,1552,2416,2728,2888,4104,4824,7552,7944,8768,116088 |
| CAPPED_DATA | 0 | ctx->ctrl_hdl.lock | 1 |
| CAPPED_DATA | 0 | ctx->decoded_fmt.fmt.pix_mp.height | 1 |
| CAPPED_DATA | 0 | ctx->decoded_fmt.fmt.pix_mp.width | 1 |
| CAPPED_DATA | 0 | ctx->fh.m2m_ctx->cap_q_ctx.q.max_num_buffers | 1 |
| DATA_SOURCE | 0 | ctx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/media/platform/rockchip/rkvdec/rkvdec-hevc.c config_registers() -> get_ref_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->fh.m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | dst | 720500959339339776 |
| PARAM_VALUE | 1 | dst->base.bufs.dst | 4096-ptr_max |
| PARAM_VALUE | 1 | dst->decode_params | 4096-ptr_max |
| PARAM_VALUE | 2 | dpb_idx | 0-14 |
| BUF_SIZE | 0 | ctx | 360,392,488,768,776,784,816,856,872,880,920,928,976,1000,1016,1088,1120,1128,1144,1152,1184,1248,1288,1312,1328,1344,1352,1368,1392,1552,2416,2728,2888,4104,4824,7552,7944,8768,116088 |
| BUF_SIZE | 0 | ctx | 360,392,488,768,776,784,816,856,872,880,920,928,976,1000,1016,1088,1120,1128,1144,1152,1184,1248,1288,1312,1328,1344,1352,1368,1392,1552,2416,2728,2888,4104,4824,7552,7944,8768,116088 |
| DATA_SOURCE | 0 | ctx | $0 |
| DATA_SOURCE | 1 | dst | $1 |
| FUZZY_MAX | 2 | dpb_idx | 14 |
| HARD_MAX | 2 | dpb_idx | 14 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | dpb_idx | unit_array_size |
| HALF_LOCKED2 | &pool->lock |
drivers/media/platform/verisilicon/hantro_g2_vp9_dec.c config_ref() -> get_ref_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->fh.m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | dst | 4096-ptr_max |
| BUF_SIZE | 0 | ctx | 360,392,488,768,776,784,816,856,872,880,920,928,976,1000,1016,1088,1120,1128,1144,1152,1184,1248,1288,1312,1328,1344,1352,1368,1392,1552,2416,2728,2888,4104,4824,7552,7944,8768,116088 |
| BUF_SIZE | 0 | ctx | 360,392,488,768,776,784,816,856,872,880,920,928,976,1000,1016,1088,1120,1128,1144,1152,1184,1248,1288,1312,1328,1344,1352,1368,1392,1552,2416,2728,2888,4104,4824,7552,7944,8768,116088 |
| CAPPED_DATA | 0 | ctx->ctrl_handler.lock | 1 |
| CAPPED_DATA | 0 | ctx->dev->variant->num_clocks | 1 |
| DATA_SOURCE | 0 | ctx | $0 |
| DATA_SOURCE | 2 | dpb_idx | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/media/platform/verisilicon/hantro_g2_vp9_dec.c config_registers() -> get_ref_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->fh.m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | dst | 4096-ptr_max |
| BUF_SIZE | 0 | ctx | 360,392,488,768,776,784,816,856,872,880,920,928,976,1000,1016,1088,1120,1128,1144,1152,1184,1248,1288,1312,1328,1344,1352,1368,1392,1552,2416,2728,2888,4104,4824,7552,7944,8768,116088 |
| BUF_SIZE | 0 | ctx | 360,392,488,768,776,784,816,856,872,880,920,928,976,1000,1016,1088,1120,1128,1144,1152,1184,1248,1288,1312,1328,1344,1352,1368,1392,1552,2416,2728,2888,4104,4824,7552,7944,8768,116088 |
| CAPPED_DATA | 0 | ctx->ctrl_handler.lock | 1 |
| CAPPED_DATA | 0 | ctx->dev->variant->num_clocks | 1 |
| DATA_SOURCE | 0 | ctx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |