Lines Matching refs:ctx
161 NUVContext *ctx = s->priv_data;
203 ctx->v_id = vst->index;
222 ctx->v_id = -1;
228 ctx->a_id = ast->index;
239 ctx->a_id = -1;
244 ctx->rtjpg_video = vst && vst->codecpar->codec_id == AV_CODEC_ID_NUV;
253 NUVContext *ctx = s->priv_data;
260 int copyhdrsize = ctx->rtjpg_video ? HDRSIZE : 0;
272 if (!ctx->rtjpg_video) {
277 if (ctx->v_id < 0) {
289 pkt->stream_index = ctx->v_id;
299 if (ctx->a_id < 0) {
308 pkt->stream_index = ctx->a_id;
348 NUVContext *ctx = s->priv_data;
372 idx = ctx->v_id;
375 idx = ctx->a_id;