Home
last modified time | relevance | path

Searched refs:image_height (Results 1 - 25 of 69) sorted by relevance

123

/third_party/ffmpeg/libavcodec/
H A Dflashsvenc.c61 int image_width, image_height; member
116 s->image_height = avctx->height; in flashsv_encode_init()
118 s->encbuffer = av_mallocz(s->image_width * s->image_height * 3); in flashsv_encode_init()
144 put_bits(&pb, 12, s->image_height); in encode_bitstream()
150 v_blocks = s->image_height / block_height; in encode_bitstream()
151 v_part = s->image_height % block_height; in encode_bitstream()
169 s->image_height - (y_pos + cur_blk_height + 1), in encode_bitstream()
214 s->previous_frame = av_mallocz(FFABS(p->linesize[0]) * s->image_height); in flashsv_encode_frame()
223 pfptr = s->previous_frame - (s->image_height - 1) * p->linesize[0]; in flashsv_encode_frame()
233 if ((res = ff_alloc_packet(avctx, pkt, s->image_width * s->image_height * in flashsv_encode_frame()
[all...]
H A Dflashsv.c58 int image_width, image_height; member
249 (s->image_height - y_pos - k) * s->frame->linesize[0], in flashsv_decode_block()
258 s->image_height - (y_pos + 1 + s->diff_height), in flashsv_decode_block()
293 s->image_height = get_bits(&gb, 12); in flashsv_decode_frame()
314 v_blocks = s->image_height / s->block_height; in flashsv_decode_frame()
315 v_part = s->image_height % s->block_height; in flashsv_decode_frame()
333 if ((ret = ff_set_dimensions(avctx, s->image_width, s->image_height)) < 0) in flashsv_decode_frame()
338 if (avctx->width != s->image_width || avctx->height != s->image_height) { in flashsv_decode_frame()
342 avctx->height, avctx->width, s->image_height, s->image_width); in flashsv_decode_frame()
362 s->image_width, s->image_height, in flashsv_decode_frame()
[all...]
H A Dflashsv2enc.c110 int image_width, image_height; member
159 s->image_height - row * s->block_height; in init_blocks()
186 s->rows = (s->image_height + s->block_height - 1) / s->block_height; in update_block_dimensions()
246 s->image_height = avctx->height; in flashsv2_encode_init()
248 s->frame_size = s->image_width * s->image_height * 3; in flashsv2_encode_init()
308 put_bits(&pb, 12, s->image_height); in write_header()
632 for (sl = s->image_height - 1; sl >= 0; sl--) { in mark_all_blocks()
634 rsl = s->image_height - sl - 1; in mark_all_blocks()
643 s->tot_lines += s->image_height * s->cols; in mark_all_blocks()
683 s->raw_size += s->image_width * s->image_height * in encode_all_blocks()
[all...]
H A Drpzaenc.c79 int image_height; member
129 if (bi->row == (bi->image_height / 4) && (bi->image_height % 4) != 0) { in get_block_info()
130 bi->block_height = bi->image_height % 4; in get_block_info()
422 const int y_size = FFMIN(4, bi->image_height - bi->row * 4); in update_block_in_prev_frame()
574 bi.image_height = s->frame_height; in rpza_encode_stream()
739 y_size = FFMIN(4, bi.image_height - bi.row * 4); in rpza_encode_stream()
/third_party/skia/third_party/externals/libjpeg-turbo/
H A 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 * 1 in jpeg_core_output_dimensions()
[all...]
H A Djcapistd.c68 * or if more than image_height scanlines are passed in.
85 if (cinfo->next_scanline >= cinfo->image_height) in GLOBAL()
91 cinfo->progress->pass_limit = (long)cinfo->image_height; in GLOBAL()
104 rows_left = cinfo->image_height - cinfo->next_scanline; in GLOBAL()
128 if (cinfo->next_scanline >= cinfo->image_height) { in GLOBAL()
136 cinfo->progress->pass_limit = (long)cinfo->image_height; in GLOBAL()
H A 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()
H A 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()
H A Drdgif.c537 cinfo->image_height = height; in start_input_gif()
585 for (row = 0; row < cinfo->image_height; row++) { in METHODDEF()
588 progress->pub.pass_limit = (long)cinfo->image_height; in METHODDEF()
605 source->pass2_offset = (cinfo->image_height + 7) / 8; in METHODDEF()
606 source->pass3_offset = source->pass2_offset + (cinfo->image_height + 3) / 8; in METHODDEF()
607 source->pass4_offset = source->pass3_offset + (cinfo->image_height + 1) / 4; in METHODDEF()
H A Drdtarga.c277 source_row = cinfo->image_height - source->current_row - 1; in METHODDEF()
303 for (row = 0; row < cinfo->image_height; row++) { in METHODDEF()
306 progress->pub.pass_limit = (long)cinfo->image_height; in METHODDEF()
469 cinfo->image_height = height; in start_input_tga()
H A Dturbojpeg.c696 cinfo->image_height = height; in tjCompress2()
717 while (cinfo->next_scanline < cinfo->image_height) in tjCompress2()
719 cinfo->image_height - cinfo->next_scanline); in tjCompress2()
798 cinfo->image_height = height; in tjEncodeYUVPlanes()
1008 cinfo->image_height = height; in tjCompressFromYUVPlanes()
1032 ph[i] = PAD(cinfo->image_height, cinfo->max_v_samp_factor) * in tjCompressFromYUVPlanes()
1064 for (row = 0; row < (int)cinfo->image_height; in tjCompressFromYUVPlanes()
1219 *height = dinfo->image_height; in tjDecompressHeader3()
1321 jpegwidth = dinfo->image_width; jpegheight = dinfo->image_height; in tjDecompress2()
1470 dinfo->image_height in tjDecodeYUVPlanes()
[all...]
H A Djpegcomp.h31 #define _jpeg_height image_height
H A Drdbmp.c367 for (row = 0; row < cinfo->image_height; row++) { in METHODDEF()
370 progress->pub.pass_limit = (long)cinfo->image_height; in METHODDEF()
400 source->source_row = cinfo->image_height; in METHODDEF()
648 cinfo->image_height = (JDIMENSION)biHeight; in start_input_bmp()
H A Dtransupp.c1516 srcinfo->output_height = srcinfo->image_height; in GLOBAL()
1836 dstinfo->image_width = dstinfo->image_height; in transpose_critical_parameters()
1837 dstinfo->image_height = jtemp; in transpose_critical_parameters()
2091 dstinfo->image_height = info->output_width; in jtransform_adjust_parameters()
2104 dstinfo->image_height = info->output_height; in jtransform_adjust_parameters()
2124 dstinfo->jpeg_height != srcinfo->image_height) in jtransform_adjust_parameters()
2131 dstinfo->image_height != srcinfo->image_height) in jtransform_adjust_parameters()
2135 dstinfo->image_width, dstinfo->image_height); in jtransform_adjust_parameters()
2252 * image_width, image_height
[all...]
/third_party/skia/third_party/externals/libwebp/imageio/
H A 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; in ReadTIFF()
[all...]
/third_party/skia/third_party/externals/libpng/contrib/gregbook/
H A 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; /* possibl in rpng_win_display_image()
[all...]
H A 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; in rpng_x_display_image()
[all...]
/third_party/mesa3d/src/broadcom/vulkan/
H A 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 pack_texture_shader_state_from_buffer_view()
157 tex.image_height &= (1 << 14) - 1; in pack_texture_shader_state_from_buffer_view()
/third_party/mesa3d/src/gallium/frontends/clover/api/
H A 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/skia/third_party/externals/libwebp/src/dec/
H A 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 in WebPCheckCropDimensions()
[all...]
/third_party/ffmpeg/libavdevice/
H A Dxv.c58 int image_width, image_height; member
136 xv->image_height = par->height; in xv_write_header()
199 xv->image_height = par->height; in xv_write_header()
201 xv->image_width, xv->image_height, &xv->yuv_shminfo); in xv_write_header()
286 xv->yuv_image, 0, 0, xv->image_width, xv->image_height, in xv_repaint()
/third_party/mesa3d/src/vulkan/runtime/
H A Dvk_image.c295 const uint32_t image_height = region->bufferImageHeight ? in vk_image_buffer_copy_layout() local
308 DIV_ROUND_UP(image_height, fmt->block.height) * (uint64_t)row_stride_B; in vk_image_buffer_copy_layout()
312 .image_height = image_height, in vk_image_buffer_copy_layout()
/third_party/mesa3d/src/mesa/state_tracker/
H A Dst_pbo.c79 + (addr->height - 1 + (addr->depth - 1) * addr->image_height) * addr->pixels_per_row; in st_pbo_addresses_setup()
90 addr->constants.image_size = addr->pixels_per_row * addr->image_height; in st_pbo_addresses_setup()
120 addr->image_height = 1; in st_pbo_addresses_pixelstore()
122 addr->image_height = store->ImageHeight > 0 ? store->ImageHeight : addr->height; in st_pbo_addresses_pixelstore()
143 offset_rows += addr->image_height * store->SkipImages; in st_pbo_addresses_pixelstore()
426 /* param = [ -xoffset + skip_pixels, -yoffset, stride, image_height ] */ in create_fs()
474 /* pbo_addr += image_height * layer */ in create_fs()
H A Dst_pbo.h42 unsigned image_height; member
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DCLDevice.cpp381 desc.image_height <= mInfo.image2D_MaxHeight; in supportsNativeImageDimensions()
384 desc.image_height <= mInfo.image3D_MaxHeight && in supportsNativeImageDimensions()
391 desc.image_height <= mInfo.image2D_MaxHeight && in supportsNativeImageDimensions()

Completed in 23 milliseconds

123