/third_party/ffmpeg/tools/ |
D | target_dec_fuzzer.c | 213 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/ |
D | rdgif.c | 412 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()
|
D | rdtarga.c | 367 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()
|
D | cdjpeg.h | 40 JDIMENSION max_pixels; member
|
D | rdbmp.c | 526 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()
|
D | rdppm.c | 590 if (sinfo->max_pixels && (unsigned long long)w * h > sinfo->max_pixels) 773 source->pub.max_pixels = 0;
|
D | cjpeg.c | 698 src_mgr->max_pixels = 1048576; in cjpeg()
|
/third_party/ffmpeg/libavutil/ |
D | imgutils.h | 243 int av_image_check_size2(unsigned int w, unsigned int h, int64_t max_pixels, enum AVPixelFormat pix…
|
D | imgutils.c | 288 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/ |
D | avcodec.c | 243 …&& ( 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()
|
D | pafvideo.c | 95 …ret = av_image_check_size2(avctx->width, FFALIGN(avctx->height, 256), avctx->max_pixels, avctx->pi… in paf_video_init()
|
D | mpegpicture.c | 72 …if (av_image_check_size2(alloc_size, EMU_EDGE_HEIGHT, avctx->max_pixels, AV_PIX_FMT_NONE, 0, avctx… in ff_mpeg_framesize_alloc()
|
D | encode.c | 296 …if (av_image_check_size2(avctx->width, avctx->height, avctx->max_pixels, AV_PIX_FMT_NONE, 0, avctx… in encode_receive_packet_internal()
|
D | libdav1d.c | 141 s.frame_size_limit = c->max_pixels; in libdav1d_init()
|
D | jpeg2000.c | 554 …ts_x * (uint64_t)reslevel->num_precincts_y * reslevel->nbands > avctx->max_pixels / sizeof(*reslev… in ff_jpeg2000_init_component()
|
D | indeo4.c | 183 …if (av_image_check_size2(pic_conf.pic_width, pic_conf.pic_height, avctx->max_pixels, AV_PIX_FMT_YU… in decode_pic_hdr()
|
D | zmbv.c | 617 … if ((avctx->width + 255ULL) * (avctx->height + 64ULL) > FFMIN(avctx->max_pixels, INT_MAX / 4) ) { in decode_init()
|
D | avcodec.h | 2248 int64_t max_pixels; member
|
D | utils.c | 86 int ret = av_image_check_size2(width, height, s->max_pixels, AV_PIX_FMT_NONE, 0, s); in ff_set_dimensions()
|
D | ivi.c | 299 …if (av_image_check_size2(cfg->pic_width, cfg->pic_height, avctx->max_pixels, AV_PIX_FMT_YUV410P, 0… in ff_ivi_init_planes()
|
D | dvbsubdec.c | 1189 …ret = av_image_check_size2(region->width, region->height, avctx->max_pixels, AV_PIX_FMT_PAL8, 0, a… in dvbsub_parse_region_segment()
|
D | options_table.h | 462 {"max_pixels", "Maximum number of pixels", OFFSET(max_pixels), AV_OPT_TYPE_INT64, {.i64 = INT_MAX }…
|
D | g2meet.c | 1451 …av_image_check_size2(c->tile_width, c->tile_height, avctx->max_pixels, avctx->pix_fmt, 0, avctx) <… in g2m_decode_frame()
|
D | decode.c | 1908 …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/ |
D | v3dvx_meta_common.c | 1190 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()
|