Defined in 2 files as a function:
- drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_h264_if.c, line 139 (as a function)
- drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_h264_req_if.c, line 157 (as a function)
Referenced in 2 files:
- drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_h264_if.c, line 289
- drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_h264_req_if.c, line 295
Smatch caller information:
drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_h264_req_if.c vdec_h264_slice_init() -> allocate_prediction_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->ctx->current_codec | 0,808996950,809062486,825380173-825380174,825380185,825381965,842091854,842091865,875967048,875967059,892744275,1177638465,1178095702,1178161238,1379030093,1412584525 |
| PARAM_VALUE | 0 | inst->ctx->dec_if | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->ctx->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->ctx->hw_id | 0-1 |
| PARAM_VALUE | 0 | inst->ctx->quantization | 0-255 |
| PARAM_VALUE | 0 | inst->ctx->state | 0 |
| PARAM_VALUE | 0 | inst->ctx->xfer_func | 0-255 |
| PARAM_VALUE | 0 | inst->ctx->ycbcr_enc | 0-255 |
| PARAM_VALUE | 0 | inst->vpu.ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->vpu.ctx->current_codec | 0,808996950,809062486,825380173-825380174,825380185,825381965,842091854,842091865,875967048,875967059,892744275,1177638465,1178095702,1178161238,1379030093,1412584525 |
| PARAM_VALUE | 0 | inst->vpu.ctx->dec_if | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->vpu.ctx->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->vpu.ctx->dev->fw_handler | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->vpu.ctx->dev->fw_handler->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->vpu.ctx->dev->fw_handler->ops->ipi_register | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->vpu.ctx->dev->fw_handler->scp->clk->core->enable_count | 0-4294967295 |
| PARAM_VALUE | 0 | inst->vpu.ctx->dev->fw_handler->scp->clk->core->parent->enable_count | 0-4294967295 |
| PARAM_VALUE | 0 | inst->vpu.ctx->dev->fw_handler->scp->send_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inst->vpu.ctx->dev->fw_handler->scp->send_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | inst->vpu.ctx->dev->fw_handler->scp->send_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | inst->vpu.ctx->dev->fw_handler->scp->send_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | inst->vpu.ctx->hw_id | 0-1 |
| PARAM_VALUE | 0 | inst->vpu.ctx->quantization | 0-255 |
| PARAM_VALUE | 0 | inst->vpu.ctx->state | 0 |
| PARAM_VALUE | 0 | inst->vpu.ctx->vpu_inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->vpu.ctx->xfer_func | 0-255 |
| PARAM_VALUE | 0 | inst->vpu.ctx->ycbcr_enc | 0-255 |
| PARAM_VALUE | 0 | inst->vpu.failure | 0 |
| PARAM_VALUE | 0 | inst->vpu.handler | 2526239552024031232 |
| PARAM_VALUE | 0 | inst->vpu.id | 1 |
| PARAM_VALUE | 0 | inst->vpu.signaled | 0 |
| PARAM_VALUE | 0 | inst->vpu.vsi | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->vpu.wq.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->vpu.wq.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->vpu.wq.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->vpu.wq.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->vpu.wq.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->vsi_ctx.dec.realloc_mv_buf | 1 |
| PARAM_VALUE | 0 | inst->vsi_ctx.dec.resolution_changed | 1 |
| BUF_SIZE | 0 | inst | 4664 |
| CAPPED_DATA | 0 | inst->ctx->current_codec | 1 |
| CAPPED_DATA | 0 | inst->vpu.ctx->current_codec | 1 |
| DATA_SOURCE | 0 | inst | r _kzalloc_noprof |
| USER_DATA | 0 | inst->ctx->colorspace | 0-u32max[u] |
| USER_DATA | 0 | inst->ctx->quantization | 0-255[u] |
| USER_DATA | 0 | inst->ctx->xfer_func | 0-255[u] |
| USER_DATA | 0 | inst->ctx->ycbcr_enc | 0-255[u] |
| USER_DATA | 0 | inst->vpu.ctx->colorspace | 0-u32max[u] |
| USER_DATA | 0 | inst->vpu.ctx->quantization | 0-255[u] |
| USER_DATA | 0 | inst->vpu.ctx->xfer_func | 0-255[u] |
| USER_DATA | 0 | inst->vpu.ctx->ycbcr_enc | 0-255[u] |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |
drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_h264_if.c vdec_h264_init() -> allocate_prediction_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->ctx->current_codec | 0,808996950,809062486,825380173-825380174,825380185,825381965,842091854,842091865,875967048,875967059,892744275,1177638465,1178095702,1178161238,1379030093,1412584525 |
| PARAM_VALUE | 0 | inst->ctx->dec_if | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->ctx->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->ctx->hw_id | 0-1 |
| PARAM_VALUE | 0 | inst->ctx->quantization | 0-255 |
| PARAM_VALUE | 0 | inst->ctx->state | 0 |
| PARAM_VALUE | 0 | inst->ctx->xfer_func | 0-255 |
| PARAM_VALUE | 0 | inst->ctx->ycbcr_enc | 0-255 |
| PARAM_VALUE | 0 | inst->vpu.ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->vpu.ctx->current_codec | 0,808996950,809062486,825380173-825380174,825380185,825381965,842091854,842091865,875967048,875967059,892744275,1177638465,1178095702,1178161238,1379030093,1412584525 |
| PARAM_VALUE | 0 | inst->vpu.ctx->dec_if | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->vpu.ctx->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->vpu.ctx->dev->fw_handler | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->vpu.ctx->dev->fw_handler->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->vpu.ctx->dev->fw_handler->ops->ipi_register | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->vpu.ctx->dev->fw_handler->scp->clk->core->enable_count | 0-4294967295 |
| PARAM_VALUE | 0 | inst->vpu.ctx->dev->fw_handler->scp->clk->core->parent->enable_count | 0-4294967295 |
| PARAM_VALUE | 0 | inst->vpu.ctx->dev->fw_handler->scp->send_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inst->vpu.ctx->dev->fw_handler->scp->send_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | inst->vpu.ctx->dev->fw_handler->scp->send_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | inst->vpu.ctx->dev->fw_handler->scp->send_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | inst->vpu.ctx->hw_id | 0-1 |
| PARAM_VALUE | 0 | inst->vpu.ctx->quantization | 0-255 |
| PARAM_VALUE | 0 | inst->vpu.ctx->state | 0 |
| PARAM_VALUE | 0 | inst->vpu.ctx->vpu_inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->vpu.ctx->xfer_func | 0-255 |
| PARAM_VALUE | 0 | inst->vpu.ctx->ycbcr_enc | 0-255 |
| PARAM_VALUE | 0 | inst->vpu.failure | 0 |
| PARAM_VALUE | 0 | inst->vpu.handler | 2526239552024031232 |
| PARAM_VALUE | 0 | inst->vpu.id | 1 |
| PARAM_VALUE | 0 | inst->vpu.signaled | 0 |
| PARAM_VALUE | 0 | inst->vpu.vsi | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->vpu.wq.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->vpu.wq.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->vpu.wq.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->vpu.wq.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->vpu.wq.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->vsi | 4096-ptr_max |
| BUF_SIZE | 0 | inst | 616 |
| CAPPED_DATA | 0 | inst->ctx->current_codec | 1 |
| CAPPED_DATA | 0 | inst->vpu.ctx->current_codec | 1 |
| DATA_SOURCE | 0 | inst | r _kzalloc_noprof |
| USER_DATA | 0 | inst->ctx->colorspace | 0-u32max[u] |
| USER_DATA | 0 | inst->ctx->quantization | 0-255[u] |
| USER_DATA | 0 | inst->ctx->xfer_func | 0-255[u] |
| USER_DATA | 0 | inst->ctx->ycbcr_enc | 0-255[u] |
| USER_DATA | 0 | inst->vpu.ctx->colorspace | 0-u32max[u] |
| USER_DATA | 0 | inst->vpu.ctx->quantization | 0-255[u] |
| USER_DATA | 0 | inst->vpu.ctx->xfer_func | 0-255[u] |
| USER_DATA | 0 | inst->vpu.ctx->ycbcr_enc | 0-255[u] |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |