Searched refs:blend_mode (Results 1 – 4 of 4) sorted by relevance
/hardware/google/gchips/gralloc4/src/hidl_common/ |
D | SharedMetadata.cpp | 82 void get_blend_mode(const private_handle_t *hnd, std::optional<BlendMode> *blend_mode) in get_blend_mode() argument 85 *blend_mode = metadata->blend_mode.to_std_optional(); in get_blend_mode() 88 void set_blend_mode(const private_handle_t *hnd, const BlendMode &blend_mode) in set_blend_mode() argument 91 metadata->blend_mode = aligned_optional(blend_mode); in set_blend_mode()
|
D | SharedMetadata_struct.h | 104 aligned_optional<BlendMode> blend_mode {}; 130 static_assert(offsetof(shared_metadata, blend_mode) == 0, "bad alignment"); 131 static_assert(sizeof(shared_metadata::blend_mode) == 8, "bad size");
|
D | SharedMetadata.h | 59 void get_blend_mode(const private_handle_t *hnd, std::optional<BlendMode> *blend_mode); 60 void set_blend_mode(const private_handle_t *hnd, const BlendMode &blend_mode);
|
D | MapperMetadata.cpp | 559 std::optional<BlendMode> blend_mode; in get_metadata() local 560 get_blend_mode(handle, &blend_mode); in get_metadata() 561 err = android::gralloc4::encodeBlendMode(blend_mode.value_or(BlendMode::INVALID), &vec); in get_metadata() 676 BlendMode blend_mode; in set_metadata() local 677 err = android::gralloc4::decodeBlendMode(metadata, &blend_mode); in set_metadata() 680 set_blend_mode(handle, blend_mode); in set_metadata()
|