Home
last modified time | relevance | path

Searched refs:max_pixels (Results 1 – 25 of 29) sorted by relevance

12

/third_party/ffmpeg/tools/
Dtarget_dec_fuzzer.c213 if (ctx->max_pixels == 0 || ctx->max_pixels > maxpixels_per_frame) in LLVMFuzzerTestOneInput()
214 ctx->max_pixels = maxpixels_per_frame; //To reduce false positive OOM and hangs in LLVMFuzzerTestOneInput()
362 if (it > 20 || ec_pixels > 4 * ctx->max_pixels) in LLVMFuzzerTestOneInput()
376 if (it > 20 || ec_pixels > 4 * ctx->max_pixels) in LLVMFuzzerTestOneInput()
/third_party/skia/third_party/externals/libjpeg-turbo/
Drdgif.c412 if (sinfo->max_pixels && in start_input_gif()
413 (unsigned long long)width * height > sinfo->max_pixels) in start_input_gif()
461 if (sinfo->max_pixels && in start_input_gif()
462 (unsigned long long)width * height > sinfo->max_pixels) in start_input_gif()
689 source->pub.max_pixels = 0; in jinit_read_gif()
Drdtarga.c367 if (sinfo->max_pixels && in start_input_tga()
368 (unsigned long long)width * height > sinfo->max_pixels) in start_input_tga()
502 source->pub.max_pixels = 0; in jinit_read_targa()
Dcdjpeg.h40 JDIMENSION max_pixels; member
Drdbmp.c526 if (sinfo->max_pixels && in start_input_bmp()
527 (unsigned long long)biWidth * biHeight > sinfo->max_pixels) in start_input_bmp()
681 source->pub.max_pixels = 0; in jinit_read_bmp()
Drdppm.c590 if (sinfo->max_pixels && (unsigned long long)w * h > sinfo->max_pixels)
773 source->pub.max_pixels = 0;
Dcjpeg.c698 src_mgr->max_pixels = 1048576; in cjpeg()
/third_party/ffmpeg/libavutil/
Dimgutils.h243 int av_image_check_size2(unsigned int w, unsigned int h, int64_t max_pixels, enum AVPixelFormat pix…
Dimgutils.c288 int av_image_check_size2(unsigned int w, unsigned int h, int64_t max_pixels, enum AVPixelFormat pix… in av_image_check_size2() argument
305 if (max_pixels < INT64_MAX) { in av_image_check_size2()
306 if (w*(int64_t)h > max_pixels) { in av_image_check_size2()
309 w, h, max_pixels); in av_image_check_size2()
/third_party/ffmpeg/libavcodec/
Davcodec.c243 …&& ( av_image_check_size2(avctx->coded_width, avctx->coded_height, avctx->max_pixels, AV_PIX_FMT_… in avcodec_open2()
244 …|| av_image_check_size2(avctx->width, avctx->height, avctx->max_pixels, AV_PIX_FMT_NON… in avcodec_open2()
Dpafvideo.c95 …ret = av_image_check_size2(avctx->width, FFALIGN(avctx->height, 256), avctx->max_pixels, avctx->pi… in paf_video_init()
Dmpegpicture.c72 …if (av_image_check_size2(alloc_size, EMU_EDGE_HEIGHT, avctx->max_pixels, AV_PIX_FMT_NONE, 0, avctx… in ff_mpeg_framesize_alloc()
Dencode.c296 …if (av_image_check_size2(avctx->width, avctx->height, avctx->max_pixels, AV_PIX_FMT_NONE, 0, avctx… in encode_receive_packet_internal()
Dlibdav1d.c141 s.frame_size_limit = c->max_pixels; in libdav1d_init()
Djpeg2000.c554 …ts_x * (uint64_t)reslevel->num_precincts_y * reslevel->nbands > avctx->max_pixels / sizeof(*reslev… in ff_jpeg2000_init_component()
Dindeo4.c183 …if (av_image_check_size2(pic_conf.pic_width, pic_conf.pic_height, avctx->max_pixels, AV_PIX_FMT_YU… in decode_pic_hdr()
Dzmbv.c617 … if ((avctx->width + 255ULL) * (avctx->height + 64ULL) > FFMIN(avctx->max_pixels, INT_MAX / 4) ) { in decode_init()
Davcodec.h2248 int64_t max_pixels; member
Dutils.c86 int ret = av_image_check_size2(width, height, s->max_pixels, AV_PIX_FMT_NONE, 0, s); in ff_set_dimensions()
Divi.c299 …if (av_image_check_size2(cfg->pic_width, cfg->pic_height, avctx->max_pixels, AV_PIX_FMT_YUV410P, 0… in ff_ivi_init_planes()
Ddvbsubdec.c1189 …ret = av_image_check_size2(region->width, region->height, avctx->max_pixels, AV_PIX_FMT_PAL8, 0, a… in dvbsub_parse_region_segment()
Doptions_table.h462 {"max_pixels", "Maximum number of pixels", OFFSET(max_pixels), AV_OPT_TYPE_INT64, {.i64 = INT_MAX }…
Dg2meet.c1451 …av_image_check_size2(c->tile_width, c->tile_height, avctx->max_pixels, avctx->pix_fmt, 0, avctx) <… in g2m_decode_frame()
Ddecode.c1908 …check_size2(FFALIGN(avctx->width, STRIDE_ALIGN), avctx->height, avctx->max_pixels, AV_PIX_FMT_NONE… in ff_get_buffer()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dvx_meta_common.c1190 const uint32_t max_pixels = max_dim_pixels * max_dim_pixels; in framebuffer_size_for_pixel_count() local
1193 if (num_pixels > max_pixels) { in framebuffer_size_for_pixel_count()

12