/third_party/flutter/skia/third_party/externals/libjpeg-turbo/ |
D | wrgif.c | 84 flush_packet(gif_dest_ptr dinfo) in flush_packet() argument 87 if (dinfo->bytesinpkt > 0) { /* never write zero-length packet */ in flush_packet() 88 dinfo->packetbuf[0] = (char)dinfo->bytesinpkt++; in flush_packet() 89 if (JFWRITE(dinfo->pub.output_file, dinfo->packetbuf, dinfo->bytesinpkt) != in flush_packet() 90 (size_t)dinfo->bytesinpkt) in flush_packet() 91 ERREXIT(dinfo->cinfo, JERR_FILE_WRITE); in flush_packet() 92 dinfo->bytesinpkt = 0; in flush_packet() 98 #define CHAR_OUT(dinfo, c) { \ argument 99 (dinfo)->packetbuf[++(dinfo)->bytesinpkt] = (char)(c); \ 100 if ((dinfo)->bytesinpkt >= 255) \ [all …]
|
D | turbojpeg.c | 107 struct jpeg_decompress_struct dinfo; member 183 j_decompress_ptr dinfo = NULL; \ 189 cinfo = &this->cinfo; dinfo = &this->dinfo; \ 207 j_decompress_ptr dinfo = NULL; \ 213 dinfo = &this->dinfo; \ 305 static int getSubsamp(j_decompress_ptr dinfo) in getSubsamp() argument 313 if (dinfo->num_components == 1 && dinfo->jpeg_color_space == JCS_GRAYSCALE) in getSubsamp() 317 if (dinfo->num_components == pixelsize[i] || in getSubsamp() 318 ((dinfo->jpeg_color_space == JCS_YCCK || in getSubsamp() 319 dinfo->jpeg_color_space == JCS_CMYK) && in getSubsamp() [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() 138 put_demapped_gray(j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, in put_demapped_gray() argument 141 tga_dest_ptr dest = (tga_dest_ptr)dinfo; in put_demapped_gray() 161 start_output_tga(j_decompress_ptr cinfo, djpeg_dest_ptr dinfo) in start_output_tga() argument 163 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 | wrrle.c | 69 djpeg_dest_ptr dinfo, 80 start_output_rle(j_decompress_ptr cinfo, djpeg_dest_ptr dinfo) in start_output_rle() argument 82 rle_dest_ptr dest = (rle_dest_ptr)dinfo; in start_output_rle() 156 rle_put_pixel_rows(j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, in rle_put_pixel_rows() argument 159 rle_dest_ptr dest = (rle_dest_ptr)dinfo; in rle_put_pixel_rows() 175 finish_output_rle(j_decompress_ptr cinfo, djpeg_dest_ptr dinfo) in finish_output_rle() argument 177 rle_dest_ptr dest = (rle_dest_ptr)dinfo; in finish_output_rle()
|
/third_party/libjpeg-turbo/ |
D | wrgif.c | 84 flush_packet(gif_dest_ptr dinfo) in flush_packet() argument 87 if (dinfo->bytesinpkt > 0) { /* never write zero-length packet */ in flush_packet() 88 dinfo->packetbuf[0] = (char)dinfo->bytesinpkt++; in flush_packet() 89 if (JFWRITE(dinfo->pub.output_file, dinfo->packetbuf, dinfo->bytesinpkt) != in flush_packet() 90 (size_t)dinfo->bytesinpkt) in flush_packet() 91 ERREXIT(dinfo->cinfo, JERR_FILE_WRITE); in flush_packet() 92 dinfo->bytesinpkt = 0; in flush_packet() 98 #define CHAR_OUT(dinfo, c) { \ argument 99 (dinfo)->packetbuf[++(dinfo)->bytesinpkt] = (char)(c); \ 100 if ((dinfo)->bytesinpkt >= 255) \ [all …]
|
D | turbojpeg.c | 108 struct jpeg_decompress_struct dinfo; member 184 j_decompress_ptr dinfo = NULL; \ 190 cinfo = &this->cinfo; dinfo = &this->dinfo; \ 208 j_decompress_ptr dinfo = NULL; \ 214 dinfo = &this->dinfo; \ 308 static int getSubsamp(j_decompress_ptr dinfo) in getSubsamp() argument 316 if (dinfo->num_components == 1 && dinfo->jpeg_color_space == JCS_GRAYSCALE) in getSubsamp() 320 if (dinfo->num_components == pixelsize[i] || in getSubsamp() 321 ((dinfo->jpeg_color_space == JCS_YCCK || in getSubsamp() 322 dinfo->jpeg_color_space == JCS_CMYK) && in getSubsamp() [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() 138 put_demapped_gray(j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, in put_demapped_gray() argument 141 tga_dest_ptr dest = (tga_dest_ptr)dinfo; in put_demapped_gray() 161 start_output_tga(j_decompress_ptr cinfo, djpeg_dest_ptr dinfo) in start_output_tga() argument 163 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 …]
|
/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 …]
|
/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 …]
|
/third_party/flutter/skia/src/codec/ |
D | SkJpegCodec.cpp | 109 static SkEncodedOrigin get_exif_orientation(jpeg_decompress_struct* dinfo) { in get_exif_orientation() argument 111 for (jpeg_marker_struct* marker = dinfo->marker_list; marker; marker = marker->next) { in get_exif_orientation() 134 static std::unique_ptr<SkEncodedInfo::ICCProfile> read_color_profile(jpeg_decompress_struct* dinfo) in read_color_profile() argument 143 for (jpeg_marker_struct* marker = dinfo->marker_list; marker; marker = marker->next) { in read_color_profile() 213 auto* dinfo = decoderMgr->dinfo(); in ReadHeader() local 219 jpeg_save_markers(dinfo, kExifMarker, 0xFFFF); in ReadHeader() 220 jpeg_save_markers(dinfo, kICCMarker, 0xFFFF); in ReadHeader() 224 switch (jpeg_read_header(dinfo, true)) { in ReadHeader() 240 SkEncodedOrigin orientation = get_exif_orientation(dinfo); in ReadHeader() 241 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 …]
|
/third_party/flutter/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/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/iptables/extensions/ |
D | libxt_dscp.c | 55 struct xt_dscp_info *dinfo = cb->data; in dscp_parse() local 61 dinfo->invert = 1; in dscp_parse() 64 dinfo->dscp = class_to_dscp(cb->arg); in dscp_parse() 66 dinfo->invert = 1; in dscp_parse() 81 const struct xt_dscp_info *dinfo = in dscp_print() local 83 printf(" DSCP match %s0x%02x", dinfo->invert ? "!" : "", dinfo->dscp); in dscp_print() 88 const struct xt_dscp_info *dinfo = in dscp_save() local 91 printf("%s --dscp 0x%02x", dinfo->invert ? " !" : "", dinfo->dscp); in dscp_save() 97 const struct xt_dscp_info *dinfo = in __dscp_xlate() local 100 xt_xlate_add(xl, "dscp %s0x%02x", dinfo->invert ? "!= " : "", in __dscp_xlate() [all …]
|
D | libxt_DSCP.c | 55 struct xt_DSCP_info *dinfo = cb->data; in DSCP_parse() local 60 dinfo->dscp = class_to_dscp(cb->arg); in DSCP_parse() 81 const struct xt_DSCP_info *dinfo = in DSCP_print() local 84 print_dscp(dinfo->dscp, numeric); in DSCP_print() 89 const struct xt_DSCP_info *dinfo = in DSCP_save() local 92 printf(" --set-dscp 0x%02x", dinfo->dscp); in DSCP_save() 99 const struct xt_DSCP_info *dinfo = in DSCP_xlate() local 102 xt_xlate_add(xl, "ip dscp set 0x%02x", dinfo->dscp); in DSCP_xlate() 109 const struct xt_DSCP_info *dinfo = in DSCP_xlate6() local 112 xt_xlate_add(xl, "ip6 dscp set 0x%02x", dinfo->dscp); in DSCP_xlate6()
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
D | d3d12_draw.cpp | 172 const struct pipe_draw_info *dinfo, in fill_state_vars() argument 195 ptr[0] = dinfo->index_size ? draw->index_bias : draw->start; in fill_state_vars() 250 const struct pipe_draw_info *dinfo, in update_graphics_root_parameters() argument 292 unsigned size = fill_state_vars(ctx, dinfo, draw, shader, constants); in update_graphics_root_parameters() 377 const struct pipe_draw_info *dinfo, in twoface_emulation() argument 382 d3d12_draw_vbo(&ctx->base, dinfo, 0, NULL, draw, 1); in twoface_emulation() 443 const struct pipe_draw_info *dinfo, in d3d12_draw_vbo() argument 450 util_draw_multi(pctx, dinfo, drawid_offset, indirect, draws, num_draws); in d3d12_draw_vbo() 454 if (!indirect && (!draws[0].count || !dinfo->instance_count)) in d3d12_draw_vbo() 464 if (!prim_supported((enum pipe_prim_type)dinfo->mode) || in d3d12_draw_vbo() [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 …]
|
/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 …]
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
D | zink_draw.cpp | 109 barrier_draw_buffers(struct zink_context *ctx, const struct pipe_draw_info *dinfo, in barrier_draw_buffers() argument 248 const struct pipe_draw_info *dinfo, in draw_indexed_need_index_buffer_unref() argument 255 if (dinfo->increment_draw_id && needs_drawid) { in draw_indexed_need_index_buffer_unref() 259 draws[i].count, dinfo->instance_count, in draw_indexed_need_index_buffer_unref() 260 0, draws[i].index_bias, dinfo->start_instance); in draw_indexed_need_index_buffer_unref() 268 draws[i].count, dinfo->instance_count, in draw_indexed_need_index_buffer_unref() 269 0, draws[i].index_bias, dinfo->start_instance); in draw_indexed_need_index_buffer_unref() 277 const struct pipe_draw_info *dinfo, in draw_indexed() argument 284 if (dinfo->increment_draw_id && needs_drawid) { in draw_indexed() 288 draws[i].count, dinfo->instance_count, in draw_indexed() [all …]
|