Home
last modified time | relevance | path

Searched refs:image_height (Results 1 – 25 of 140) sorted by relevance

123456

/third_party/ffmpeg/libavcodec/
Dflashsvenc.c60 int image_width, image_height; member
115 s->image_height = avctx->height; in flashsv_encode_init()
117 s->encbuffer = av_mallocz(s->image_width * s->image_height * 3); in flashsv_encode_init()
143 put_bits(&pb, 12, s->image_height); in encode_bitstream()
149 v_blocks = s->image_height / block_height; in encode_bitstream()
150 v_part = s->image_height % block_height; in encode_bitstream()
168 s->image_height - (y_pos + cur_blk_height + 1), in encode_bitstream()
213 s->previous_frame = av_mallocz(FFABS(p->linesize[0]) * s->image_height); in flashsv_encode_frame()
222 pfptr = s->previous_frame - (s->image_height - 1) * p->linesize[0]; in flashsv_encode_frame()
232 if ((res = ff_alloc_packet2(avctx, pkt, s->image_width * s->image_height * 3, 0)) < 0) in flashsv_encode_frame()
[all …]
Dflashsv.c54 int image_width, image_height; member
229 (s->image_height - y_pos - k) * s->frame->linesize[0], in flashsv_decode_block()
238 s->image_height - (y_pos + 1 + s->diff_height), in flashsv_decode_block()
289 s->image_height = get_bits(&gb, 12); in flashsv_decode_frame()
310 v_blocks = s->image_height / s->block_height; in flashsv_decode_frame()
311 v_part = s->image_height % s->block_height; in flashsv_decode_frame()
342 if ((ret = ff_set_dimensions(avctx, s->image_width, s->image_height)) < 0) in flashsv_decode_frame()
347 if (avctx->width != s->image_width || avctx->height != s->image_height) { in flashsv_decode_frame()
351 avctx->height, avctx->width, s->image_height, s->image_width); in flashsv_decode_frame()
368 s->image_width, s->image_height, s->block_width, s->block_height, in flashsv_decode_frame()
[all …]
Dflashsv2enc.c108 int image_width, image_height; member
155 s->image_height - row * s->block_height; in init_blocks()
182 s->rows = (s->image_height + s->block_height - 1) / s->block_height; in update_block_dimensions()
240 s->image_height = avctx->height; in flashsv2_encode_init()
242 s->frame_size = s->image_width * s->image_height * 3; in flashsv2_encode_init()
302 put_bits(&pb, 12, s->image_height); in write_header()
620 for (sl = s->image_height - 1; sl >= 0; sl--) { in mark_all_blocks()
622 rsl = s->image_height - sl - 1; in mark_all_blocks()
631 s->tot_lines += s->image_height * s->cols; in mark_all_blocks()
670 s->raw_size += s->image_width * s->image_height * 3; in encode_all_blocks()
[all …]
/third_party/libjpeg-turbo/
Djdmaster.c106 jdiv_round_up((long)cinfo->image_height, (long)DCTSIZE); in jpeg_core_output_dimensions()
114 jdiv_round_up((long)cinfo->image_height * 2L, (long)DCTSIZE); in jpeg_core_output_dimensions()
122 jdiv_round_up((long)cinfo->image_height * 3L, (long)DCTSIZE); in jpeg_core_output_dimensions()
130 jdiv_round_up((long)cinfo->image_height * 4L, (long)DCTSIZE); in jpeg_core_output_dimensions()
138 jdiv_round_up((long)cinfo->image_height * 5L, (long)DCTSIZE); in jpeg_core_output_dimensions()
146 jdiv_round_up((long)cinfo->image_height * 6L, (long)DCTSIZE); in jpeg_core_output_dimensions()
154 jdiv_round_up((long)cinfo->image_height * 7L, (long)DCTSIZE); in jpeg_core_output_dimensions()
162 jdiv_round_up((long)cinfo->image_height * 8L, (long)DCTSIZE); in jpeg_core_output_dimensions()
170 jdiv_round_up((long)cinfo->image_height * 9L, (long)DCTSIZE); in jpeg_core_output_dimensions()
178 jdiv_round_up((long)cinfo->image_height * 10L, (long)DCTSIZE); in jpeg_core_output_dimensions()
[all …]
Djcapistd.c85 if (cinfo->next_scanline >= cinfo->image_height) in jpeg_write_scanlines()
91 cinfo->progress->pass_limit = (long)cinfo->image_height; in jpeg_write_scanlines()
104 rows_left = cinfo->image_height - cinfo->next_scanline; in jpeg_write_scanlines()
128 if (cinfo->next_scanline >= cinfo->image_height) { in jpeg_write_raw_data()
136 cinfo->progress->pass_limit = (long)cinfo->image_height; in jpeg_write_raw_data()
Djdinput.c51 if ((long)cinfo->image_height > (long)JPEG_MAX_DIMENSION || in initial_setup()
109 jdiv_round_up((long)cinfo->image_height * (long)compptr->v_samp_factor, in initial_setup()
125 jdiv_round_up((long)cinfo->image_height * (long)compptr->v_samp_factor, in initial_setup()
135 jdiv_round_up((long)cinfo->image_height, in initial_setup()
192 jdiv_round_up((long)cinfo->image_height, in per_scan_setup()
Drdjpgcom.c267 unsigned int image_height, image_width; in process_SOFn() local
275 image_height = read_2_bytes(); in process_SOFn()
298 image_width, image_height, num_components, data_precision); in process_SOFn()
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/
Djdmaster.c118 jdiv_round_up((long)cinfo->image_height, (long)DCTSIZE); in jpeg_core_output_dimensions()
126 jdiv_round_up((long)cinfo->image_height * 2L, (long)DCTSIZE); in jpeg_core_output_dimensions()
134 jdiv_round_up((long)cinfo->image_height * 3L, (long)DCTSIZE); in jpeg_core_output_dimensions()
142 jdiv_round_up((long)cinfo->image_height * 4L, (long)DCTSIZE); in jpeg_core_output_dimensions()
150 jdiv_round_up((long)cinfo->image_height * 5L, (long)DCTSIZE); in jpeg_core_output_dimensions()
158 jdiv_round_up((long)cinfo->image_height * 6L, (long)DCTSIZE); in jpeg_core_output_dimensions()
166 jdiv_round_up((long)cinfo->image_height * 7L, (long)DCTSIZE); in jpeg_core_output_dimensions()
174 jdiv_round_up((long)cinfo->image_height * 8L, (long)DCTSIZE); in jpeg_core_output_dimensions()
182 jdiv_round_up((long)cinfo->image_height * 9L, (long)DCTSIZE); in jpeg_core_output_dimensions()
190 jdiv_round_up((long)cinfo->image_height * 10L, (long)DCTSIZE); in jpeg_core_output_dimensions()
[all …]
Djcapistd.c85 if (cinfo->next_scanline >= cinfo->image_height) in jpeg_write_scanlines()
91 cinfo->progress->pass_limit = (long)cinfo->image_height; in jpeg_write_scanlines()
104 rows_left = cinfo->image_height - cinfo->next_scanline; in jpeg_write_scanlines()
128 if (cinfo->next_scanline >= cinfo->image_height) { in jpeg_write_raw_data()
136 cinfo->progress->pass_limit = (long)cinfo->image_height; in jpeg_write_raw_data()
Drdrle.c124 cinfo->image_height = height; in start_input_rle()
266 progress->pub.pass_limit = cinfo->image_height; in load_image()
276 for (row = 0; row < cinfo->image_height; row++) { in load_image()
291 for (row = 0; row < cinfo->image_height; row++) { in load_image()
314 for (row = 0; row < cinfo->image_height; row++) { in load_image()
350 source->row = cinfo->image_height; in load_image()
Djdinput.c51 if ((long)cinfo->image_height > (long)JPEG_MAX_DIMENSION || in initial_setup()
109 jdiv_round_up((long)cinfo->image_height * (long)compptr->v_samp_factor, in initial_setup()
125 jdiv_round_up((long)cinfo->image_height * (long)compptr->v_samp_factor, in initial_setup()
135 jdiv_round_up((long)cinfo->image_height, in initial_setup()
192 jdiv_round_up((long)cinfo->image_height, in per_scan_setup()
Drdjpgcom.c280 unsigned int image_height, image_width; in process_SOFn() local
288 image_height = read_2_bytes(); in process_SOFn()
311 image_width, image_height, num_components, data_precision); in process_SOFn()
/third_party/skia/third_party/externals/libjpeg-turbo/
Djdmaster.c106 jdiv_round_up((long)cinfo->image_height, (long)DCTSIZE); in jpeg_core_output_dimensions()
114 jdiv_round_up((long)cinfo->image_height * 2L, (long)DCTSIZE); in jpeg_core_output_dimensions()
122 jdiv_round_up((long)cinfo->image_height * 3L, (long)DCTSIZE); in jpeg_core_output_dimensions()
130 jdiv_round_up((long)cinfo->image_height * 4L, (long)DCTSIZE); in jpeg_core_output_dimensions()
138 jdiv_round_up((long)cinfo->image_height * 5L, (long)DCTSIZE); in jpeg_core_output_dimensions()
146 jdiv_round_up((long)cinfo->image_height * 6L, (long)DCTSIZE); in jpeg_core_output_dimensions()
154 jdiv_round_up((long)cinfo->image_height * 7L, (long)DCTSIZE); in jpeg_core_output_dimensions()
162 jdiv_round_up((long)cinfo->image_height * 8L, (long)DCTSIZE); in jpeg_core_output_dimensions()
170 jdiv_round_up((long)cinfo->image_height * 9L, (long)DCTSIZE); in jpeg_core_output_dimensions()
178 jdiv_round_up((long)cinfo->image_height * 10L, (long)DCTSIZE); in jpeg_core_output_dimensions()
[all …]
Djcapistd.c85 if (cinfo->next_scanline >= cinfo->image_height) in jpeg_write_scanlines()
91 cinfo->progress->pass_limit = (long)cinfo->image_height; in jpeg_write_scanlines()
104 rows_left = cinfo->image_height - cinfo->next_scanline; in jpeg_write_scanlines()
128 if (cinfo->next_scanline >= cinfo->image_height) { in jpeg_write_raw_data()
136 cinfo->progress->pass_limit = (long)cinfo->image_height; in jpeg_write_raw_data()
Djdinput.c51 if ((long)cinfo->image_height > (long)JPEG_MAX_DIMENSION || in initial_setup()
109 jdiv_round_up((long)cinfo->image_height * (long)compptr->v_samp_factor, in initial_setup()
125 jdiv_round_up((long)cinfo->image_height * (long)compptr->v_samp_factor, in initial_setup()
135 jdiv_round_up((long)cinfo->image_height, in initial_setup()
192 jdiv_round_up((long)cinfo->image_height, in per_scan_setup()
Drdjpgcom.c279 unsigned int image_height, image_width; in process_SOFn() local
287 image_height = read_2_bytes(); in process_SOFn()
310 image_width, image_height, num_components, data_precision); in process_SOFn()
Drdgif.c537 cinfo->image_height = height; in start_input_gif()
585 for (row = 0; row < cinfo->image_height; row++) { in load_interlaced_image()
588 progress->pub.pass_limit = (long)cinfo->image_height; in load_interlaced_image()
605 source->pass2_offset = (cinfo->image_height + 7) / 8; in load_interlaced_image()
606 source->pass3_offset = source->pass2_offset + (cinfo->image_height + 3) / 8; in load_interlaced_image()
607 source->pass4_offset = source->pass3_offset + (cinfo->image_height + 1) / 4; in load_interlaced_image()
/third_party/skia/third_party/externals/libwebp/imageio/
Dtiffdec.c159 uint32_t image_width, image_height, tile_width, tile_height; in ReadTIFF() local
194 TIFFGetField(tif, TIFFTAG_IMAGELENGTH, &image_height))) { in ReadTIFF()
199 if (!ImgIoUtilCheckSizeArgumentsOverflow(stride, image_height)) { in ReadTIFF()
201 image_width, image_height); in ReadTIFF()
214 (tile_height > 32 && tile_height / 2 > image_height) || in ReadTIFF()
230 alloc_size = (int64_t)(stride * image_height); in ReadTIFF()
235 if (TIFFReadRGBAImageOriented(tif, image_width, image_height, raster, in ReadTIFF()
238 pic->height = image_height; in ReadTIFF()
241 TIFFSwabArrayOfLong(raster, image_width * image_height); in ReadTIFF()
248 for (y = 0; y < image_height; ++y) { in ReadTIFF()
/third_party/skia/third_party/externals/libpng/contrib/gregbook/
Drpng-win.c152 static ulg image_width, image_height, image_rowbytes; variable
343 if ((rc = readpng_init(infile, &image_width, &image_height)) != 0) { in WinMain()
501 if (image_height > ((size_t)(-1))/wimage_rowbytes) { in rpng_win_create_window()
507 wimage_rowbytes*image_height))) in rpng_win_create_window()
523 bmih->biHeight = -((long)image_height); in rpng_win_create_window()
533 for (j = 0; j < image_height; ++j) { in rpng_win_create_window()
573 image_height+extra_height, NULL, NULL, hInst, NULL); in rpng_win_create_window()
606 for (lastrow = row = 0; row < image_height; ++row) { in rpng_win_display_image()
656 if (lastrow < image_height) { in rpng_win_display_image()
660 rect.bottom = (LONG)image_height; /* possibly off by one? */ in rpng_win_display_image()
[all …]
Drpng-x.c136 static ulg image_width, image_height, image_rowbytes; variable
304 if ((rc = readpng_init(infile, &image_width, &image_height)) != 0) { in main()
558 window = XCreateWindow(display, root, 0, 0, image_width, image_height, 0, in rpng_x_create_window()
581 size_hints->min_height = size_hints->max_height = (int)image_height; in rpng_x_create_window()
635 XFillRectangle(display, window, gc, 0, 0, image_width, image_height); in rpng_x_create_window()
652 xdata = (uch *)malloc(4*image_width*image_height); in rpng_x_create_window()
655 xdata = (uch *)malloc(2*image_width*image_height); in rpng_x_create_window()
658 xdata = (uch *)malloc(image_width*image_height); in rpng_x_create_window()
668 (char *)xdata, image_width, image_height, pad, 0); in rpng_x_create_window()
715 for (lastrow = row = 0; row < image_height; ++row) { in rpng_x_display_image()
[all …]
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dvx_image.c97 tex.image_height = image->vk.extent.height * msaa_scale; in pack_texture_shader_state_helper()
104 tex.image_height = tex.image_width >> 14; in pack_texture_shader_state_helper()
107 tex.image_height &= (1 << 14) - 1; in pack_texture_shader_state_helper()
155 tex.image_height = tex.image_width >> 14; in v3dX()
157 tex.image_height &= (1 << 14) - 1; in v3dX()
/third_party/mesa3d/src/gallium/frontends/clover/api/
Dmemory.cpp267 if (!desc->image_width || !desc->image_height) in clCreateImageWithProperties()
273 desc->image_height > max); in clCreateImageWithProperties()
278 desc->image_width, desc->image_height, in clCreateImageWithProperties()
282 if (!desc->image_width || !desc->image_height || !desc->image_array_size) in clCreateImageWithProperties()
289 desc->image_height > max || in clCreateImageWithProperties()
295 desc->image_slice_pitch : row_pitch * desc->image_height; in clCreateImageWithProperties()
298 desc->image_width, desc->image_height, in clCreateImageWithProperties()
304 if (!desc->image_width || !desc->image_height || !desc->image_depth) in clCreateImageWithProperties()
310 desc->image_height > max || in clCreateImageWithProperties()
316 desc->image_slice_pitch : row_pitch * desc->image_height; in clCreateImageWithProperties()
[all …]
/third_party/gstreamer/gstplugins_base/ext/gl/
Dgstgloverlay.c502 gfloat x, y, image_width, image_height; in gst_gl_overlay_callback() local
524 0 ? overlay->overlay_height : overlay->image_height; in gst_gl_overlay_callback()
527 image_height = in gst_gl_overlay_callback()
533 vertices[11] = vertices[16] = y + image_height; in gst_gl_overlay_callback()
688 overlay->image_height = cinfo.image_height; in gst_gl_overlay_load_jpeg()
692 overlay->image_width, overlay->image_height); in gst_gl_overlay_load_jpeg()
695 overlay->image_width, overlay->image_height); in gst_gl_overlay_load_jpeg()
720 for (i = 0; i < overlay->image_height; ++i) { in gst_gl_overlay_load_jpeg()
813 overlay->image_height = height; in gst_gl_overlay_load_png()
/third_party/skia/third_party/externals/libwebp/src/dec/
Dwebp_dec.c288 int image_height = 0; in ParseHeadersInternal() local
330 image_height = canvas_height; in ParseHeadersInternal()
373 &image_width, &image_height)) { in ParseHeadersInternal()
382 if (!VP8LGetInfo(data, data_size, &image_width, &image_height, has_alpha)) { in ParseHeadersInternal()
388 if (canvas_width != image_width || canvas_height != image_height) { in ParseHeadersInternal()
407 if (height != NULL) *height = image_height; in ParseHeadersInternal()
788 int WebPCheckCropDimensions(int image_width, int image_height, in WebPCheckCropDimensions() argument
792 y >= image_height || h > image_height || h > image_height - y); in WebPCheckCropDimensions()
/third_party/gstreamer/gstplugins_base/ext/pango/
Dgsttextrender.c316 render->image_height = height; in gst_text_render_render_pangocairo()
370 if (width >= render->image_width && height >= render->image_height) { in gst_text_render_src_setcaps()
396 MAX (render->image_height + render->ypad, DEFAULT_RENDER_HEIGHT)); in gst_text_render_fixate_caps()
419 height = render->image_height; in gst_text_renderer_image_to_ayuv()
455 height = render->image_height; in gst_text_renderer_image_to_argb()
584 ypos = render->height - render->image_height - render->ypad; in gst_text_render_chain()
587 ypos = render->height - (render->image_height + render->ypad); in gst_text_render_chain()

123456