class GdcTask
Defined at line 18 of file ../../src/camera/drivers/hw_accel/gdc/gdc_task.h
Public Methods
void ~GdcTask ()
Defined at line 20 of file ../../src/camera/drivers/hw_accel/gdc/gdc_task.h
zx_paddr_t GetConfigVmoPhysAddr (uint32_t output_format_index)
Returns the physical address for the config VMO.
Defined at line 26 of file ../../src/camera/drivers/hw_accel/gdc/gdc_task.h
uint64_t GetConfigVmoSize (uint32_t output_format_index)
Returns the VMO size for the config VMO.
Defined at line 31 of file ../../src/camera/drivers/hw_accel/gdc/gdc_task.h
void OnRemoveTask (std::stack<zx::vmo> & gdc_owned_config_vmos)
Called by GdcDevice when the task is about to be removed. Pushes GdcDevice-owned config VMOs
onto a stack and removes them this task.
Defined at line 180 of file ../../src/camera/drivers/hw_accel/gdc/gdc_task.cc
zx_status_t Init (const buffer_collection_info_2_t * input_buffer_collection, const buffer_collection_info_2_t * output_buffer_collection, const image_format_2_t * input_image_format, const image_format_2_t * output_image_format_table_list, size_t output_image_format_table_count, uint32_t output_image_format_index, const gdc_config_info * config_vmo_list, size_t config_vmos_count, std::stack<zx::vmo> & gdc_config_contig_vmos, const hw_accel_frame_callback_t * frame_callback, const hw_accel_res_change_callback * res_callback, const hw_accel_remove_task_callback_t * remove_task_callback, const zx::bti & bti)
Static function to create a task object.
|input_buffer_collection| : Input buffer collection.
|output_buffer_collection| : Output buffer collection.
[input_image_format] : Input image format.
[output_image_format] : Output image format.
|config_vmo_list| : Array of configurations info.
|config_vmo_count| : Number of config vmos.
|gdc_config_contig_vmos| : Stack of pre-allocated contig VMOs
|frame_callback| : Process frame callback.
|remove_task_callback| : Remove task callback.
|res_callback| : Res change callback.
Defined at line 141 of file ../../src/camera/drivers/hw_accel/gdc/gdc_task.cc