Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/media/platform/verisilicon/hantro_drv.c hantro_av1_s_ctrl() -> hantro_reset_raw_fmt()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 1 bit_depth 0-255
CAPPED_DATA 1 bit_depth 1
RX_PATH
TASK_NOT_RUNNING

drivers/media/platform/verisilicon/hantro_drv.c hantro_hevc_s_ctrl() -> hantro_reset_raw_fmt()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 2 need_postproc 0
PARAM_COMPARE 1 bit_depth != $0->bit_depth
RX_PATH
TASK_NOT_RUNNING

drivers/media/platform/verisilicon/hantro_drv.c hantro_vp9_s_ctrl() -> hantro_reset_raw_fmt()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 1 bit_depth 0-255
PARAM_VALUE 2 need_postproc 0
PARAM_COMPARE 1 bit_depth != $0->bit_depth
RX_PATH
TASK_NOT_RUNNING

drivers/media/platform/verisilicon/hantro_v4l2.c hantro_reset_fmts() -> hantro_reset_raw_fmt()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->dev 4096-ptr_max
PARAM_VALUE 0 ctx->dev->variant->dec_fmts->fourcc 875,808530000,808530004,842091854,842091865,842093654,842094158,875967059,892425302,892425806,892744275,1177638465,1178095702,1178161238,1195724874,1395803981,1448695129,1498831189
PARAM_VALUE 0 ctx->dev->variant->enc_fmts->fourcc 875,808530000,808530004,842091854,842091865,842093654,842094158,875967059,892425302,892425806,892744275,1177638465,1178095702,1178161238,1195724874,1395803981,1448695129,1498831189
PARAM_VALUE 0 ctx->fh.available.next 4096-ptr_max
PARAM_VALUE 0 ctx->fh.available.next->next 4096-ptr_max
PARAM_VALUE 0 ctx->fh.available.prev 4096-ptr_max
PARAM_VALUE 0 ctx->fh.available.prev->next 4096-ptr_max
PARAM_VALUE 0 ctx->fh.available.prev->prev 4096-ptr_max
PARAM_VALUE 0 ctx->fh.list.next->next 4096-ptr_max
PARAM_VALUE 0 ctx->fh.list.prev->next 4096-ptr_max
PARAM_VALUE 0 ctx->fh.list.prev->prev 4096-ptr_max
PARAM_VALUE 0 ctx->fh.m2m_ctx 4096-ptr_max
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.q->name 0-255
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.q.allow_zero_bytesused 1
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.q.buf_ops 7349354608699604992
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.q.buf_ops->copy_timestamp 3401818510708633600
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.q.buf_ops->fill_user_buffer 5841025948992888832
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.q.buf_ops->fill_vb2_buffer 5041348282711113728
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.q.buf_ops->init_buffer 384438844081053696
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.q.buf_ops->verify_planes_array 6675302666440089600
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.q.buf_struct_size 1-u32max
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.q.dma_dir 0-2
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.q.done_list.next 4096-ptr_max
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.q.done_list.next->next 4096-ptr_max
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.q.done_list.prev 4096-ptr_max
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.q.done_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.q.done_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.q.done_wq.head.next 4096-ptr_max
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.q.done_wq.head.next->next 4096-ptr_max
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.q.done_wq.head.prev 4096-ptr_max
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.q.done_wq.head.prev->next 4096-ptr_max
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.q.done_wq.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.q.io_modes 17
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.q.lock 4096-ptr_max
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.q.max_num_buffers 32-32768
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.q.mem_ops 7126069751673204736
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.q.mem_ops->alloc 6293113822423273472,6330750190366953472,7519721527121215488
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.q.mem_ops->attach_dmabuf 1858567956459560960,3479670385836724224,5277504881841123328
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.q.mem_ops->cookie 0,641327336628170752,3162532851481600000
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.q.mem_ops->detach_dmabuf 3410807130027110400,4892625987110068224,7546152314795634688
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.q.mem_ops->finish 0,7831720353492443136,8426868448817672192
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.q.mem_ops->get_dmabuf 4966350378999779328,5829389519280840704,7806898295852728320
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.q.mem_ops->get_userptr 3997894065265582080,8551535983830851584,8987292013664378880
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.q.mem_ops->map_dmabuf 78988675066241024,3735317100973821952,8283806421244649472
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.q.mem_ops->mmap 2215564063302266880,8094202767794364416,8681859502766751744
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.q.mem_ops->num_users 2566997261128327168,3973495475821363200,5807084625353371648
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.q.mem_ops->prepare 0,2738408753591672832,5123347061501558784
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.q.mem_ops->put 2436249697667039232,3796772036023631872,8586939048344076288
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.q.mem_ops->put_userptr 1769780283228438528,5392747570589597696,6545968692975132672
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.q.mem_ops->unmap_dmabuf 4404506784304795648,5229981645150371840,8124731683501883392
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.q.mem_ops->vaddr 2669656819925127168,5085390004325515264,7201062519048105984
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.q.memory 0
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.q.min_queued_buffers 1
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.q.min_reqbufs_allocation 1-32768
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.q.mmap_lock.magic 4096-ptr_max
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.q.ops 5036650551742902272
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.q.ops->buf_prepare 9141975910469660672
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.q.ops->buf_queue 1871948834329288704
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.q.ops->queue_setup 8847544982033448960
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.q.ops->start_streaming 3916451180183973888
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.q.ops->stop_streaming 6423753287711428608
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.q.queued_list.next 4096-ptr_max
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.q.queued_list.next->next 4096-ptr_max
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.q.queued_list.prev 4096-ptr_max
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.q.queued_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.q.queued_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.q.quirk_poll_must_check_waiting_for_buffers 1
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.q.timestamp_flags 16384
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.q.type 1
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.rdy_queue.next 4096-ptr_max
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.rdy_queue.next->next 4096-ptr_max
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.rdy_queue.prev 4096-ptr_max
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.rdy_queue.prev->next 4096-ptr_max
PARAM_VALUE 0 ctx->fh.m2m_ctx->cap_q_ctx.rdy_queue.prev->prev 4096-ptr_max
PARAM_VALUE 0 ctx->fh.m2m_ctx->finished.head.next 4096-ptr_max
PARAM_VALUE 0 ctx->fh.m2m_ctx->finished.head.next->next 4096-ptr_max
PARAM_VALUE 0 ctx->fh.m2m_ctx->finished.head.prev 4096-ptr_max
PARAM_VALUE 0 ctx->fh.m2m_ctx->finished.head.prev->next 4096-ptr_max
PARAM_VALUE 0 ctx->fh.m2m_ctx->finished.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.q->name 0-255
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.q.allow_zero_bytesused 1
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.q.buf_ops 7349354608699604992
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.q.buf_ops->copy_timestamp 3401818510708633600
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.q.buf_ops->fill_user_buffer 5841025948992888832
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.q.buf_ops->fill_vb2_buffer 5041348282711113728
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.q.buf_ops->init_buffer 384438844081053696
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.q.buf_ops->verify_planes_array 6675302666440089600
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.q.buf_struct_size 1-u32max
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.q.dma_dir 0-2
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.q.done_list.next 4096-ptr_max
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.q.done_list.next->next 4096-ptr_max
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.q.done_list.prev 4096-ptr_max
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.q.done_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.q.done_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.q.done_wq.head.next 4096-ptr_max
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.q.done_wq.head.next->next 4096-ptr_max
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.q.done_wq.head.prev 4096-ptr_max
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.q.done_wq.head.prev->next 4096-ptr_max
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.q.done_wq.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.q.io_modes 17,19
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.q.lock 4096-ptr_max
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.q.max_num_buffers 32-32768
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.q.mem_ops 6949902029773307904,7126069751673204736
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.q.mem_ops->alloc 6293113822423273472,6330750190366953472,7519721527121215488
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.q.mem_ops->attach_dmabuf 1858567956459560960,3479670385836724224,5277504881841123328
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.q.mem_ops->cookie 0,641327336628170752,3162532851481600000
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.q.mem_ops->detach_dmabuf 3410807130027110400,4892625987110068224,7546152314795634688
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.q.mem_ops->finish 0,7831720353492443136,8426868448817672192
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.q.mem_ops->get_dmabuf 4966350378999779328,5829389519280840704,7806898295852728320
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.q.mem_ops->get_userptr 3997894065265582080,8551535983830851584,8987292013664378880
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.q.mem_ops->map_dmabuf 78988675066241024,3735317100973821952,8283806421244649472
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.q.mem_ops->mmap 2215564063302266880,8094202767794364416,8681859502766751744
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.q.mem_ops->num_users 2566997261128327168,3973495475821363200,5807084625353371648
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.q.mem_ops->prepare 0,2738408753591672832,5123347061501558784
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.q.mem_ops->put 2436249697667039232,3796772036023631872,8586939048344076288
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.q.mem_ops->put_userptr 1769780283228438528,5392747570589597696,6545968692975132672
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.q.mem_ops->unmap_dmabuf 4404506784304795648,5229981645150371840,8124731683501883392
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.q.mem_ops->vaddr 2669656819925127168,5085390004325515264,7201062519048105984
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.q.memory 0
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.q.min_queued_buffers 1
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.q.min_reqbufs_allocation 1-32768
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.q.mmap_lock.magic 4096-ptr_max
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.q.ops 5036650551742902272
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.q.ops->buf_prepare 9141975910469660672
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.q.ops->buf_queue 1871948834329288704
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.q.ops->queue_setup 8847544982033448960
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.q.ops->start_streaming 3916451180183973888
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.q.ops->stop_streaming 6423753287711428608
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.q.queued_list.next 4096-ptr_max
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.q.queued_list.next->next 4096-ptr_max
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.q.queued_list.prev 4096-ptr_max
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.q.queued_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.q.queued_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.q.quirk_poll_must_check_waiting_for_buffers 1
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.q.timestamp_flags 16384
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.q.type 2
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.rdy_queue.next 4096-ptr_max
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.rdy_queue.next->next 4096-ptr_max
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.rdy_queue.prev 4096-ptr_max
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.rdy_queue.prev->next 4096-ptr_max
PARAM_VALUE 0 ctx->fh.m2m_ctx->out_q_ctx.rdy_queue.prev->prev 4096-ptr_max
PARAM_VALUE 0 ctx->fh.m2m_ctx->priv 4096-ptr_max
PARAM_VALUE 0 ctx->fh.m2m_ctx->q_lock 4096-ptr_max
PARAM_VALUE 0 ctx->fh.m2m_ctx->queue.next 4096-ptr_max
PARAM_VALUE 0 ctx->fh.m2m_ctx->queue.next->next 4096-ptr_max
PARAM_VALUE 0 ctx->fh.m2m_ctx->queue.prev 4096-ptr_max
PARAM_VALUE 0 ctx->fh.m2m_ctx->queue.prev->next 4096-ptr_max
PARAM_VALUE 0 ctx->fh.m2m_ctx->queue.prev->prev 4096-ptr_max
PARAM_VALUE 0 ctx->fh.prio 1-3
PARAM_VALUE 0 ctx->fh.sequence u32max
PARAM_VALUE 0 ctx->fh.subscribe_lock.dep_map->name 0-255
PARAM_VALUE 0 ctx->fh.subscribe_lock.first_waiter 0
PARAM_VALUE 0 ctx->fh.subscribe_lock.magic 4096-ptr_max
PARAM_VALUE 0 ctx->fh.subscribe_lock.osq.tail.counter 0
PARAM_VALUE 0 ctx->fh.subscribe_lock.owner.counter 0
PARAM_VALUE 0 ctx->fh.subscribed.next 4096-ptr_max
PARAM_VALUE 0 ctx->fh.subscribed.next->next 4096-ptr_max
PARAM_VALUE 0 ctx->fh.subscribed.prev 4096-ptr_max
PARAM_VALUE 0 ctx->fh.subscribed.prev->next 4096-ptr_max
PARAM_VALUE 0 ctx->fh.subscribed.prev->prev 4096-ptr_max
PARAM_VALUE 0 ctx->fh.vdev 4096-ptr_max
PARAM_VALUE 0 ctx->fh.vdev->fh_list.next 4096-ptr_max
PARAM_VALUE 0 ctx->fh.vdev->fh_list.next->next 4096-ptr_max
PARAM_VALUE 0 ctx->fh.vdev->fh_list.next->prev 4096-ptr_max
PARAM_VALUE 0 ctx->fh.vdev->fh_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ctx->fh.wait.head.next 4096-ptr_max
PARAM_VALUE 0 ctx->fh.wait.head.next->next 4096-ptr_max
PARAM_VALUE 0 ctx->fh.wait.head.prev 4096-ptr_max
PARAM_VALUE 0 ctx->fh.wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 ctx->fh.wait.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 ctx->vpu_src_fmt->codec_mode (-1)-6
PARAM_VALUE 0 ctx->vpu_src_fmt->enc_fmt 0-3
PARAM_VALUE 0 ctx->vpu_src_fmt->fourcc 808530000,808530004,842091854,842091865,842093654,842094158,875967059,892425302,892425806,892744275,1177638465,1178095702,1178161238,1195724874,1395803981,1448695129,1498831189
PARAM_VALUE 0 ctx->vpu_src_fmt->header_size 0,624
PARAM_VALUE 0 ctx->vpu_src_fmt->max_depth 0,2
PARAM_VALUE 0 ctx->vpu_src_fmt->name 0
PARAM_VALUE 1 bit_depth 8
PARAM_VALUE 2 need_postproc 0
BUF_SIZE 0 ctx 116088
BUF_SIZE 0 ctx->dev s32min-(-2),1-s32max
BUF_SIZE 0 ctx->fh.m2m_ctx 1616
BUF_SIZE 0 ctx->fh.m2m_ctx->priv 116088
DATA_SOURCE 0 ctx $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/media/platform/verisilicon/hantro_v4l2.c hantro_set_fmt_cap() -> hantro_reset_raw_fmt()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->dev->variant->dec_fmts->codec_mode (-1)-6
PARAM_VALUE 0 ctx->dev->variant->dec_fmts->enc_fmt 0-3
PARAM_VALUE 0 ctx->dev->variant->dec_fmts->fourcc 808530000,808530004,842091854,842091865,842093654,842094158,875967059,892425302,892425806,892744275,1177638465,1178095702,1178161238,1195724874,1395803981,1448695129,1498831189
PARAM_VALUE 0 ctx->dev->variant->dec_fmts->header_size 0,624
PARAM_VALUE 0 ctx->dev->variant->dec_fmts->max_depth 0,2
PARAM_VALUE 0 ctx->dev->variant->dec_fmts->name 0
PARAM_VALUE 0 ctx->dev->variant->enc_fmts->codec_mode (-1)-6
PARAM_VALUE 0 ctx->dev->variant->enc_fmts->enc_fmt 0-3
PARAM_VALUE 0 ctx->dev->variant->enc_fmts->fourcc 808530000,808530004,842091854,842091865,842093654,842094158,875967059,892425302,892425806,892744275,1177638465,1178095702,1178161238,1195724874,1395803981,1448695129,1498831189
PARAM_VALUE 0 ctx->dev->variant->enc_fmts->header_size 0,624
PARAM_VALUE 0 ctx->dev->variant->enc_fmts->max_depth 0,2
PARAM_VALUE 0 ctx->dev->variant->enc_fmts->name 0
PARAM_VALUE 0 ctx->dst_fmt.field 1
PARAM_VALUE 0 ctx->dst_fmt.pixelformat 875,808530000,808530004,842091854,842091865,842093654,842094158,875967059,892425302,892425806,892744275,1177638465,1178095702,1178161238,1195724874,1395803981,1448695129,1498831189
PARAM_VALUE 0 ctx->is_encoder 1
PARAM_VALUE 0 ctx->ref_fmt.num_planes 1-3
PARAM_VALUE 0 ctx->ref_fmt.pixelformat 808530000,808530004
PARAM_VALUE 0 ctx->vpu_dst_fmt 4096-ptr_max
PARAM_VALUE 0 ctx->vpu_dst_fmt->fourcc 875,808530000,808530004,842091854,842091865,842093654,842094158
PARAM_VALUE 0 ctx->vpu_src_fmt->codec_mode (-1)-6
PARAM_VALUE 0 ctx->vpu_src_fmt->enc_fmt 0-3
PARAM_VALUE 0 ctx->vpu_src_fmt->fourcc 808530000,808530004,842091854,842091865,842093654,842094158,875967059,892425302,892425806,892744275,1177638465,1178095702,1178161238,1195724874,1395803981,1448695129,1498831189
PARAM_VALUE 0 ctx->vpu_src_fmt->header_size 0,624
PARAM_VALUE 0 ctx->vpu_src_fmt->max_depth 0,2
PARAM_VALUE 0 ctx->vpu_src_fmt->name 0
PARAM_VALUE 1 bit_depth 8
PARAM_VALUE 2 need_postproc 0
BUF_SIZE 0 ctx->dev s32min-(-1),1-s32max
BUF_SIZE 0 ctx->fh.m2m_ctx (-1),1616
BUF_SIZE 0 ctx->fh.m2m_ctx->priv (-1),116088
CAPPED_DATA 0 ctx->dst_fmt.pixelformat 1
DATA_SOURCE 0 ctx $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 ctx->dst_fmt.colorspace 0-u32max[u]
USER_DATA 0 ctx->dst_fmt.flags 0-255[u]
USER_DATA 0 ctx->dst_fmt.height 0-u32max
USER_DATA 0 ctx->dst_fmt.hsv_enc 0-255[u]
USER_DATA 0 ctx->dst_fmt.num_planes 0-255[u]
USER_DATA 0 ctx->dst_fmt.pixelformat 875,808530000,808530004,842091854,842091865,842093654,842094158
USER_DATA 0 ctx->dst_fmt.quantization 0-255[u]
USER_DATA 0 ctx->dst_fmt.width 0-u32max
USER_DATA 0 ctx->dst_fmt.xfer_func 0-255[u]
USER_DATA 0 ctx->dst_fmt.ycbcr_enc 0-255[u]
USER_DATA 0 ctx->ref_fmt.height 0-u32max
USER_DATA 0 ctx->ref_fmt.width 0-u32max

drivers/media/platform/verisilicon/hantro_v4l2.c hantro_set_fmt_out() -> hantro_reset_raw_fmt()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->dev->variant->dec_fmts->codec_mode (-1)-6
PARAM_VALUE 0 ctx->dev->variant->dec_fmts->enc_fmt 0-3
PARAM_VALUE 0 ctx->dev->variant->dec_fmts->fourcc 808530000,808530004,842091854,842091865,842093654,842094158,875967059,892425302,892425806,892744275,1177638465,1178095702,1178161238,1195724874,1395803981,1448695129,1498831189
PARAM_VALUE 0 ctx->dev->variant->dec_fmts->header_size 0,624
PARAM_VALUE 0 ctx->dev->variant->dec_fmts->max_depth 0,2
PARAM_VALUE 0 ctx->dev->variant->dec_fmts->name 0
PARAM_VALUE 0 ctx->dev->variant->enc_fmts->codec_mode (-1)-6
PARAM_VALUE 0 ctx->dev->variant->enc_fmts->enc_fmt 0-3
PARAM_VALUE 0 ctx->dev->variant->enc_fmts->fourcc 808530000,808530004,842091854,842091865,842093654,842094158,875967059,892425302,892425806,892744275,1177638465,1178095702,1178161238,1195724874,1395803981,1448695129,1498831189
PARAM_VALUE 0 ctx->dev->variant->enc_fmts->header_size 0,624
PARAM_VALUE 0 ctx->dev->variant->enc_fmts->max_depth 0,2
PARAM_VALUE 0 ctx->dev->variant->enc_fmts->name 0
PARAM_VALUE 0 ctx->is_encoder 0
PARAM_VALUE 0 ctx->src_fmt.field 1
PARAM_VALUE 0 ctx->src_fmt.pixelformat 875,808530000,808530004,842091854,842091865,842093654,842094158,875967059,892425302,892425806,892744275
PARAM_VALUE 0 ctx->vpu_dst_fmt->fourcc 808530000,808530004,842091854,842091865,842093654,842094158,875967059,892425302,892425806,892744275,1177638465,1178095702,1178161238,1195724874,1395803981,1448695129,1498831189
PARAM_VALUE 0 ctx->vpu_src_fmt 0,4096-ptr_max
PARAM_VALUE 1 bit_depth 8,10
PARAM_VALUE 2 need_postproc 0
BUF_SIZE 0 ctx->dev s32min-(-1),1-s32max
BUF_SIZE 0 ctx->fh.m2m_ctx (-1),1616
BUF_SIZE 0 ctx->fh.m2m_ctx->priv (-1),116088
CAPPED_DATA 0 ctx->src_fmt.pixelformat 1
DATA_SOURCE 0 ctx $0
DATA_SOURCE 2 need_postproc $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 ctx->src_fmt.colorspace 0-u32max[u]
USER_DATA 0 ctx->src_fmt.flags 0-255[u]
USER_DATA 0 ctx->src_fmt.height 0-u32max
USER_DATA 0 ctx->src_fmt.hsv_enc 0-255[u]
USER_DATA 0 ctx->src_fmt.num_planes 0-255[u]
USER_DATA 0 ctx->src_fmt.pixelformat 875,808530000,808530004,842091854,842091865,842093654,842094158
USER_DATA 0 ctx->src_fmt.quantization 0-255[u]
USER_DATA 0 ctx->src_fmt.width 0-u32max
USER_DATA 0 ctx->src_fmt.xfer_func 0-255[u]
USER_DATA 0 ctx->src_fmt.ycbcr_enc 0-255[u]