Lines Matching refs:encctx
96 AVCodecContext *encctx = st->codec;
101 dar = av_mul_q(sar, (AVRational){ encctx->width, encctx->height });
117 overlay_rect->w = encctx->width;
120 overlay_rect->h = encctx->height;
139 AVCodecContext *encctx = st->codec;
157 sdl->overlay = SDL_CreateYUVOverlay(encctx->width, encctx->height,
159 if (!sdl->overlay || sdl->overlay->pitches[0] < encctx->width) {
162 encctx->width, encctx->height);
169 encctx->width, encctx->height, av_get_pix_fmt_name(encctx->pix_fmt),
236 AVCodecContext *encctx = st->codec;
253 || encctx->codec_type != AVMEDIA_TYPE_VIDEO
254 || encctx->codec_id != AV_CODEC_ID_RAWVIDEO) {
261 if (sdl_overlay_pix_fmt_map[i].pix_fmt == encctx->pix_fmt) {
270 av_get_pix_fmt_name(encctx->pix_fmt));
317 AVCodecContext *encctx = s->streams[0]->codec;
325 avpicture_fill(&pict, pkt->data, encctx->pix_fmt, encctx->width, encctx->height);