/third_party/skia/third_party/externals/libjpeg-turbo/ |
D | wrgif.c | 112 flush_packet(gif_dest_ptr dinfo) in flush_packet() argument 115 if (dinfo->bytesinpkt > 0) { /* never write zero-length packet */ in flush_packet() 116 dinfo->packetbuf[0] = (char)dinfo->bytesinpkt++; in flush_packet() 117 if (JFWRITE(dinfo->pub.output_file, dinfo->packetbuf, dinfo->bytesinpkt) != in flush_packet() 118 (size_t)dinfo->bytesinpkt) in flush_packet() 119 ERREXIT(dinfo->cinfo, JERR_FILE_WRITE); in flush_packet() 120 dinfo->bytesinpkt = 0; in flush_packet() 126 #define CHAR_OUT(dinfo, c) { \ argument 127 (dinfo)->packetbuf[++(dinfo)->bytesinpkt] = (char)(c); \ 128 if ((dinfo)->bytesinpkt >= 255) \ [all …]
|
D | turbojpeg.c | 108 struct jpeg_decompress_struct dinfo; member 121 static void my_progress_monitor(j_common_ptr dinfo) in my_progress_monitor() argument 123 my_error_ptr myerr = (my_error_ptr)dinfo->err; in my_progress_monitor() 124 my_progress_ptr myprog = (my_progress_ptr)dinfo->progress; in my_progress_monitor() 126 if (dinfo->is_decompressor) { in my_progress_monitor() 127 int scan_no = ((j_decompress_ptr)dinfo)->input_scan_number; in my_progress_monitor() 215 j_decompress_ptr dinfo = NULL; \ 221 cinfo = &this->cinfo; dinfo = &this->dinfo; \ 239 j_decompress_ptr dinfo = NULL; \ 245 dinfo = &this->dinfo; \ [all …]
|
D | wrtarga.c | 48 write_header(j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, int num_colors) in write_header() argument 82 if (JFWRITE(dinfo->output_file, targaheader, 18) != (size_t)18) in write_header() 93 put_pixel_rows(j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, in put_pixel_rows() argument 97 tga_dest_ptr dest = (tga_dest_ptr)dinfo; in put_pixel_rows() 114 put_gray_rows(j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, in put_gray_rows() argument 118 tga_dest_ptr dest = (tga_dest_ptr)dinfo; in put_gray_rows() 135 put_demapped_gray(j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, in put_demapped_gray() argument 138 tga_dest_ptr dest = (tga_dest_ptr)dinfo; in put_demapped_gray() 158 start_output_tga(j_decompress_ptr cinfo, djpeg_dest_ptr dinfo) in start_output_tga() argument 160 tga_dest_ptr dest = (tga_dest_ptr)dinfo; in start_output_tga() [all …]
|
D | wrppm.c | 90 put_pixel_rows(j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, in put_pixel_rows() argument 93 ppm_dest_ptr dest = (ppm_dest_ptr)dinfo; in put_pixel_rows() 105 copy_pixel_rows(j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, in copy_pixel_rows() argument 108 ppm_dest_ptr dest = (ppm_dest_ptr)dinfo; in copy_pixel_rows() 133 put_rgb(j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, JDIMENSION rows_supplied) in put_rgb() argument 135 ppm_dest_ptr dest = (ppm_dest_ptr)dinfo; in put_rgb() 161 put_cmyk(j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, in put_cmyk() argument 164 ppm_dest_ptr dest = (ppm_dest_ptr)dinfo; in put_cmyk() 188 put_demapped_rgb(j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, in put_demapped_rgb() argument 191 ppm_dest_ptr dest = (ppm_dest_ptr)dinfo; in put_demapped_rgb() [all …]
|
D | cdjpeg.h | 55 void (*start_output) (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo); 57 void (*put_pixel_rows) (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, 60 void (*finish_output) (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo); 67 djpeg_dest_ptr dinfo);
|
D | wrbmp.c | 97 put_pixel_rows(j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, in put_pixel_rows() argument 101 bmp_dest_ptr dest = (bmp_dest_ptr)dinfo; in put_pixel_rows() 172 put_gray_rows(j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, in put_gray_rows() argument 176 bmp_dest_ptr dest = (bmp_dest_ptr)dinfo; in put_gray_rows() 417 start_output_bmp(j_decompress_ptr cinfo, djpeg_dest_ptr dinfo) in start_output_bmp() argument 419 bmp_dest_ptr dest = (bmp_dest_ptr)dinfo; in start_output_bmp() 432 finish_output_bmp(j_decompress_ptr cinfo, djpeg_dest_ptr dinfo) in finish_output_bmp() argument 434 bmp_dest_ptr dest = (bmp_dest_ptr)dinfo; in finish_output_bmp()
|
/third_party/skia/src/codec/ |
D | SkJpegCodec.cpp | 58 static SkEncodedOrigin get_exif_orientation(jpeg_decompress_struct* dinfo) { in get_exif_orientation() argument 60 for (jpeg_marker_struct* marker = dinfo->marker_list; marker; marker = marker->next) { in get_exif_orientation() 83 static std::unique_ptr<SkEncodedInfo::ICCProfile> read_color_profile(jpeg_decompress_struct* dinfo) in read_color_profile() argument 92 for (jpeg_marker_struct* marker = dinfo->marker_list; marker; marker = marker->next) { in read_color_profile() 162 auto* dinfo = decoderMgr->dinfo(); in ReadHeader() local 168 jpeg_save_markers(dinfo, kExifMarker, 0xFFFF); in ReadHeader() 169 jpeg_save_markers(dinfo, kICCMarker, 0xFFFF); in ReadHeader() 173 switch (jpeg_read_header(dinfo, true)) { in ReadHeader() 189 SkEncodedOrigin orientation = get_exif_orientation(dinfo); in ReadHeader() 190 auto profile = read_color_profile(dinfo); in ReadHeader() [all …]
|
D | SkJpegUtility.cpp | 15 void skjpeg_err_exit(j_common_ptr dinfo) { in skjpeg_err_exit() argument 18 skjpeg_error_mgr* error = (skjpeg_error_mgr*) dinfo->err; in skjpeg_err_exit() 19 (*error->output_message) (dinfo); in skjpeg_err_exit() 31 static void sk_init_buffered_source(j_decompress_ptr dinfo) { in sk_init_buffered_source() argument 32 skjpeg_source_mgr* src = (skjpeg_source_mgr*) dinfo->src; in sk_init_buffered_source() 40 static boolean sk_fill_buffered_input_buffer(j_decompress_ptr dinfo) { in sk_fill_buffered_input_buffer() argument 41 skjpeg_source_mgr* src = (skjpeg_source_mgr*) dinfo->src; in sk_fill_buffered_input_buffer() 60 static void sk_skip_buffered_input_data(j_decompress_ptr dinfo, long numBytes) { in sk_skip_buffered_input_data() argument 61 skjpeg_source_mgr* src = (skjpeg_source_mgr*) dinfo->src; in sk_skip_buffered_input_data() 68 dinfo->err->error_exit((j_common_ptr) dinfo); in sk_skip_buffered_input_data() [all …]
|
D | SkJpegDecoderMgr.h | 64 jpeg_decompress_struct* dinfo() { return &fDInfo; } in dinfo() function
|
/third_party/skia/third_party/externals/libwebp/imageio/ |
D | jpegdec.c | 47 static void SaveMetadataMarkers(j_decompress_ptr dinfo) { in SaveMetadataMarkers() argument 49 jpeg_save_markers(dinfo, JPEG_APP1, max_marker_length); // Exif/XMP in SaveMetadataMarkers() 50 jpeg_save_markers(dinfo, JPEG_APP2, max_marker_length); // ICC profile in SaveMetadataMarkers() 62 static int StoreICCP(j_decompress_ptr dinfo, MetadataPayload* const iccp) { in StoreICCP() argument 75 for (marker = dinfo->marker_list; marker != NULL; marker = marker->next) { in StoreICCP() 150 static int ExtractMetadataFromJPEG(j_decompress_ptr dinfo, in ExtractMetadataFromJPEG() argument 167 if (!StoreICCP(dinfo, &metadata->iccp)) return 0; in ExtractMetadataFromJPEG() 169 for (marker = dinfo->marker_list; marker != NULL; marker = marker->next) { in ExtractMetadataFromJPEG() 207 static void my_error_exit(j_common_ptr dinfo) { in my_error_exit() argument 208 struct my_error_mgr* myerr = (struct my_error_mgr*)dinfo->err; in my_error_exit() [all …]
|
/third_party/gstreamer/gstplugins_good/ext/jpeg/ |
D | smokecodec.c | 63 struct jpeg_decompress_struct dinfo; member 187 memset (&newinfo->dinfo, 0, sizeof (newinfo->dinfo)); in smokecodec_encode_new() 188 newinfo->dinfo.err = jpeg_std_error (&newinfo->jerr); in smokecodec_encode_new() 189 jpeg_create_decompress (&newinfo->dinfo); in smokecodec_encode_new() 196 newinfo->dinfo.src = &newinfo->jsrc; in smokecodec_encode_new() 227 jpeg_destroy_decompress (&info->dinfo); in smokecodec_info_free() 639 res = jpeg_read_header (&info->dinfo, TRUE); in smokecodec_decode() 640 GST_DEBUG ("header %d %d %d", res, info->dinfo.image_width, in smokecodec_decode() 641 info->dinfo.image_height); in smokecodec_decode() 643 blocks_w = info->dinfo.image_width / (2 * DCTSIZE); in smokecodec_decode() [all …]
|
D | gstjpegdec.c | 480 add_huff_table (j_decompress_ptr dinfo, in add_huff_table() argument 487 *htblptr = jpeg_alloc_huff_table ((j_common_ptr) dinfo); in add_huff_table() 510 std_huff_tables (j_decompress_ptr dinfo) in std_huff_tables() argument 576 add_huff_table (dinfo, &dinfo->dc_huff_tbl_ptrs[0], in std_huff_tables() 578 add_huff_table (dinfo, &dinfo->ac_huff_tbl_ptrs[0], in std_huff_tables() 580 add_huff_table (dinfo, &dinfo->dc_huff_tbl_ptrs[1], in std_huff_tables() 582 add_huff_table (dinfo, &dinfo->ac_huff_tbl_ptrs[1], in std_huff_tables() 589 guarantee_huff_tables (j_decompress_ptr dinfo) in guarantee_huff_tables() argument 591 if ((dinfo->dc_huff_tbl_ptrs[0] == NULL) && in guarantee_huff_tables() 592 (dinfo->dc_huff_tbl_ptrs[1] == NULL) && in guarantee_huff_tables() [all …]
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
D | zink_draw.cpp | 93 barrier_draw_buffers(struct zink_context *ctx, const struct pipe_draw_info *dinfo, in barrier_draw_buffers() argument 236 const struct pipe_draw_info *dinfo, in draw_indexed_need_index_buffer_unref() argument 243 if (dinfo->increment_draw_id && needs_drawid) { in draw_indexed_need_index_buffer_unref() 247 draws[i].count, dinfo->instance_count, in draw_indexed_need_index_buffer_unref() 248 0, draws[i].index_bias, dinfo->start_instance); in draw_indexed_need_index_buffer_unref() 256 draws[i].count, dinfo->instance_count, in draw_indexed_need_index_buffer_unref() 257 0, draws[i].index_bias, dinfo->start_instance); in draw_indexed_need_index_buffer_unref() 265 const struct pipe_draw_info *dinfo, in draw_indexed() argument 272 if (dinfo->increment_draw_id && needs_drawid) { in draw_indexed() 276 draws[i].count, dinfo->instance_count, in draw_indexed() [all …]
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/ |
D | video-frame.c | 299 GstVideoInfo *dinfo; in gst_video_frame_copy_plane() local 310 dinfo = &dest->info; in gst_video_frame_copy_plane() 312 g_return_val_if_fail (dinfo->finfo->format == sinfo->finfo->format, FALSE); in gst_video_frame_copy_plane() 314 finfo = dinfo->finfo; in gst_video_frame_copy_plane() 316 g_return_val_if_fail (dinfo->width <= sinfo->width in gst_video_frame_copy_plane() 317 && dinfo->height <= sinfo->height, FALSE); in gst_video_frame_copy_plane() 335 w = MIN (GST_VIDEO_INFO_PLANE_STRIDE (dinfo, plane), in gst_video_frame_copy_plane() 341 ds = GST_VIDEO_INFO_PLANE_STRIDE (dinfo, plane); in gst_video_frame_copy_plane() 411 GstVideoInfo *dinfo; in gst_video_frame_copy() local 417 dinfo = &dest->info; in gst_video_frame_copy() [all …]
|
D | video-blend.c | 307 const GstVideoFormatInfo *sinfo, *dinfo, *dunpackinfo, *sunpackinfo; in gst_video_blend() local 334 dinfo = gst_video_format_get_info (GST_VIDEO_FRAME_FORMAT (dest)); in gst_video_blend() 337 if (!sinfo || !dinfo) in gst_video_blend() 340 dunpackinfo = gst_video_format_get_info (dinfo->unpack_format); in gst_video_blend() 401 dinfo->unpack_func (dinfo, 0, tmpdestline, dest->data, dest->info.stride, in gst_video_blend() 496 dinfo->pack_func (dinfo, 0, tmpdestline, dest_width, in gst_video_blend() 513 gst_video_format_to_string (dinfo->unpack_format)); in gst_video_blend()
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
D | d3d12_draw.cpp | 352 const struct pipe_draw_info *dinfo, in fill_graphics_state_vars() argument 377 ptr[0] = dinfo->index_size ? draw->index_bias : draw->start; in fill_graphics_state_vars() 378 ptr[1] = dinfo->start_instance; in fill_graphics_state_vars() 380 ptr[3] = dinfo->index_size ? -1 : 0; in fill_graphics_state_vars() 545 const struct pipe_draw_info *dinfo, in update_graphics_root_parameters() argument 564 …unsigned size = fill_graphics_state_vars(ctx, dinfo, drawid, draw, shader_sel->current, constants,… in update_graphics_root_parameters() 675 const struct pipe_draw_info *dinfo, in twoface_emulation() argument 681 d3d12_draw_vbo(&ctx->base, dinfo, 0, indirect, draw, 1); in twoface_emulation() 745 const struct pipe_draw_info *dinfo, in update_draw_indirect_with_sysvals() argument 777 key.base_vertex.indexed = dinfo->index_size > 0; in update_draw_indirect_with_sysvals() [all …]
|
D | d3d12_compiler.cpp | 344 fill_mode_lowered(struct d3d12_context *ctx, const struct pipe_draw_info *dinfo) in fill_mode_lowered() argument 351 (dinfo->mode != PIPE_PRIM_TRIANGLES && in fill_mode_lowered() 352 dinfo->mode != PIPE_PRIM_TRIANGLE_STRIP)) in fill_mode_lowered() 384 needs_point_sprite_lowering(struct d3d12_context *ctx, const struct pipe_draw_info *dinfo) in needs_point_sprite_lowering() argument 398 return ((dinfo->mode == PIPE_PRIM_POINTS || in needs_point_sprite_lowering() 399 fill_mode_lowered(ctx, dinfo) == PIPE_POLYGON_MODE_POINT) && in needs_point_sprite_lowering() 421 …ertex(struct d3d12_selection_context *sel_ctx, bool *alternate, const struct pipe_draw_info *dinfo) in get_provoking_vertex() argument 423 if (dinfo->mode == GL_PATCHES) { in get_provoking_vertex() 443 mode = (enum pipe_prim_type)dinfo->mode; in get_provoking_vertex() 478 needs_vertex_reordering(struct d3d12_selection_context *sel_ctx, const struct pipe_draw_info *dinfo) in needs_vertex_reordering() argument [all …]
|
/third_party/gstreamer/gstplugins_base/tests/check/libs/ |
D | discoverer.c | 52 GstDiscovererInfo *info, *dinfo; in GST_START_TEST() local 84 dinfo = gst_discoverer_info_from_variant (serialized); in GST_START_TEST() 86 fail_unless (dinfo); in GST_START_TEST() 87 audio_streams = gst_discoverer_info_get_audio_streams (dinfo); in GST_START_TEST() 92 gst_discoverer_info_to_variant (dinfo, GST_DISCOVERER_SERIALIZE_ALL); in GST_START_TEST() 96 gst_discoverer_info_unref (dinfo); in GST_START_TEST()
|
/third_party/openssl/crypto/pkcs12/ |
D | p12_mutl.c | 36 X509_SIG_get0(p12->mac->dinfo, pmacalg, pmac); in PKCS12_get0_mac() 112 X509_SIG_get0(p12->mac->dinfo, &macalg, NULL); in pkcs12_gen_mac() 194 X509_SIG_get0(p12->mac->dinfo, NULL, &macoct); in PKCS12_verify_mac() 228 X509_SIG_getm(p12->mac->dinfo, NULL, &macoct); in PKCS12_set_mac() 273 X509_SIG_getm(p12->mac->dinfo, &macalg, NULL); in PKCS12_setup_mac()
|
D | p12_local.h | 11 X509_SIG *dinfo; member
|
/third_party/node/deps/openssl/openssl/crypto/pkcs12/ |
D | p12_mutl.c | 36 X509_SIG_get0(p12->mac->dinfo, pmacalg, pmac); in PKCS12_get0_mac() 107 X509_SIG_get0(p12->mac->dinfo, &macalg, NULL); in pkcs12_gen_mac() 194 X509_SIG_get0(p12->mac->dinfo, NULL, &macoct); in PKCS12_verify_mac() 228 X509_SIG_getm(p12->mac->dinfo, NULL, &macoct); in PKCS12_set_mac() 273 X509_SIG_getm(p12->mac->dinfo, &macalg, NULL); in PKCS12_setup_mac()
|
/third_party/mesa3d/src/util/indices/ |
D | u_primconvert.c | 350 struct pipe_draw_info dinfo = {0}; in util_primconvert_draw_vertex_state() local 351 dinfo.mode = info.mode; in util_primconvert_draw_vertex_state() 352 dinfo.index_size = 4; in util_primconvert_draw_vertex_state() 353 dinfo.instance_count = 1; in util_primconvert_draw_vertex_state() 354 dinfo.index.resource = vstate->input.indexbuf; in util_primconvert_draw_vertex_state() 355 if (!primconvert_init_draw(pc, &dinfo, draws, &new_info, &new_draw)) in util_primconvert_draw_vertex_state()
|
/third_party/ltp/testcases/kernel/fs/doio/ |
D | iogen.c | 952 struct lk_device_info dinfo; in get_file_info() local 1002 if (lk_rawdev(rec->f_path, dinfo.path, sizeof(dinfo.path), 0) == in get_file_info() 1006 if (lk_devinfo(&dinfo, 0) == -1) { in get_file_info() 1010 rec->f_riou = ctob(dinfo.iou); in get_file_info() 1040 strcpy(dinfo.path, rec->f_path); in get_file_info() 1042 if (lk_devinfo(&dinfo, 0) == -1) { in get_file_info() 1048 rec->f_iou = ctob(dinfo.iou); in get_file_info() 1049 rec->f_riou = ctob(dinfo.iou); in get_file_info() 1050 rec->f_length = ctob(dinfo.length); in get_file_info()
|
/third_party/gstreamer/gstreamer/gst/ |
D | gstallocator.c | 94 GstMapInfo sinfo, dinfo; in _fallback_mem_copy() local 110 if (!gst_memory_map (copy, &dinfo, GST_MAP_WRITE)) { in _fallback_mem_copy() 119 memcpy (dinfo.data, sinfo.data + offset, size); in _fallback_mem_copy() 120 gst_memory_unmap (copy, &dinfo); in _fallback_mem_copy()
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/ |
D | gstglbasememory.c | 579 GstMapInfo sinfo, dinfo; in gst_gl_base_memory_memcpy() local 590 if (!gst_memory_map ((GstMemory *) dest, &dinfo, GST_MAP_WRITE)) { in gst_gl_base_memory_memcpy() 602 memcpy (dinfo.data, sinfo.data + offset, size); in gst_gl_base_memory_memcpy() 603 gst_memory_unmap ((GstMemory *) dest, &dinfo); in gst_gl_base_memory_memcpy()
|