/external/pdfium/core/fxcodec/gif/ |
D | cfx_lzwdecompressor_unittest.cpp | 85 uint8_t image_data[10]; in TEST() local 86 uint32_t image_size = FX_ArraySize(image_data); in TEST() 95 decompressor->Decode(image_data, 0, output_data, &output_size)); in TEST() 98 decompressor->Decode(image_data, image_size, nullptr, &output_size)); in TEST() 100 decompressor->Decode(image_data, image_size, output_data, nullptr)); in TEST() 105 decompressor->Decode(image_data, image_size, output_data, &output_size)); in TEST() 114 uint8_t image_data[] = {0x44, 0x01}; in TEST() local 115 uint32_t image_size = FX_ArraySize(image_data); in TEST() 124 decompressor->Decode(image_data, image_size, output_data, &output_size)); in TEST() 136 uint8_t image_data[] = {0x84, 0x8F, 0xA9, 0xCB, 0xED, 0x0F, 0x63, 0x2B}; in TEST() local [all …]
|
/external/u-boot/lib/libavb/ |
D | avb_descriptor.c | 22 bool avb_descriptor_foreach(const uint8_t* image_data, in avb_descriptor_foreach() argument 33 if (image_data == NULL) { in avb_descriptor_foreach() 49 if (avb_memcmp(image_data, AVB_MAGIC, AVB_MAGIC_LEN) != 0) { in avb_descriptor_foreach() 55 avb_assert_aligned(image_data); in avb_descriptor_foreach() 56 header = (const AvbVBMetaImageHeader*)image_data; in avb_descriptor_foreach() 57 image_end = image_data + image_size; in avb_descriptor_foreach() 59 desc_start = image_data + sizeof(AvbVBMetaImageHeader) + in avb_descriptor_foreach() 65 if (desc_start < image_data || desc_start > image_end || in avb_descriptor_foreach() 66 desc_end < image_data || desc_end > image_end || desc_end < desc_start) { in avb_descriptor_foreach() 118 const AvbDescriptor** avb_descriptor_get_all(const uint8_t* image_data, in avb_descriptor_get_all() argument [all …]
|
D | avb_property_descriptor.c | 88 const char* avb_property_lookup(const uint8_t* image_data, in avb_property_lookup() argument 103 image_data, image_size, property_lookup_desc_foreach, &data) == 0) { in avb_property_lookup() 116 bool avb_property_lookup_uint64(const uint8_t* image_data, in avb_property_lookup_uint64() argument 127 value = avb_property_lookup(image_data, image_size, key, key_size, NULL); in avb_property_lookup_uint64()
|
D | avb_property_descriptor.h | 64 const char* avb_property_lookup(const uint8_t* image_data, 77 bool avb_property_lookup_uint64(const uint8_t* image_data,
|
D | avb_descriptor.h | 84 bool avb_descriptor_foreach(const uint8_t* image_data, 103 const AvbDescriptor** avb_descriptor_get_all(const uint8_t* image_data,
|
/external/avb/libavb/ |
D | avb_descriptor.c | 41 bool avb_descriptor_foreach(const uint8_t* image_data, in avb_descriptor_foreach() argument 52 if (image_data == NULL) { in avb_descriptor_foreach() 68 if (avb_memcmp(image_data, AVB_MAGIC, AVB_MAGIC_LEN) != 0) { in avb_descriptor_foreach() 74 avb_assert_aligned(image_data); in avb_descriptor_foreach() 75 header = (const AvbVBMetaImageHeader*)image_data; in avb_descriptor_foreach() 76 image_end = image_data + image_size; in avb_descriptor_foreach() 78 desc_start = image_data + sizeof(AvbVBMetaImageHeader) + in avb_descriptor_foreach() 84 if (desc_start < image_data || desc_start > image_end || in avb_descriptor_foreach() 85 desc_end < image_data || desc_end > image_end || desc_end < desc_start) { in avb_descriptor_foreach() 137 const AvbDescriptor** avb_descriptor_get_all(const uint8_t* image_data, in avb_descriptor_get_all() argument [all …]
|
D | avb_property_descriptor.c | 107 const char* avb_property_lookup(const uint8_t* image_data, in avb_property_lookup() argument 122 image_data, image_size, property_lookup_desc_foreach, &data) == 0) { in avb_property_lookup() 135 bool avb_property_lookup_uint64(const uint8_t* image_data, in avb_property_lookup_uint64() argument 146 value = avb_property_lookup(image_data, image_size, key, key_size, NULL); in avb_property_lookup_uint64()
|
D | avb_property_descriptor.h | 83 const char* avb_property_lookup(const uint8_t* image_data, 96 bool avb_property_lookup_uint64(const uint8_t* image_data,
|
D | avb_descriptor.h | 103 bool avb_descriptor_foreach(const uint8_t* image_data, 122 const AvbDescriptor** avb_descriptor_get_all(const uint8_t* image_data,
|
/external/libpng/contrib/gregbook/ |
D | readppm.c | 69 uch *image_data = NULL; variable 165 if ((image_data = (uch *)malloc(rowbytes*height)) == NULL) { in readpng_get_image() 171 if (fread(image_data, 1L, rowbytes*height, saved_infile) < in readpng_get_image() 173 free (image_data); in readpng_get_image() 174 image_data = NULL; in readpng_get_image() 178 return image_data; in readpng_get_image() 184 if (free_image_data && image_data) { 185 free(image_data); 186 image_data = NULL;
|
D | readpng.c | 74 uch *image_data = NULL; variable 219 free(image_data); in readpng_get_image() 220 image_data = NULL; in readpng_get_image() 273 if ((image_data = (uch *)malloc(rowbytes*height)) == NULL) { in readpng_get_image() 279 free(image_data); in readpng_get_image() 280 image_data = NULL; in readpng_get_image() 291 row_pointers[i] = image_data + i*rowbytes; in readpng_get_image() 307 return image_data; in readpng_get_image() 313 if (free_image_data && image_data) { 314 free(image_data); [all …]
|
D | wpng.c | 180 wpng_info.image_data = NULL; in main() 719 wpng_info.image_data = (uch *)malloc(image_bytes); in main() 721 if (wpng_info.image_data == NULL || wpng_info.row_pointers == NULL) { in main() 728 wpng_info.row_pointers[i] = wpng_info.image_data + i*rowbytes; in main() 729 bytes = fread(wpng_info.image_data, 1, image_bytes, wpng_info.infile); in main() 747 wpng_info.image_data = (uch *)malloc(rowbytes); in main() 748 if (wpng_info.image_data == NULL) { in main() 756 bytes = fread(wpng_info.image_data, 1, rowbytes, wpng_info.infile); in main() 831 if (wpng_info.image_data) { 832 free(wpng_info.image_data); [all …]
|
D | rpng-win.c | 154 static uch *image_data; variable 430 image_data = readpng_get_image(display_exponent, &image_channels, in WinMain() 441 if (!image_data) { in WinMain() 451 free(image_data); in WinMain() 607 src = image_data + row*image_rowbytes; in rpng_win_display_image() 680 if (image_data) { in rpng_win_cleanup() 681 free(image_data); in rpng_win_cleanup() 682 image_data = NULL; in rpng_win_cleanup()
|
D | rpng-x.c | 138 static uch *image_data; variable 383 image_data = readpng_get_image(display_exponent, &image_channels, in main() 394 if (!image_data) { in main() 404 free(image_data); in main() 716 src = image_data + row*image_rowbytes; in rpng_x_display_image() 790 src = image_data + row*image_rowbytes; in rpng_x_display_image() 870 if (image_data) { in rpng_x_cleanup() 871 free(image_data); in rpng_x_cleanup() 872 image_data = NULL; in rpng_x_cleanup()
|
D | rpng2-win.c | 659 rpng2_info.image_data = (uch *)malloc(rowbytes * rpng2_info.height); in rpng2_win_init() 660 if (!rpng2_info.image_data) { in rpng2_win_init() 667 free(rpng2_info.image_data); in rpng2_win_init() 668 rpng2_info.image_data = NULL; in rpng2_win_init() 674 rpng2_info.row_pointers[i] = rpng2_info.image_data + i*rowbytes; in rpng2_win_init() 1106 src = rpng2_info.image_data + row*rpng2_info.rowbytes; 1204 if (rpng2_info.image_data) { 1205 free(rpng2_info.image_data); 1206 rpng2_info.image_data = NULL;
|
/external/tensorflow/tensorflow/examples/android/jni/object_tracking/ |
D | tracked_object.cc | 52 const ImageData& image_data, in UpdatePosition() argument 57 InitNormalized(*image_data.GetImage(), new_position, &last_frame_thumbnail_); in UpdatePosition() 74 object_model_->GetMatchScore(new_position, image_data); in UpdatePosition() 90 object_model_->TrackStep(last_known_position_, *image_data.GetImage(), in UpdatePosition() 91 *image_data.GetIntegralImage(), authoratative); in UpdatePosition() 116 const ImageData& image_data) { in OnDetection() argument 153 *image_data.GetImage(), detection_position, &last_detection_thumbnail_); in OnDetection() 158 UpdatePosition(detection_position, timestamp, image_data, false); in OnDetection()
|
D | keypoint_detector.cc | 35 void KeypointDetector::ScoreKeypoints(const ImageData& image_data, in ScoreKeypoints() argument 38 const Image<int>& I_x = *image_data.GetSpatialX(0); in ScoreKeypoints() 39 const Image<int>& I_y = *image_data.GetSpatialY(0); in ScoreKeypoints() 42 const Image<uint8_t>& u_data = *image_data.GetU(); in ScoreKeypoints() 43 const Image<uint8_t>& v_data = *image_data.GetV(); in ScoreKeypoints() 327 void KeypointDetector::FindKeypoints(const ImageData& image_data, in FindKeypoints() argument 337 FindFastKeypoints(image_data, max_num_fast, in FindKeypoints() 364 ScoreKeypoints(image_data, number_of_tmp_keypoints, tmp_keypoints_); in FindKeypoints() 527 int KeypointDetector::FindFastKeypoints(const ImageData& image_data, in FindFastKeypoints() argument 535 const Image<uint8_t>& frame = *image_data.GetPyramidSqrt2Level(i); in FindFastKeypoints()
|
D | keypoint_detector.h | 47 void FindKeypoints(const ImageData& image_data, 71 int FindFastKeypoints(const ImageData& image_data, 77 void ScoreKeypoints(const ImageData& image_data,
|
D | tracked_object.h | 40 const ImageData& image_data, const bool authoratative); 48 const ImageData& image_data);
|
/external/libxcam/modules/ocl/ |
D | cl_image_bo_buffer.cpp | 150 SmartPtr<CLImageBoData> image_data = create_image_bo (info); in fixate_video_info() local 153 image_data.ptr (), in fixate_video_info() 157 image = image_data->get_image (); in fixate_video_info() 200 add_data_unsafe (image_data); in fixate_video_info() 208 SmartPtr<CLImageBoData> image_data = create_image_bo (buffer_info); in allocate_data() local 209 return image_data; in allocate_data() 216 SmartPtr<CLImageBoData> image_data = data.dynamic_cast_ptr<CLImageBoData> (); in create_buffer_from_data() local 217 XCAM_ASSERT (image_data.ptr ()); in create_buffer_from_data() 219 SmartPtr<CLImageBoBuffer> out_buf = new CLImageBoBuffer (info, image_data); in create_buffer_from_data()
|
/external/libjpeg-turbo/simd/loongson/ |
D | jcsample.h | 11 expand_right_edge(JSAMPARRAY image_data, int num_rows, JDIMENSION input_cols, in expand_right_edge() argument 22 ptr = image_data[row] + input_cols; in expand_right_edge()
|
/external/libjpeg-turbo/simd/powerpc/ |
D | jcsample.h | 11 expand_right_edge(JSAMPARRAY image_data, int num_rows, JDIMENSION input_cols, in expand_right_edge() argument 22 ptr = image_data[row] + input_cols; in expand_right_edge()
|
/external/u-boot/common/ |
D | image-fdt.c | 231 ulong image_start, image_data, image_end; in boot_get_fdt() local 320 image_data = (ulong)image_get_data(fdt_hdr); in boot_get_fdt() 327 load == image_data) { in boot_get_fdt() 338 image_data, load); in boot_get_fdt() 341 (void *)image_data, in boot_get_fdt()
|
/external/dynamic_depth/internal/dynamic_depth/ |
D | depth_jpeg.cc | 22 const string image_data(buffer, buffer_length); in ValidateAndroidDynamicDepthBuffer() local 23 ReadXmpFromMemory(image_data, /*XmpSkipExtended*/ false, &xmp_data); in ValidateAndroidDynamicDepthBuffer()
|
/external/tensorflow/tensorflow/contrib/gan/python/estimator/python/ |
D | stargan_estimator_test.py | 276 image_data = np.zeros( 279 x={'x': image_data}, 284 x={'x': image_data}, batch_size=batch_size, shuffle=False) 286 x={'x': image_data}, shuffle=False)
|