Home
last modified time | relevance | path

Searched refs:max_pixels (Results 1 - 25 of 31) sorted by relevance

12

/third_party/ffmpeg/tools/
H A Dtarget_dec_fuzzer.c311 if (ctx->max_pixels == 0 || ctx->max_pixels > maxpixels_per_frame) in LLVMFuzzerTestOneInput()
312 ctx->max_pixels = maxpixels_per_frame; //To reduce false positive OOM and hangs in LLVMFuzzerTestOneInput()
503 if (it > 20 || ec_pixels > 4 * ctx->max_pixels) { in LLVMFuzzerTestOneInput()
519 if (it > 20 || ec_pixels > 4 * ctx->max_pixels) { in LLVMFuzzerTestOneInput()
/third_party/skia/third_party/externals/libjpeg-turbo/
H A 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 GLOBAL()
H A 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 GLOBAL()
H A 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 GLOBAL()
H A Dcdjpeg.h40 JDIMENSION max_pixels; member
H A Drdppm.c590 if (sinfo->max_pixels && (unsigned long long)w * h > sinfo->max_pixels)
773 source->pub.max_pixels = 0;
H A Dcjpeg.c698 src_mgr->max_pixels = 1048576; in cjpeg()
/third_party/ffmpeg/libavutil/
H A Dimgutils.c289 int av_image_check_size2(unsigned int w, unsigned int h, int64_t max_pixels, enum AVPixelFormat pix_fmt, int log_offset, void *log_ctx) in av_image_check_size2() argument
306 if (max_pixels < INT64_MAX) { in av_image_check_size2()
307 if (w*(int64_t)h > max_pixels) { in av_image_check_size2()
310 w, h, max_pixels); in av_image_check_size2()
H A Dimgutils.h257 * @param max_pixels the maximum number of pixels the user wants to accept
263 int av_image_check_size2(unsigned int w, unsigned int h, int64_t max_pixels, enum AVPixelFormat pix_fmt, int log_offset, void *log_ctx);
/third_party/ffmpeg/libavcodec/
H A Davcodec.c204 && ( av_image_check_size2(avctx->coded_width, avctx->coded_height, avctx->max_pixels, AV_PIX_FMT_NONE, 0, avctx) < 0 in avcodec_open2()
205 || av_image_check_size2(avctx->width, avctx->height, avctx->max_pixels, AV_PIX_FMT_NONE, 0, avctx) < 0)) { in avcodec_open2()
H A Davcodec.h1908 int64_t max_pixels; member
H A Dmpegpicture.c92 if (av_image_check_size2(alloc_size, EMU_EDGE_HEIGHT, avctx->max_pixels, AV_PIX_FMT_NONE, 0, avctx) < 0) in ff_mpeg_framesize_alloc()
H A Dpafvideo.c96 ret = av_image_check_size2(avctx->width, FFALIGN(avctx->height, 256), avctx->max_pixels, avctx->pix_fmt, 0, avctx); in paf_video_init()
H A Dexr.c1245 av_image_check_size2(td->xsize, td->ysize, s->avctx->max_pixels, AV_PIX_FMT_NONE, 0, s->avctx) < 0) in decode_block()
1270 av_image_check_size2(td->xsize, td->ysize, s->avctx->max_pixels, AV_PIX_FMT_NONE, 0, s->avctx) < 0) in decode_block()
1311 if (avctx->max_pixels && uncompressed_size > avctx->max_pixels * 16LL) in decode_block()
H A Dencode.c290 if (av_image_check_size2(avctx->width, avctx->height, avctx->max_pixels, AV_PIX_FMT_NONE, 0, avctx)) in encode_receive_packet_internal()
H A Dindeo4.c183 if (av_image_check_size2(pic_conf.pic_width, pic_conf.pic_height, avctx->max_pixels, AV_PIX_FMT_YUV410P, 0, avctx) < 0) { in decode_pic_hdr()
H A Djpeg2000.c561 if (reslevel->num_precincts_x * (uint64_t)reslevel->num_precincts_y * reslevel->nbands > avctx->max_pixels / sizeof(*reslevel->band->prec)) in ff_jpeg2000_init_component()
H A Dlibdav1d.c231 s.frame_size_limit = c->max_pixels; in libdav1d_init()
H A Dmss4.c481 if (av_image_check_size2(width, height, avctx->max_pixels, AV_PIX_FMT_NONE, 0, avctx) < 0) in mss4_decode_frame()
H A Dzmbv.c617 if ((avctx->width + 255ULL) * (avctx->height + 64ULL) > FFMIN(avctx->max_pixels, INT_MAX / 4) ) { in decode_init()
618 av_log(avctx, AV_LOG_ERROR, "Internal buffer (decomp_size) larger than max_pixels or too large\n"); in decode_init()
H A Dutils.c92 int ret = av_image_check_size2(width, height, s->max_pixels, AV_PIX_FMT_NONE, 0, s); in ff_set_dimensions()
H A Dtiff.c2159 s->avctx_mjpeg->max_pixels = avctx->max_pixels; in tiff_init()
H A Divi.c301 if (av_image_check_size2(cfg->pic_width, cfg->pic_height, avctx->max_pixels, AV_PIX_FMT_YUV410P, 0, avctx) < 0 || in ff_ivi_init_planes()
H A Ddvbsubdec.c1183 ret = av_image_check_size2(region->width, region->height, avctx->max_pixels, AV_PIX_FMT_PAL8, 0, avctx); in dvbsub_parse_region_segment()
/third_party/mesa3d/src/broadcom/vulkan/
H A Dv3dvx_meta_common.c1200 const uint32_t max_pixels = max_dim_pixels * max_dim_pixels; in framebuffer_size_for_pixel_count() local
1203 if (num_pixels > max_pixels) { in framebuffer_size_for_pixel_count()

Completed in 45 milliseconds

12