Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/media/platform/qcom/venus/venc.c venc_enum_frameintervals() -> frame_width_min()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core | 4096-ptr_max |
| CAPPED_DATA | 0 | inst->core->codecs_count | 1 |
| DATA_SOURCE | 0 | inst | r to_inst |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |
drivers/media/platform/qcom/venus/venc.c venc_enum_framesizes() -> frame_width_min()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| DATA_SOURCE | 0 | inst | r to_inst |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |
drivers/media/platform/qcom/venus/venc.c venc_try_fmt_common() -> frame_width_min()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| DATA_SOURCE | 0 | inst | $0 |
| USER_DATA | 0 | inst->colorspace | 0-u32max[u] |
| USER_DATA | 0 | inst->out_height | 0-u32max |
| USER_DATA | 0 | inst->out_width | 0-u32max |
| USER_DATA | 0 | inst->quantization | 0-255[u] |
| USER_DATA | 0 | inst->xfer_func | 0-255[u] |
| USER_DATA | 0 | inst->ycbcr_enc | 0-255[u] |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |
drivers/media/platform/qcom/venus/vdec.c vdec_enum_framesizes() -> frame_width_min()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| DATA_SOURCE | 0 | inst | r to_inst |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |
drivers/media/platform/qcom/venus/vdec.c vdec_inst_init() -> frame_width_min()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->hfi_codec | 2 |
| PARAM_VALUE | 0 | inst->session_type | 2 |
| BUF_SIZE | 0 | inst | 4104 |
| BUF_SIZE | 0 | inst->core | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | inst->fmt_cap | 224 |
| BUF_SIZE | 0 | inst->fmt_out | 160 |
| DATA_SOURCE | 0 | inst | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | inst->nonblock | 0-1[c] |
| NO_OVERFLOW_SIMPLE | 0 | inst->ctrl_handler.nr_of_buckets |
drivers/media/platform/qcom/venus/vdec.c vdec_inst_init() -> frame_width_min()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->crop.height | 0,32-u32max |
| PARAM_VALUE | 0 | inst->height | 0,32-u32max |
| PARAM_VALUE | 0 | inst->hfi_codec | 2 |
| PARAM_VALUE | 0 | inst->session_type | 2 |
| BUF_SIZE | 0 | inst | 4104 |
| BUF_SIZE | 0 | inst->core | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | inst->fmt_cap | 224 |
| BUF_SIZE | 0 | inst->fmt_out | 160 |
| CAPPED_DATA | 0 | inst->core->codecs_count | 1 |
| DATA_SOURCE | 0 | inst | $0 |
| BIT_INFO | 0 | inst->crop.height | 0x0,0xffffffe0 |
| BIT_INFO | 0 | inst->height | 0x0,0xffffffe0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | inst->nonblock | 0-1[c] |
| NO_OVERFLOW_SIMPLE | 0 | inst->ctrl_handler.nr_of_buckets |
drivers/media/platform/qcom/venus/vdec.c vdec_session_init() -> frame_width_min()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->hfi_codec | 2,4,8,16,32,128,256,4096,8192,16384 |
| BUF_SIZE | 0 | inst | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | inst | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | inst | $0 |
| STR_LEN | 0 | inst | (-1) |
| STR_LEN | 0 | inst | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/media/platform/qcom/venus/vdec.c vdec_try_fmt_common() -> frame_width_min()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| DATA_SOURCE | 0 | inst | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | inst->colorspace | 0-u32max[u] |
| USER_DATA | 0 | inst->out_height | 0-u32max |
| USER_DATA | 0 | inst->out_width | 0-u32max |
| USER_DATA | 0 | inst->quantization | 0-255[u] |
| USER_DATA | 0 | inst->xfer_func | 0-255[u] |
| USER_DATA | 0 | inst->ycbcr_enc | 0-255[u] |
| HALF_LOCKED2 | 0 | &inst->lock |