Home
last modified time | relevance | path

Searched refs:descriptor (Results 1 – 25 of 31) sorted by relevance

12

/device/linaro/hikey/gralloc960/
Dmali_gralloc_bufferdescriptor.cpp55 int mali_gralloc_destroy_descriptor_internal(gralloc1_buffer_descriptor_t descriptor) in mali_gralloc_destroy_descriptor_internal() argument
57 if (!descriptor) in mali_gralloc_destroy_descriptor_internal()
62 buffer_descriptor_t *buffer_descriptor = (buffer_descriptor_t *)descriptor; in mali_gralloc_destroy_descriptor_internal()
67 int mali_gralloc_set_dimensions_internal(gralloc1_buffer_descriptor_t descriptor, uint32_t width, u… in mali_gralloc_set_dimensions_internal() argument
69 if (!descriptor) in mali_gralloc_set_dimensions_internal()
74 buffer_descriptor_t *buffer_descriptor = (buffer_descriptor_t *)descriptor; in mali_gralloc_set_dimensions_internal()
80 int mali_gralloc_set_format_internal(gralloc1_buffer_descriptor_t descriptor, int32_t format) in mali_gralloc_set_format_internal() argument
82 if (!descriptor) in mali_gralloc_set_format_internal()
87 buffer_descriptor_t *buffer_descriptor = (buffer_descriptor_t *)descriptor; in mali_gralloc_set_format_internal()
93 int mali_gralloc_set_producerusage_internal(gralloc1_buffer_descriptor_t descriptor, uint64_t usage) in mali_gralloc_set_producerusage_internal() argument
[all …]
Dmali_gralloc_private_interface.cpp264 gralloc1_function_pointer_t mali_gralloc_private_interface_getFunction(int32_t descriptor) in mali_gralloc_private_interface_getFunction() argument
266 …CHECK_FUNCTION(descriptor, MALI_GRALLOC1_FUNCTION_GET_BUFF_INT_FMT, mali_gralloc_private_get_buff_… in mali_gralloc_private_interface_getFunction()
267 CHECK_FUNCTION(descriptor, MALI_GRALLOC1_FUNCTION_GET_BUFF_FD, mali_gralloc_private_get_buff_fd); in mali_gralloc_private_interface_getFunction()
268 …CHECK_FUNCTION(descriptor, MALI_GRALLOC1_FUNCTION_GET_BUFF_INTERNAL_DIMS, mali_gralloc_private_get… in mali_gralloc_private_interface_getFunction()
269 …CHECK_FUNCTION(descriptor, MALI_GRALLOC1_FUNCTION_GET_BUFF_OFFSET, mali_gralloc_private_get_buff_o… in mali_gralloc_private_interface_getFunction()
270 …CHECK_FUNCTION(descriptor, MALI_GRALLOC1_FUNCTION_GET_BUFF_BYTESTRIDE, mali_gralloc_private_get_bu… in mali_gralloc_private_interface_getFunction()
271 …CHECK_FUNCTION(descriptor, MALI_GRALLOC1_FUNCTION_GET_BUFF_YUVINFO, mali_gralloc_private_get_buff_… in mali_gralloc_private_interface_getFunction()
272 …CHECK_FUNCTION(descriptor, MALI_GRALLOC1_FUNCTION_GET_BUFF_SIZE, mali_gralloc_private_get_buff_siz… in mali_gralloc_private_interface_getFunction()
273 …CHECK_FUNCTION(descriptor, MALI_GRALLOC1_FUNCTION_GET_BUFF_FLAGS, mali_gralloc_private_get_buff_fl… in mali_gralloc_private_interface_getFunction()
274 CHECK_FUNCTION(descriptor, MALI_GRALLOC1_FUNCTION_GET_BUFF_MIN_PAGESIZE, in mali_gralloc_private_interface_getFunction()
[all …]
Dmali_gralloc_bufferdescriptor.h54 int mali_gralloc_destroy_descriptor_internal(gralloc1_buffer_descriptor_t descriptor);
55 int mali_gralloc_set_dimensions_internal(gralloc1_buffer_descriptor_t descriptor, uint32_t width, u…
56 int mali_gralloc_set_format_internal(gralloc1_buffer_descriptor_t descriptor, int32_t format);
57 int mali_gralloc_set_producerusage_internal(gralloc1_buffer_descriptor_t descriptor, uint64_t usage…
58 int mali_gralloc_set_consumerusage_internal(gralloc1_buffer_descriptor_t descriptor, uint64_t usage…
Dmali_gralloc_public_interface.cpp60 …mali_gralloc_destroy_descriptor(gralloc1_device_t *device, gralloc1_buffer_descriptor_t descriptor) in mali_gralloc_destroy_descriptor() argument
63 ret = mali_gralloc_destroy_descriptor_internal(descriptor); in mali_gralloc_destroy_descriptor()
68 …mali_gralloc_set_consumer_usage(gralloc1_device_t *device, gralloc1_buffer_descriptor_t descriptor, in mali_gralloc_set_consumer_usage() argument
72 ret = mali_gralloc_set_consumerusage_internal(descriptor, usage); in mali_gralloc_set_consumer_usage()
77 …2_t mali_gralloc_set_dimensions(gralloc1_device_t *device, gralloc1_buffer_descriptor_t descriptor, in mali_gralloc_set_dimensions() argument
81 ret = mali_gralloc_set_dimensions_internal(descriptor, width, height); in mali_gralloc_set_dimensions()
86 …int32_t mali_gralloc_set_format(gralloc1_device_t *device, gralloc1_buffer_descriptor_t descriptor, in mali_gralloc_set_format() argument
90 ret = mali_gralloc_set_format_internal(descriptor, format); in mali_gralloc_set_format()
95 …mali_gralloc_set_producer_usage(gralloc1_device_t *device, gralloc1_buffer_descriptor_t descriptor, in mali_gralloc_set_producer_usage() argument
99 ret = mali_gralloc_set_producerusage_internal(descriptor, usage); in mali_gralloc_set_producer_usage()
[all …]
Dmali_gralloc_private_interface.h70 gralloc1_function_pointer_t mali_gralloc_private_interface_getFunction(int32_t descriptor);
/device/amlogic/yukawa/hal/gralloc/
Dmali_gralloc_bufferdescriptor.cpp66 int mali_gralloc_destroy_descriptor_internal(gralloc1_buffer_descriptor_t descriptor) in mali_gralloc_destroy_descriptor_internal() argument
68 if (!descriptor) in mali_gralloc_destroy_descriptor_internal()
73 buffer_descriptor_t *buffer_descriptor = (buffer_descriptor_t *)descriptor; in mali_gralloc_destroy_descriptor_internal()
78 int mali_gralloc_set_dimensions_internal(gralloc1_buffer_descriptor_t descriptor, uint32_t width, u… in mali_gralloc_set_dimensions_internal() argument
80 if (!descriptor) in mali_gralloc_set_dimensions_internal()
85 buffer_descriptor_t *buffer_descriptor = (buffer_descriptor_t *)descriptor; in mali_gralloc_set_dimensions_internal()
91 int mali_gralloc_set_format_internal(gralloc1_buffer_descriptor_t descriptor, int32_t format) in mali_gralloc_set_format_internal() argument
93 if (!descriptor) in mali_gralloc_set_format_internal()
98 buffer_descriptor_t *buffer_descriptor = (buffer_descriptor_t *)descriptor; in mali_gralloc_set_format_internal()
104 int mali_gralloc_set_producerusage_internal(gralloc1_buffer_descriptor_t descriptor, uint64_t usage) in mali_gralloc_set_producerusage_internal() argument
[all …]
Dmali_gralloc_private_interface.cpp264 gralloc1_function_pointer_t mali_gralloc_private_interface_getFunction(int32_t descriptor) in mali_gralloc_private_interface_getFunction() argument
266 …CHECK_FUNCTION(descriptor, MALI_GRALLOC1_FUNCTION_GET_BUFF_INT_FMT, mali_gralloc_private_get_buff_… in mali_gralloc_private_interface_getFunction()
267 CHECK_FUNCTION(descriptor, MALI_GRALLOC1_FUNCTION_GET_BUFF_FD, mali_gralloc_private_get_buff_fd); in mali_gralloc_private_interface_getFunction()
268 …CHECK_FUNCTION(descriptor, MALI_GRALLOC1_FUNCTION_GET_BUFF_INTERNAL_DIMS, mali_gralloc_private_get… in mali_gralloc_private_interface_getFunction()
269 …CHECK_FUNCTION(descriptor, MALI_GRALLOC1_FUNCTION_GET_BUFF_OFFSET, mali_gralloc_private_get_buff_o… in mali_gralloc_private_interface_getFunction()
270 …CHECK_FUNCTION(descriptor, MALI_GRALLOC1_FUNCTION_GET_BUFF_BYTESTRIDE, mali_gralloc_private_get_bu… in mali_gralloc_private_interface_getFunction()
271 …CHECK_FUNCTION(descriptor, MALI_GRALLOC1_FUNCTION_GET_BUFF_YUVINFO, mali_gralloc_private_get_buff_… in mali_gralloc_private_interface_getFunction()
272 …CHECK_FUNCTION(descriptor, MALI_GRALLOC1_FUNCTION_GET_BUFF_SIZE, mali_gralloc_private_get_buff_siz… in mali_gralloc_private_interface_getFunction()
273 …CHECK_FUNCTION(descriptor, MALI_GRALLOC1_FUNCTION_GET_BUFF_FLAGS, mali_gralloc_private_get_buff_fl… in mali_gralloc_private_interface_getFunction()
274 CHECK_FUNCTION(descriptor, MALI_GRALLOC1_FUNCTION_GET_BUFF_MIN_PAGESIZE, in mali_gralloc_private_interface_getFunction()
[all …]
Dmali_gralloc_bufferdescriptor.h55 int mali_gralloc_destroy_descriptor_internal(gralloc1_buffer_descriptor_t descriptor);
56 int mali_gralloc_set_dimensions_internal(gralloc1_buffer_descriptor_t descriptor, uint32_t width, u…
57 int mali_gralloc_set_format_internal(gralloc1_buffer_descriptor_t descriptor, int32_t format);
58 int mali_gralloc_set_producerusage_internal(gralloc1_buffer_descriptor_t descriptor, uint64_t usage…
59 int mali_gralloc_set_consumerusage_internal(gralloc1_buffer_descriptor_t descriptor, uint64_t usage…
Dmali_gralloc_public_interface.cpp60 …mali_gralloc_destroy_descriptor(gralloc1_device_t *device, gralloc1_buffer_descriptor_t descriptor) in mali_gralloc_destroy_descriptor() argument
63 ret = mali_gralloc_destroy_descriptor_internal(descriptor); in mali_gralloc_destroy_descriptor()
68 …mali_gralloc_set_consumer_usage(gralloc1_device_t *device, gralloc1_buffer_descriptor_t descriptor, in mali_gralloc_set_consumer_usage() argument
72 ret = mali_gralloc_set_consumerusage_internal(descriptor, usage); in mali_gralloc_set_consumer_usage()
77 …2_t mali_gralloc_set_dimensions(gralloc1_device_t *device, gralloc1_buffer_descriptor_t descriptor, in mali_gralloc_set_dimensions() argument
81 ret = mali_gralloc_set_dimensions_internal(descriptor, width, height); in mali_gralloc_set_dimensions()
86 …int32_t mali_gralloc_set_format(gralloc1_device_t *device, gralloc1_buffer_descriptor_t descriptor, in mali_gralloc_set_format() argument
90 ret = mali_gralloc_set_format_internal(descriptor, format); in mali_gralloc_set_format()
95 …mali_gralloc_set_producer_usage(gralloc1_device_t *device, gralloc1_buffer_descriptor_t descriptor, in mali_gralloc_set_producer_usage() argument
99 ret = mali_gralloc_set_producerusage_internal(descriptor, usage); in mali_gralloc_set_producer_usage()
[all …]
Dmali_gralloc_private_interface.h70 gralloc1_function_pointer_t mali_gralloc_private_interface_getFunction(int32_t descriptor);
/device/generic/goldfish-opengl/system/hals/
Dallocator3.cpp84 BufferDescriptorInfo descriptor; in allocateImpl() local
85 if (!decodeBufferDescriptorInfo(rawDescriptor, &descriptor)) { in allocateImpl()
89 if (!descriptor.width) { RETURN_ERROR(Error3::UNSUPPORTED); } in allocateImpl()
90 if (!descriptor.height) { RETURN_ERROR(Error3::UNSUPPORTED); } in allocateImpl()
91 if (descriptor.layerCount != 1) { RETURN_ERROR(Error3::UNSUPPORTED); } in allocateImpl()
93 const uint32_t usage = descriptor.usage; in allocateImpl()
108 Error3 e = getBufferFormat(descriptor.format, usage, &format); in allocateImpl()
111 __func__, __LINE__, descriptor.format, usage); in allocateImpl()
204 __func__, __LINE__, format, descriptor.format, usage); in allocateImpl()
209 const uint32_t width = descriptor.width; in allocateImpl()
[all …]
Dmapper3.cpp188 const BufferDescriptorInfo& descriptor, in validateBufferSize() argument
192 return validateBufferSizeImpl(*cb, descriptor, stride); in validateBufferSize()
534 bool isSupportedImpl(const IMapper::BufferDescriptorInfo& descriptor) const { in isSupportedImpl()
535 if (!descriptor.width) { RETURN(false); } in isSupportedImpl()
536 if (!descriptor.height) { RETURN(false); } in isSupportedImpl()
537 if (descriptor.layerCount != 1) { RETURN(false); } in isSupportedImpl()
539 const uint32_t usage = descriptor.usage; in isSupportedImpl()
545 switch (descriptor.format) { in isSupportedImpl()
582 if (static_cast<int>(descriptor.format) == kOMX_COLOR_FormatYUV420Planar) { in isSupportedImpl()
/device/google/taimen/self-extractors/qcom/staging/
Ddevice-partial.mk24 vendor/qcom/taimen/proprietary/dnd.descriptor:system/etc/firmware/dnd.descriptor:qcom \
26 …vendor/qcom/taimen/proprietary/music_detector.descriptor:system/etc/firmware/music_detector.descri…
/device/google/muskie/self-extractors/qcom/staging/
Ddevice-partial.mk24 vendor/qcom/walleye/proprietary/dnd.descriptor:system/etc/firmware/dnd.descriptor:qcom \
26 …vendor/qcom/walleye/proprietary/music_detector.descriptor:system/etc/firmware/music_detector.descr…
/device/google/muskie/self-extractors/
Dextract-lists.txt14 system/etc/firmware/dnd.descriptor \
16 system/etc/firmware/music_detector.descriptor \
/device/google/taimen/self-extractors/
Dextract-lists.txt14 system/etc/firmware/dnd.descriptor \
16 system/etc/firmware/music_detector.descriptor \
/device/generic/opengl-transport/host/libs/virglrenderer/
DGralloc1.cpp105 static gralloc1_function_pointer_t gralloc1_getFunction(gralloc1_device_t*, int32_t descriptor) { in gralloc1_getFunction() argument
106 switch (descriptor) { in gralloc1_getFunction()
/device/generic/goldfish-opengl/system/hwc2/
DEmuHWC2.h70 hwc2_function_pointer_t doGetFunction(HWC2::FunctionDescriptor descriptor);
73 auto descriptor = static_cast<HWC2::FunctionDescriptor>(desc); in getFunctionHook() local
74 return getHWC2(device)->doGetFunction(descriptor); in getFunctionHook()
107 HWC2::Error registerCallback(HWC2::Callback descriptor,
112 auto descriptor = static_cast<HWC2::Callback>(intDesc); in registerCallbackHook() local
113 auto error = getHWC2(device)->registerCallback(descriptor, in registerCallbackHook()
DEmuHWC2.cpp118 FunctionDescriptor descriptor) { in doGetFunction() argument
119 switch(descriptor) { in doGetFunction()
317 static_cast<int32_t>(descriptor), in doGetFunction()
318 to_string(descriptor).c_str()); in doGetFunction()
351 static bool isValid(Callback descriptor) { in isValid() argument
352 switch (descriptor) { in isValid()
360 Error EmuHWC2::registerCallback(Callback descriptor, in registerCallback() argument
363 if (!isValid(descriptor)) { in registerCallback()
365 static_cast<int32_t>(descriptor)); in registerCallback()
368 ALOGV("registerCallback(%s, %p, %p)", to_string(descriptor).c_str(), in registerCallback()
[all …]
/device/google/cuttlefish/guest/hals/hwcomposer/cutf_cvm/
DHWC2.h73 hwc2_function_pointer_t doGetFunction(HWC2::FunctionDescriptor descriptor);
76 auto descriptor = static_cast<HWC2::FunctionDescriptor>(intDesc); in getFunctionHook() local
77 return getAdapter(device)->doGetFunction(descriptor); in getFunctionHook()
113 HWC2::Error registerCallback(HWC2::Callback descriptor,
118 auto descriptor = static_cast<HWC2::Callback>(intDesc); in registerCallbackHook() local
119 auto error = getAdapter(device)->registerCallback(descriptor, in registerCallbackHook()
/device/google/bonito/sdm710/original-kernel-headers/sound/
Dcompress_offload.h122 struct snd_codec_desc descriptor[MAX_NUM_CODEC_DESCRIPTORS]; member
/device/google/bonito/sdm710/kernel-headers/sound/
Dcompress_offload.h63 struct snd_codec_desc descriptor[MAX_NUM_CODEC_DESCRIPTORS]; member
/device/google/crosshatch/sdm845/kernel-headers/sound/
Dcompress_offload.h63 struct snd_codec_desc descriptor[MAX_NUM_CODEC_DESCRIPTORS]; member
/device/google/crosshatch/sdm845/original-kernel-headers/sound/
Dcompress_offload.h122 struct snd_codec_desc descriptor[MAX_NUM_CODEC_DESCRIPTORS]; member
/device/google/coral-kernel/sm8150/kernel-headers/sound/
Dcompress_offload.h63 struct snd_codec_desc descriptor[MAX_NUM_CODEC_DESCRIPTORS]; member

12