Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/media/platform/qcom/venus/helpers.c, line 1121
- drivers/media/platform/qcom/venus/vdec.c
- drivers/media/platform/qcom/venus/venc.c
Smatch caller information:
drivers/media/platform/qcom/venus/venc.c venc_queue_setup() -> venus_helper_get_framesz()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v4l2_fmt | 875,808530000,808996950,809062486,842094158,843534413,859189832 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | width | unit_byte |
| UNITS | 2 | height | unit_byte |
drivers/media/platform/qcom/venus/venc.c venc_queue_setup() -> venus_helper_get_framesz()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v4l2_fmt | 875,808530000,808996950,809062486,842094158,843534413,859189832 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | width | unit_byte |
| UNITS | 2 | height | unit_byte |
drivers/media/platform/qcom/venus/venc.c venc_try_fmt_common() -> venus_helper_get_framesz()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v4l2_fmt | 875,808530000,808996950,809062486,842094158,843534413,859189832,875967048 |
| PARAM_VALUE | 1 | width | 0 |
| PARAM_VALUE | 2 | height | 0 |
| CAPPED_DATA | 0 | v4l2_fmt | 1 |
| FUZZY_MAX | 0 | v4l2_fmt | 875967048 |
| USER_DATA | 0 | v4l2_fmt | 875,808530000,808996950,809062486,842094158,843534413,859189832 |
| USER_DATA | 1 | width | 0[c] |
| USER_DATA | 2 | height | 0[c] |
| UNITS | 1 | width | unit_byte |
| UNITS | 2 | height | unit_byte |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |
drivers/media/platform/qcom/venus/vdec.c vdec_queue_setup() -> venus_helper_get_framesz()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | width | unit_byte |
| UNITS | 2 | height | unit_byte |
drivers/media/platform/qcom/venus/vdec.c vdec_queue_setup() -> venus_helper_get_framesz()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | width | unit_byte |
| UNITS | 2 | height | unit_byte |
drivers/media/platform/qcom/venus/vdec.c vdec_s_fmt() -> venus_helper_get_framesz()
| Type | Parameter | Key | Value |
|---|---|---|---|
| USER_DATA | 0 | v4l2_fmt | 0-u32max[u] |
| USER_DATA | 1 | width | 0-u32max[u] |
| USER_DATA | 2 | height | 0-u32max[u] |
| UNITS | 1 | width | unit_byte |
| UNITS | 2 | height | unit_byte |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |
drivers/media/platform/qcom/venus/vdec.c vdec_try_fmt_common() -> venus_helper_get_framesz()
| Type | Parameter | Key | Value |
|---|---|---|---|
| CAPPED_DATA | 0 | v4l2_fmt | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | v4l2_fmt | 0-u32max[c] |
| USER_DATA | 1 | width | 1-s32max[c] |
| USER_DATA | 2 | height | 0-2147483648[c] |
| UNITS | 1 | width | unit_byte |
| UNITS | 2 | height | unit_byte |
| HALF_LOCKED2 | &inst->lock |