class Ge2dProtocolClient

Defined at line 133 of file fidling/gen/sdk/banjo/fuchsia.hardware.ge2d/fuchsia.hardware.ge2d/banjo/cpp/fuchsia/hardware/ge2d/cpp/banjo.h

Public Members

static const uint32_t kProtocolId

Public Methods

void Ge2dProtocolClient ()

Defined at line 138 of file fidling/gen/sdk/banjo/fuchsia.hardware.ge2d/fuchsia.hardware.ge2d/banjo/cpp/fuchsia/hardware/ge2d/cpp/banjo.h

void Ge2dProtocolClient (const ge2d_protocol_t * proto)

Defined at line 140 of file fidling/gen/sdk/banjo/fuchsia.hardware.ge2d/fuchsia.hardware.ge2d/banjo/cpp/fuchsia/hardware/ge2d/cpp/banjo.h

void Ge2dProtocolClient (zx_device_t * parent)

Defined at line 143 of file fidling/gen/sdk/banjo/fuchsia.hardware.ge2d/fuchsia.hardware.ge2d/banjo/cpp/fuchsia/hardware/ge2d/cpp/banjo.h

void Ge2dProtocolClient (zx_device_t * parent, const char * fragment_name)

Defined at line 154 of file fidling/gen/sdk/banjo/fuchsia.hardware.ge2d/fuchsia.hardware.ge2d/banjo/cpp/fuchsia/hardware/ge2d/cpp/banjo.h

zx_status_t CreateFromDevice (zx_device_t * parent, Ge2dProtocolClient * result)

Create a Ge2dProtocolClient from the given parent device + "fragment".

If ZX_OK is returned, the created object will be initialized in |result|.

Defined at line 168 of file fidling/gen/sdk/banjo/fuchsia.hardware.ge2d/fuchsia.hardware.ge2d/banjo/cpp/fuchsia/hardware/ge2d/cpp/banjo.h

zx_status_t CreateFromDevice (zx_device_t * parent, const char * fragment_name, Ge2dProtocolClient * result)

Create a Ge2dProtocolClient from the given parent device.

If ZX_OK is returned, the created object will be initialized in |result|.

Defined at line 183 of file fidling/gen/sdk/banjo/fuchsia.hardware.ge2d/fuchsia.hardware.ge2d/banjo/cpp/fuchsia/hardware/ge2d/cpp/banjo.h

void GetProto (ge2d_protocol_t * proto)

Defined at line 195 of file fidling/gen/sdk/banjo/fuchsia.hardware.ge2d/fuchsia.hardware.ge2d/banjo/cpp/fuchsia/hardware/ge2d/cpp/banjo.h

bool is_valid ()

Defined at line 199 of file fidling/gen/sdk/banjo/fuchsia.hardware.ge2d/fuchsia.hardware.ge2d/banjo/cpp/fuchsia/hardware/ge2d/cpp/banjo.h

void clear ()

Defined at line 202 of file fidling/gen/sdk/banjo/fuchsia.hardware.ge2d/fuchsia.hardware.ge2d/banjo/cpp/fuchsia/hardware/ge2d/cpp/banjo.h

zx_status_t InitTaskResize (const buffer_collection_info_2_t * input_buffer_collection, const buffer_collection_info_2_t * output_buffer_collection, const resize_info_t * info, const image_format_2_t * 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 hw_accel_frame_callback_t * frame_callback, const hw_accel_res_change_callback_t * res_callback, const hw_accel_remove_task_callback_t * task_remove_callback, uint32_t * out_task_index)

Defined at line 207 of file fidling/gen/sdk/banjo/fuchsia.hardware.ge2d/fuchsia.hardware.ge2d/banjo/cpp/fuchsia/hardware/ge2d/cpp/banjo.h

zx_status_t InitTaskWaterMark (const buffer_collection_info_2_t * input_buffer_collection, const buffer_collection_info_2_t * output_buffer_collection, const water_mark_info_t * info_list, size_t info_count, const image_format_2_t * image_format_table_list, size_t image_format_table_count, uint32_t image_format_index, const hw_accel_frame_callback_t * frame_callback, const hw_accel_res_change_callback_t * res_callback, const hw_accel_remove_task_callback_t * task_remove_callback, uint32_t * out_task_index)

Defined at line 211 of file fidling/gen/sdk/banjo/fuchsia.hardware.ge2d/fuchsia.hardware.ge2d/banjo/cpp/fuchsia/hardware/ge2d/cpp/banjo.h

zx_status_t InitTaskInPlaceWaterMark (const buffer_collection_info_2_t * buffer_collection, const water_mark_info_t * info_list, size_t info_count, const image_format_2_t * image_format_table_list, size_t image_format_table_count, uint32_t image_format_index, const hw_accel_frame_callback_t * frame_callback, const hw_accel_res_change_callback_t * res_callback, const hw_accel_remove_task_callback_t * task_remove_callback, uint32_t * out_task_index)

Defined at line 215 of file fidling/gen/sdk/banjo/fuchsia.hardware.ge2d/fuchsia.hardware.ge2d/banjo/cpp/fuchsia/hardware/ge2d/cpp/banjo.h

void RemoveTask (uint32_t task_index)

Defined at line 219 of file fidling/gen/sdk/banjo/fuchsia.hardware.ge2d/fuchsia.hardware.ge2d/banjo/cpp/fuchsia/hardware/ge2d/cpp/banjo.h

zx_status_t ProcessFrame (uint32_t task_index, uint32_t input_buffer_index, uint64_t capture_timestamp)

Defined at line 223 of file fidling/gen/sdk/banjo/fuchsia.hardware.ge2d/fuchsia.hardware.ge2d/banjo/cpp/fuchsia/hardware/ge2d/cpp/banjo.h

void ReleaseFrame (uint32_t task_index, uint32_t buffer_index)

Defined at line 227 of file fidling/gen/sdk/banjo/fuchsia.hardware.ge2d/fuchsia.hardware.ge2d/banjo/cpp/fuchsia/hardware/ge2d/cpp/banjo.h

zx_status_t SetOutputResolution (uint32_t task_index, uint32_t new_output_image_format_index)

Defined at line 231 of file fidling/gen/sdk/banjo/fuchsia.hardware.ge2d/fuchsia.hardware.ge2d/banjo/cpp/fuchsia/hardware/ge2d/cpp/banjo.h

zx_status_t SetInputAndOutputResolution (uint32_t task_index, uint32_t new_image_format_index)

Defined at line 235 of file fidling/gen/sdk/banjo/fuchsia.hardware.ge2d/fuchsia.hardware.ge2d/banjo/cpp/fuchsia/hardware/ge2d/cpp/banjo.h

void SetCropRect (uint32_t task_index, const rect_t * crop)

Defined at line 239 of file fidling/gen/sdk/banjo/fuchsia.hardware.ge2d/fuchsia.hardware.ge2d/banjo/cpp/fuchsia/hardware/ge2d/cpp/banjo.h