Searched refs:infoPtr (Results 1 – 2 of 2) sorted by relevance
/packages/services/Car/cpp/evs/manager/1.1/emul/ |
D | VideoCapture.cpp | 80 png_infop infoPtr = png_create_info_struct(pngPtr); in fillBufferFromPng() local 81 if (!infoPtr) { in fillBufferFromPng() 90 png_destroy_read_struct(&pngPtr, &infoPtr, nullptr); in fillBufferFromPng() 99 png_read_info(pngPtr, infoPtr); in fillBufferFromPng() 102 png_uint_32 width = png_get_image_width(pngPtr, infoPtr); in fillBufferFromPng() 103 png_uint_32 height = png_get_image_height(pngPtr, infoPtr); in fillBufferFromPng() 104 png_uint_32 bitdepth = png_get_bit_depth(pngPtr, infoPtr); in fillBufferFromPng() 105 png_uint_32 channels = png_get_channels(pngPtr, infoPtr); in fillBufferFromPng() 106 png_uint_32 colorType = png_get_color_type(pngPtr, infoPtr); in fillBufferFromPng() 132 if (png_get_valid(pngPtr, infoPtr, PNG_INFO_tRNS)) { in fillBufferFromPng() [all …]
|
/packages/modules/AdServices/adservices/service-core/jni/cpp/ |
D | ohttp_jni.cpp | 297 jbyte* infoPtr = env->GetByteArrayElements(infoArray, 0); in Java_com_android_adservices_ohttp_OhttpJniWrapper_hpkeSetupRecipient() local 304 env->ReleaseByteArrayElements(infoArray, infoPtr, JNI_ABORT); in Java_com_android_adservices_ohttp_OhttpJniWrapper_hpkeSetupRecipient() 317 reinterpret_cast<const uint8_t*>(infoPtr), infoLen)) { in Java_com_android_adservices_ohttp_OhttpJniWrapper_hpkeSetupRecipient() 320 env->ReleaseByteArrayElements(infoArray, infoPtr, JNI_ABORT); in Java_com_android_adservices_ohttp_OhttpJniWrapper_hpkeSetupRecipient() 331 env->ReleaseByteArrayElements(infoArray, infoPtr, JNI_ABORT); in Java_com_android_adservices_ohttp_OhttpJniWrapper_hpkeSetupRecipient()
|