Searched refs:data_ptr (Results 1 – 2 of 2) sorted by relevance
/system/media/camera/src/ |
D | camera_metadata.c | 814 static void print_data(int fd, const uint8_t *data_ptr, uint32_t tag, int type, 873 uint8_t *data_ptr; in dump_indented_camera_metadata() local 882 data_ptr = get_data(metadata) + entry->data.offset; in dump_indented_camera_metadata() 884 data_ptr = entry->data.value; in dump_indented_camera_metadata() 889 print_data(fd, data_ptr, entry->tag, entry->type, count, indentation); in dump_indented_camera_metadata() 893 static void print_data(int fd, const uint8_t *data_ptr, uint32_t tag, in print_data() argument 920 value = *(data_ptr + index); in print_data() 929 *(data_ptr + index)); in print_data() 934 *(int32_t*)(data_ptr + index); in print_data() 943 *(int32_t*)(data_ptr + index)); in print_data() [all …]
|
/system/media/camera/tests/ |
D | camera_metadata_tests.cpp | 1853 void* data_ptr = (void*)entry.data.u8; in TEST() local 1854 void* aligned_ptr = (void*)((uintptr_t)data_ptr & ~(m_type_align[m_type] - 1)); in TEST() 1855 EXPECT_EQ(aligned_ptr, data_ptr) << in TEST()
|