Envoyer des commentaires
Référence de structure gralloc_module_t
#include < gralloc.h >
structure hw_module_t commun entier(* registerBuffer )(struct gralloc_module_t const *module, buffer_handle_t handle) entier(* unregisterBuffer )(struct gralloc_module_t const *module, buffer_handle_t handle) entier(* lock )(struct gralloc_module_t const *module, buffer_handle_t handle, int usage, int l, int t, int w, int h, void **vaddr) entier(* déverrouiller )(struct gralloc_module_t const *module, buffer_handle_t poignée) entier(* perform )(struct gralloc_module_t const *module, int operation,...) entier(* lock_ycbcr )(struct gralloc_module_t const *module, buffer_handle_t handle, int usage, int l, int t, int w, int h, struct android_ycbcr *ycbcr) entier(* lockAsync )(struct gralloc_module_t const *module, buffer_handle_t handle, int usage, int l, int t, int w, int h, void **vaddr, int fenceFd) entier(* unlockAsync )(struct gralloc_module_t const *module, buffer_handle_t handle, int *fenceFd) entier(* lockAsync_ycbcr )(struct gralloc_module_t const *module, buffer_handle_t handle, int usage, int l, int t, int w, int h, struct android_ycbcr *ycbcr, int fenceFd) annuler * procédure_réservée [3]
Chaque module matériel doit avoir une structure de données nommée HAL_MODULE_INFO_SYM et les champs de cette structure de données doivent commencer par hw_module_t suivi d'informations spécifiques au module.
Définition à la ligne 155 du fichier gralloc.h .
int(* lock)(struct gralloc_module_t const *module, buffer_handle_t handle, int usage, int l, int t, int w, int h, void **vaddr)
int(* lock_ycbcr)(struct gralloc_module_t const *module, buffer_handle_t handle, int utilisation, int l, int t, int w, int h, struct android_ycbcr *ycbcr)
int(* lockAsync)(struct gralloc_module_t const *module, buffer_handle_t handle, int usage, int l, int t, int w, int h, void **vaddr, int fenceFd)
int(* lockAsync_ycbcr)(struct gralloc_module_t const *module, buffer_handle_t handle, int usage, int l, int t, int w, int h, struct android_ycbcr *ycbcr, int fenceFd)
int(* registerBuffer)(struct gralloc_module_t const *module, buffer_handle_t handle)
annuler * proc_réservé[3]
int(* déverrouiller)(struct gralloc_module_t const *module, buffer_handle_t handle)
int(* unlockAsync)(struct gralloc_module_t const *module, buffer_handle_t handle, int *fenceFd)
int(* unregisterBuffer)(struct gralloc_module_t const *module, buffer_handle_t handle)
La documentation de cette structure a été générée à partir du fichier suivant :
hardware/libhardware/include/hardware/ gralloc.h
Envoyer des commentaires
Content and code samples on this page are subject to the licenses described in the Content License . Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2019-10-02 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Il n'y a pas l'information dont j'ai besoin"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Trop compliqué/Trop d'étapes"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Obsolète"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"Problème de traduction"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Mauvais exemple/Erreur de code"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Autre"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Facile à comprendre"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"J'ai pu résoudre mon problème"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Autre"
}]
Voulez-vous nous donner plus d'informations ?