/dports/multimedia/handbrake/ffmpeg-4.4/libavcodec/ |
H A D | encode.c | 92 ret = avctx->get_encode_buffer(avctx, avpkt, flags); in ff_get_encode_buffer() 155 ret = avctx->codec->encode_sub(avctx, buf, buf_size, sub); in avcodec_encode_subtitle() 296 …if (av_image_check_size2(avctx->width, avctx->height, avctx->max_pixels, AV_PIX_FMT_NONE, 0, avctx… in encode_receive_packet_internal() 301 ret = avctx->codec->receive_packet(avctx, avpkt); in encode_receive_packet_internal() 539 if (avctx->time_base.num <= 0 || avctx->time_base.den <= 0) { in ff_encode_preinit() 551 avctx->sample_fmt = avctx->codec->sample_fmts[i]; in ff_encode_preinit() 565 if (avctx->pix_fmt == avctx->codec->pix_fmts[i]) in ff_encode_preinit() 613 if (avctx->channel_layout && avctx->channels) { in ff_encode_preinit() 639 if (avctx->width <= 0 || avctx->height <= 0) { in ff_encode_preinit() 645 && avctx->bit_rate>0 && avctx->bit_rate<1000) { in ff_encode_preinit() [all …]
|
H A D | avcodec.c | 232 if (!(avctx->coded_width && avctx->coded_height && avctx->width && avctx->height && in avcodec_open2() 235 ret = ff_set_dimensions(avctx, avctx->coded_width, avctx->coded_height); in avcodec_open2() 236 else if (avctx->width && avctx->height) in avcodec_open2() 237 ret = ff_set_dimensions(avctx, avctx->width, avctx->height); in avcodec_open2() 242 if ((avctx->coded_width || avctx->coded_height || avctx->width || avctx->height) in avcodec_open2() 351 ret = avctx->codec->init(avctx); in avcodec_open2() 447 avctx->codec->close(avctx); in avcodec_open2() 535 avctx->codec->flush(avctx); in avcodec_flush_buffers() 585 avctx->codec->close(avctx); in avcodec_close() 613 avctx->hwaccel->uninit(avctx); in avcodec_close() [all …]
|
H A D | rawdec.c | 86 else if (avctx->pix_fmt == AV_PIX_FMT_NONE && avctx->bits_per_coded_sample) in raw_init_decoder() 161 for (i = 0; i < avctx->width * avctx->height; i++) { \ 195 stride = avctx->width / 8 + (avctx->width & 7 ? 1 : 0); in MKSCALE16() 214 (!avctx->codec_tag || avctx->codec_tag == MKTAG('r','a','w',' ') || in MKSCALE16() 218 int row_bytes = avctx->width / 8 + (avctx->width & 7 ? 1 : 0); in MKSCALE16() 251 if ((res = av_image_check_size(avctx->width, avctx->height, 0, avctx)) < 0) in MKSCALE16() 364 avctx->width, avctx->height, 1)) < 0) { in MKSCALE16() 396 int vid_size = avctx->width * avctx->height; in MKSCALE16() 451 … if (avctx->codec_tag == AV_RL32("I420") && (avctx->width+1)*(avctx->height+1) * 3/2 == buf_size) { in MKSCALE16() 452 … frame->data[1] = frame->data[1] + (avctx->width+1)*(avctx->height+1) -avctx->width*avctx->height; in MKSCALE16() [all …]
|
/dports/multimedia/ffmpeg/ffmpeg-4.4.1/libavcodec/ |
H A D | encode.c | 92 ret = avctx->get_encode_buffer(avctx, avpkt, flags); in ff_get_encode_buffer() 155 ret = avctx->codec->encode_sub(avctx, buf, buf_size, sub); in avcodec_encode_subtitle() 296 …if (av_image_check_size2(avctx->width, avctx->height, avctx->max_pixels, AV_PIX_FMT_NONE, 0, avctx… in encode_receive_packet_internal() 301 ret = avctx->codec->receive_packet(avctx, avpkt); in encode_receive_packet_internal() 539 if (avctx->time_base.num <= 0 || avctx->time_base.den <= 0) { in ff_encode_preinit() 551 avctx->sample_fmt = avctx->codec->sample_fmts[i]; in ff_encode_preinit() 565 if (avctx->pix_fmt == avctx->codec->pix_fmts[i]) in ff_encode_preinit() 613 if (avctx->channel_layout && avctx->channels) { in ff_encode_preinit() 639 if (avctx->width <= 0 || avctx->height <= 0) { in ff_encode_preinit() 645 && avctx->bit_rate>0 && avctx->bit_rate<1000) { in ff_encode_preinit() [all …]
|
H A D | avcodec.c | 232 if (!(avctx->coded_width && avctx->coded_height && avctx->width && avctx->height && in avcodec_open2() 235 ret = ff_set_dimensions(avctx, avctx->coded_width, avctx->coded_height); in avcodec_open2() 236 else if (avctx->width && avctx->height) in avcodec_open2() 237 ret = ff_set_dimensions(avctx, avctx->width, avctx->height); in avcodec_open2() 242 if ((avctx->coded_width || avctx->coded_height || avctx->width || avctx->height) in avcodec_open2() 351 ret = avctx->codec->init(avctx); in avcodec_open2() 447 avctx->codec->close(avctx); in avcodec_open2() 535 avctx->codec->flush(avctx); in avcodec_flush_buffers() 585 avctx->codec->close(avctx); in avcodec_close() 613 avctx->hwaccel->uninit(avctx); in avcodec_close() [all …]
|
H A D | rawdec.c | 86 else if (avctx->pix_fmt == AV_PIX_FMT_NONE && avctx->bits_per_coded_sample) in raw_init_decoder() 161 for (i = 0; i < avctx->width * avctx->height; i++) { \ 195 stride = avctx->width / 8 + (avctx->width & 7 ? 1 : 0); in MKSCALE16() 214 (!avctx->codec_tag || avctx->codec_tag == MKTAG('r','a','w',' ') || in MKSCALE16() 218 int row_bytes = avctx->width / 8 + (avctx->width & 7 ? 1 : 0); in MKSCALE16() 251 if ((res = av_image_check_size(avctx->width, avctx->height, 0, avctx)) < 0) in MKSCALE16() 364 avctx->width, avctx->height, 1)) < 0) { in MKSCALE16() 396 int vid_size = avctx->width * avctx->height; in MKSCALE16() 451 … if (avctx->codec_tag == AV_RL32("I420") && (avctx->width+1)*(avctx->height+1) * 3/2 == buf_size) { in MKSCALE16() 452 … frame->data[1] = frame->data[1] + (avctx->width+1)*(avctx->height+1) -avctx->width*avctx->height; in MKSCALE16() [all …]
|
/dports/www/firefox/firefox-99.0/media/ffvpx/libavcodec/ |
H A D | encode.c | 92 ret = avctx->get_encode_buffer(avctx, avpkt, flags); in ff_get_encode_buffer() 155 ret = avctx->codec->encode_sub(avctx, buf, buf_size, sub); in avcodec_encode_subtitle() 296 …if (av_image_check_size2(avctx->width, avctx->height, avctx->max_pixels, AV_PIX_FMT_NONE, 0, avctx… in encode_receive_packet_internal() 301 ret = avctx->codec->receive_packet(avctx, avpkt); in encode_receive_packet_internal() 539 if (avctx->time_base.num <= 0 || avctx->time_base.den <= 0) { in ff_encode_preinit() 551 avctx->sample_fmt = avctx->codec->sample_fmts[i]; in ff_encode_preinit() 565 if (avctx->pix_fmt == avctx->codec->pix_fmts[i]) in ff_encode_preinit() 613 if (avctx->channel_layout && avctx->channels) { in ff_encode_preinit() 639 if (avctx->width <= 0 || avctx->height <= 0) { in ff_encode_preinit() 645 && avctx->bit_rate>0 && avctx->bit_rate<1000) { in ff_encode_preinit() [all …]
|
H A D | avcodec.c | 232 if (!(avctx->coded_width && avctx->coded_height && avctx->width && avctx->height && in avcodec_open2() 235 ret = ff_set_dimensions(avctx, avctx->coded_width, avctx->coded_height); in avcodec_open2() 236 else if (avctx->width && avctx->height) in avcodec_open2() 237 ret = ff_set_dimensions(avctx, avctx->width, avctx->height); in avcodec_open2() 242 if ((avctx->coded_width || avctx->coded_height || avctx->width || avctx->height) in avcodec_open2() 351 ret = avctx->codec->init(avctx); in avcodec_open2() 447 avctx->codec->close(avctx); in avcodec_open2() 535 avctx->codec->flush(avctx); in avcodec_flush_buffers() 585 avctx->codec->close(avctx); in avcodec_close() 613 avctx->hwaccel->uninit(avctx); in avcodec_close() [all …]
|
/dports/multimedia/gstreamer1-libav/gst-libav-1.16.2/gst-libs/ext/libav/libavcodec/ |
H A D | rawdec.c | 85 else if (avctx->pix_fmt == AV_PIX_FMT_NONE && avctx->bits_per_coded_sample) in raw_init_decoder() 160 for (i = 0; i < avctx->width * avctx->height; i++) { \ 194 stride = avctx->width / 8 + (avctx->width & 7 ? 1 : 0); in MKSCALE16() 213 (!avctx->codec_tag || avctx->codec_tag == MKTAG('r','a','w',' ') || in MKSCALE16() 217 int row_bytes = avctx->width / 8 + (avctx->width & 7 ? 1 : 0); in MKSCALE16() 250 if ((res = av_image_check_size(avctx->width, avctx->height, 0, avctx)) < 0) in MKSCALE16() 395 int vid_size = avctx->width * avctx->height; in MKSCALE16() 450 … if (avctx->codec_tag == AV_RL32("I420") && (avctx->width+1)*(avctx->height+1) * 3/2 == buf_size) { in MKSCALE16() 451 … frame->data[1] = frame->data[1] + (avctx->width+1)*(avctx->height+1) -avctx->width*avctx->height; in MKSCALE16() 452 …frame->data[2] = frame->data[2] + ((avctx->width+1)*(avctx->height+1) -avctx->width*avctx->height)… in MKSCALE16() [all …]
|
H A D | encode.c | 197 ret = avctx->codec->encode2(avctx, avpkt, frame, got_packet_ptr); in avcodec_encode_audio2() 278 if ((avctx->flags&AV_CODEC_FLAG_PASS1) && avctx->stats_out) in avcodec_encode_video2() 286 …if (av_image_check_size2(avctx->width, avctx->height, avctx->max_pixels, AV_PIX_FMT_NONE, 0, avctx… in avcodec_encode_video2() 296 ret = avctx->codec->encode2(avctx, avpkt, frame, got_packet_ptr); in avcodec_encode_video2() 351 ret = avctx->codec->encode_sub(avctx, buf, buf_size, sub); in avcodec_encode_subtitle() 365 ret = avcodec_encode_video2(avctx, avctx->internal->buffer_pkt, in do_encode() 368 ret = avcodec_encode_audio2(avctx, avctx->internal->buffer_pkt, in do_encode() 389 if (!avcodec_is_open(avctx) || !av_codec_is_encoder(avctx->codec)) in avcodec_send_frame() 403 return avctx->codec->send_frame(avctx, frame); in avcodec_send_frame() 421 if (!avcodec_is_open(avctx) || !av_codec_is_encoder(avctx->codec)) in avcodec_receive_packet() [all …]
|
H A D | utils.c | 644 if (!(avctx->coded_width && avctx->coded_height && avctx->width && avctx->height && in avcodec_open2() 647 ret = ff_set_dimensions(avctx, avctx->coded_width, avctx->coded_height); in avcodec_open2() 648 else if (avctx->width && avctx->height) in avcodec_open2() 649 ret = ff_set_dimensions(avctx, avctx->width, avctx->height); in avcodec_open2() 654 if ((avctx->coded_width || avctx->coded_height || avctx->width || avctx->height) in avcodec_open2() 746 if (avctx->codec->max_lowres < avctx->lowres || avctx->lowres < 0) { in avcodec_open2() 930 ret = avctx->codec->init(avctx); in avcodec_open2() 1019 avctx->codec->close(avctx); in avcodec_open2() 1085 avctx->codec->close(avctx); in avcodec_close() 1101 avctx->hwaccel->uninit(avctx); in avcodec_close() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/ffmpeg/libavcodec/ |
H A D | rawdec.c | 85 else if (avctx->pix_fmt == AV_PIX_FMT_NONE && avctx->bits_per_coded_sample) in raw_init_decoder() 160 for (i = 0; i < avctx->width * avctx->height; i++) { \ 194 stride = avctx->width / 8 + (avctx->width & 7 ? 1 : 0); in MKSCALE16() 213 (!avctx->codec_tag || avctx->codec_tag == MKTAG('r','a','w',' ') || in MKSCALE16() 217 int row_bytes = avctx->width / 8 + (avctx->width & 7 ? 1 : 0); in MKSCALE16() 250 if ((res = av_image_check_size(avctx->width, avctx->height, 0, avctx)) < 0) in MKSCALE16() 363 avctx->width, avctx->height, 1)) < 0) { in MKSCALE16() 395 int vid_size = avctx->width * avctx->height; in MKSCALE16() 450 … if (avctx->codec_tag == AV_RL32("I420") && (avctx->width+1)*(avctx->height+1) * 3/2 == buf_size) { in MKSCALE16() 451 … frame->data[1] = frame->data[1] + (avctx->width+1)*(avctx->height+1) -avctx->width*avctx->height; in MKSCALE16() [all …]
|
H A D | encode.c | 203 ret = avctx->codec->encode2(avctx, avpkt, frame, got_packet_ptr); in avcodec_encode_audio2() 284 if ((avctx->flags&AV_CODEC_FLAG_PASS1) && avctx->stats_out) in avcodec_encode_video2() 292 …if (av_image_check_size2(avctx->width, avctx->height, avctx->max_pixels, AV_PIX_FMT_NONE, 0, avctx… in avcodec_encode_video2() 302 ret = avctx->codec->encode2(avctx, avpkt, frame, got_packet_ptr); in avcodec_encode_video2() 357 ret = avctx->codec->encode_sub(avctx, buf, buf_size, sub); in avcodec_encode_subtitle() 371 ret = avcodec_encode_video2(avctx, avctx->internal->buffer_pkt, in do_encode() 374 ret = avcodec_encode_audio2(avctx, avctx->internal->buffer_pkt, in do_encode() 395 if (!avcodec_is_open(avctx) || !av_codec_is_encoder(avctx->codec)) in avcodec_send_frame() 409 return avctx->codec->send_frame(avctx, frame); in avcodec_send_frame() 427 if (!avcodec_is_open(avctx) || !av_codec_is_encoder(avctx->codec)) in avcodec_receive_packet() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/ffmpeg/libavcodec/ |
H A D | rawdec.c | 86 else if (avctx->pix_fmt == AV_PIX_FMT_NONE && avctx->bits_per_coded_sample) in raw_init_decoder() 161 for (i = 0; i < avctx->width * avctx->height; i++) { \ 195 stride = avctx->width / 8 + (avctx->width & 7 ? 1 : 0); in MKSCALE16() 214 (!avctx->codec_tag || avctx->codec_tag == MKTAG('r','a','w',' ') || in MKSCALE16() 218 int row_bytes = avctx->width / 8 + (avctx->width & 7 ? 1 : 0); in MKSCALE16() 251 if ((res = av_image_check_size(avctx->width, avctx->height, 0, avctx)) < 0) in MKSCALE16() 364 avctx->width, avctx->height, 1)) < 0) { in MKSCALE16() 396 int vid_size = avctx->width * avctx->height; in MKSCALE16() 451 … if (avctx->codec_tag == AV_RL32("I420") && (avctx->width+1)*(avctx->height+1) * 3/2 == buf_size) { in MKSCALE16() 452 … frame->data[1] = frame->data[1] + (avctx->width+1)*(avctx->height+1) -avctx->width*avctx->height; in MKSCALE16() [all …]
|
/dports/emulators/vice/vice-3.5/src/lib/libffmpeg/libavcodec/ |
H A D | rawdec.c | 80 avctx->pix_fmt = avpriv_find_pix_fmt(ff_raw_pix_fmt_tags, avctx->codec_tag); in raw_init_decoder() 81 else if (avctx->pix_fmt == AV_PIX_FMT_NONE && avctx->bits_per_coded_sample) in raw_init_decoder() 102 !memcmp(avctx->extradata + avctx->extradata_size - 9, "BottomUp", 9)) || in raw_init_decoder() 139 for (i = 0; i < avctx->width * avctx->height; i++) { \ 165 (!avctx->codec_tag || avctx->codec_tag == MKTAG('r','a','w',' '))) { in MKSCALE16() 172 context->frame_size = avpicture_get_size(avctx->pix_fmt, avctx->width, in MKSCALE16() 192 if ((res = av_image_check_size(avctx->width, avctx->height, 0, avctx)) < 0) in MKSCALE16() 265 avctx->width, avctx->height)) < 0) { in MKSCALE16() 328 … if (avctx->codec_tag == AV_RL32("I420") && (avctx->width+1)*(avctx->height+1) * 3/2 == buf_size) { in MKSCALE16() 329 …picture->data[1] = picture->data[1] + (avctx->width+1)*(avctx->height+1) -avctx->width*avctx->hei… in MKSCALE16() [all …]
|
H A D | utils.c | 888 … if ((ret = av_image_check_size(avctx->width, avctx->height, 0, avctx)) < 0 || avctx->pix_fmt<0) { in get_buffer_internal() 944 priv->avctx = *avctx; in get_buffer_internal() 1180 avctx->hwaccel->uninit(avctx); in ff_get_format() 1362 if (!(avctx->coded_width && avctx->coded_height && avctx->width && avctx->height && in avcodec_open2() 1367 ret = ff_set_dimensions(avctx, avctx->width, avctx->height); in avcodec_open2() 1372 if ((avctx->coded_width || avctx->coded_height || avctx->width || avctx->height) in avcodec_open2() 2039 if (av_image_check_size(avctx->width, avctx->height, 0, avctx)) in avcodec_encode_video2() 2191 ret = ff_set_dimensions(avctx, avctx->width, avctx->height); in apply_param_change() 2277 …if ((avctx->coded_width || avctx->coded_height) && av_image_check_size(avctx->coded_width, avctx->… in avcodec_decode_video2() 2764 if (avctx->priv_data && avctx->codec && avctx->codec->priv_class) in avcodec_close() [all …]
|
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/lib/libffmpeg/libavcodec/ |
H A D | rawdec.c | 80 avctx->pix_fmt = avpriv_find_pix_fmt(ff_raw_pix_fmt_tags, avctx->codec_tag); in raw_init_decoder() 81 else if (avctx->pix_fmt == AV_PIX_FMT_NONE && avctx->bits_per_coded_sample) in raw_init_decoder() 102 !memcmp(avctx->extradata + avctx->extradata_size - 9, "BottomUp", 9)) || in raw_init_decoder() 139 for (i = 0; i < avctx->width * avctx->height; i++) { \ 165 (!avctx->codec_tag || avctx->codec_tag == MKTAG('r','a','w',' '))) { in MKSCALE16() 172 context->frame_size = avpicture_get_size(avctx->pix_fmt, avctx->width, in MKSCALE16() 192 if ((res = av_image_check_size(avctx->width, avctx->height, 0, avctx)) < 0) in MKSCALE16() 265 avctx->width, avctx->height)) < 0) { in MKSCALE16() 328 … if (avctx->codec_tag == AV_RL32("I420") && (avctx->width+1)*(avctx->height+1) * 3/2 == buf_size) { in MKSCALE16() 329 …picture->data[1] = picture->data[1] + (avctx->width+1)*(avctx->height+1) -avctx->width*avctx->hei… in MKSCALE16() [all …]
|
H A D | utils.c | 888 … if ((ret = av_image_check_size(avctx->width, avctx->height, 0, avctx)) < 0 || avctx->pix_fmt<0) { in get_buffer_internal() 944 priv->avctx = *avctx; in get_buffer_internal() 1180 avctx->hwaccel->uninit(avctx); in ff_get_format() 1362 if (!(avctx->coded_width && avctx->coded_height && avctx->width && avctx->height && in avcodec_open2() 1367 ret = ff_set_dimensions(avctx, avctx->width, avctx->height); in avcodec_open2() 1372 if ((avctx->coded_width || avctx->coded_height || avctx->width || avctx->height) in avcodec_open2() 2039 if (av_image_check_size(avctx->width, avctx->height, 0, avctx)) in avcodec_encode_video2() 2191 ret = ff_set_dimensions(avctx, avctx->width, avctx->height); in apply_param_change() 2277 …if ((avctx->coded_width || avctx->coded_height) && av_image_check_size(avctx->coded_width, avctx->… in avcodec_decode_video2() 2764 if (avctx->priv_data && avctx->codec && avctx->codec->priv_class) in avcodec_close() [all …]
|
/dports/sysutils/xvidcap/xvidcap-1.1.7/ffmpeg/libavcodec/ |
H A D | libgsm.c | 39 if (avctx->channels > 1) { in libgsm_init() 41 avctx->channels); in libgsm_init() 45 if(avctx->codec->decode){ in libgsm_init() 46 if(!avctx->channels) in libgsm_init() 47 avctx->channels= 1; in libgsm_init() 49 if(!avctx->sample_rate) in libgsm_init() 70 switch(avctx->codec_id) { in libgsm_init() 91 avctx->priv_data = NULL; in libgsm_close() 100 switch(avctx->codec_id) { in libgsm_encode_frame() 108 return avctx->block_align; in libgsm_encode_frame() [all …]
|
/dports/graphics/libbpg/libbpg-0.9.8/libavcodec/ |
H A D | utils.c | 87 ret = avctx->codec->init(avctx); in avcodec_open2() 102 if (!avctx) in avcodec_close() 105 if (avctx->codec && avctx->codec->close) in avcodec_close() 106 avctx->codec->close(avctx); in avcodec_close() 208 if (!avctx) in avcodec_alloc_context3() 216 return avctx; in avcodec_alloc_context3() 235 …if ((avctx->coded_width || avctx->coded_height) && av_image_check_size(avctx->coded_width, avctx->… in avcodec_decode_video2() 280 … if ((ret = av_image_check_size(avctx->width, avctx->height, 0, avctx)) < 0 || avctx->pix_fmt<0) { in get_buffer_internal() 287 … frame->width = FFMAX(avctx->width, FF_CEIL_RSHIFT(avctx->coded_width, avctx->lowres)); in get_buffer_internal() 288 … frame->height = FFMAX(avctx->height, FF_CEIL_RSHIFT(avctx->coded_height, avctx->lowres)); in get_buffer_internal() [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/media/ffvpx/libavcodec/ |
H A D | utils.c | 887 … if ((ret = av_image_check_size(avctx->width, avctx->height, 0, avctx)) < 0 || avctx->pix_fmt<0) { in get_buffer_internal() 1296 if (!(avctx->coded_width && avctx->coded_height && avctx->width && avctx->height && in avcodec_open2() 1301 ret = ff_set_dimensions(avctx, avctx->width, avctx->height); in avcodec_open2() 1306 if ((avctx->coded_width || avctx->coded_height || avctx->width || avctx->height) in avcodec_open2() 1391 if (avctx->codec->max_lowres < avctx->lowres || avctx->lowres < 0) { in avcodec_open2() 1665 avctx->codec->close(avctx); in avcodec_open2() 1952 if (av_image_check_size(avctx->width, avctx->height, 0, avctx)) in avcodec_encode_video2() 2116 ret = ff_set_dimensions(avctx, avctx->width, avctx->height); in apply_param_change() 2202 …if ((avctx->coded_width || avctx->coded_height) && av_image_check_size(avctx->coded_width, avctx->… in avcodec_decode_video2() 2999 if (avctx->priv_data && avctx->codec && avctx->codec->priv_class) in avcodec_close() [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/media/ffvpx/libavcodec/ |
H A D | decode.c | 106 ret = ff_set_dimensions(avctx, avctx->width, avctx->height); in apply_param_change() 636 ret = avctx->codec->receive_frame(avctx, frame); in decode_receive_frame_internal() 1200 if (avctx->hwaccel && avctx->hwaccel->uninit) in ff_get_format() 1201 avctx->hwaccel->uninit(avctx); in ff_get_format() 1207 ret = avctx->get_format(avctx, choices); in ff_get_format() 1622 …if ((ret = av_image_check_size2(avctx->width, avctx->height, avctx->max_pixels, AV_PIX_FMT_NONE, 0… in get_buffer_internal() 1628 … frame->width = FFMAX(avctx->width, AV_CEIL_RSHIFT(avctx->coded_width, avctx->lowres)); in get_buffer_internal() 1629 … frame->height = FFMAX(avctx->height, AV_CEIL_RSHIFT(avctx->coded_height, avctx->lowres)); in get_buffer_internal() 1648 avctx->sw_pix_fmt = avctx->pix_fmt; in get_buffer_internal() 1650 ret = avctx->get_buffer2(avctx, frame, flags); in get_buffer_internal() [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/media/ffvpx/libavcodec/ |
H A D | decode.c | 108 ret = ff_set_dimensions(avctx, avctx->width, avctx->height); in apply_param_change() 579 … avctx->time_base = av_inv_q(av_mul_q(avctx->framerate, (AVRational){avctx->ticks_per_frame, 1})); in decode_simple_internal() 645 ret = avctx->codec->receive_frame(avctx, frame); in decode_receive_frame_internal() 1361 if (avctx->hwaccel && avctx->hwaccel->uninit) in hwaccel_uninit() 1362 avctx->hwaccel->uninit(avctx); in hwaccel_uninit() 1402 user_choice = avctx->get_format(avctx, choices); in ff_get_format() 1913 …mage_check_size2(FFALIGN(avctx->width, STRIDE_ALIGN), avctx->height, avctx->max_pixels, AV_PIX_FMT… in get_buffer_internal() 1919 … frame->width = FFMAX(avctx->width, AV_CEIL_RSHIFT(avctx->coded_width, avctx->lowres)); in get_buffer_internal() 1939 avctx->sw_pix_fmt = avctx->pix_fmt; in get_buffer_internal() 1941 ret = avctx->get_buffer2(avctx, frame, flags); in get_buffer_internal() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/media/ffvpx/libavcodec/ |
H A D | decode.c | 108 ret = ff_set_dimensions(avctx, avctx->width, avctx->height); in apply_param_change() 579 … avctx->time_base = av_inv_q(av_mul_q(avctx->framerate, (AVRational){avctx->ticks_per_frame, 1})); in decode_simple_internal() 645 ret = avctx->codec->receive_frame(avctx, frame); in decode_receive_frame_internal() 1361 if (avctx->hwaccel && avctx->hwaccel->uninit) in hwaccel_uninit() 1362 avctx->hwaccel->uninit(avctx); in hwaccel_uninit() 1402 user_choice = avctx->get_format(avctx, choices); in ff_get_format() 1913 …mage_check_size2(FFALIGN(avctx->width, STRIDE_ALIGN), avctx->height, avctx->max_pixels, AV_PIX_FMT… in get_buffer_internal() 1919 … frame->width = FFMAX(avctx->width, AV_CEIL_RSHIFT(avctx->coded_width, avctx->lowres)); in get_buffer_internal() 1939 avctx->sw_pix_fmt = avctx->pix_fmt; in get_buffer_internal() 1941 ret = avctx->get_buffer2(avctx, frame, flags); in get_buffer_internal() [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/media/ffvpx/libavcodec/ |
H A D | decode.c | 108 ret = ff_set_dimensions(avctx, avctx->width, avctx->height); in apply_param_change() 579 … avctx->time_base = av_inv_q(av_mul_q(avctx->framerate, (AVRational){avctx->ticks_per_frame, 1})); in decode_simple_internal() 645 ret = avctx->codec->receive_frame(avctx, frame); in decode_receive_frame_internal() 1361 if (avctx->hwaccel && avctx->hwaccel->uninit) in hwaccel_uninit() 1362 avctx->hwaccel->uninit(avctx); in hwaccel_uninit() 1402 user_choice = avctx->get_format(avctx, choices); in ff_get_format() 1913 …mage_check_size2(FFALIGN(avctx->width, STRIDE_ALIGN), avctx->height, avctx->max_pixels, AV_PIX_FMT… in get_buffer_internal() 1919 … frame->width = FFMAX(avctx->width, AV_CEIL_RSHIFT(avctx->coded_width, avctx->lowres)); in get_buffer_internal() 1939 avctx->sw_pix_fmt = avctx->pix_fmt; in get_buffer_internal() 1941 ret = avctx->get_buffer2(avctx, frame, flags); in get_buffer_internal() [all …]
|