linphone-developers
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
[Linphone-developers] whether linphone supports 25fps
From
:
Harishkumar V
Subject
:
[Linphone-developers] whether linphone supports 25fps
Date
:
Tue, 22 Jun 2010 13:58:11 +0530
Hi,
I went through the mediastream2 code, where, the following is given,
static int enc_set_br(MSFilter *f, void *arg){
EncState *s=(EncState*)f->data;
bool_t snow=s->codec==CODEC_ID_SNOW;
s->maxbr=*(int*)arg;
if (s->maxbr>=1024000 && s->codec!=CODEC_ID_H263P){
s->vsize.width = MS_VIDEO_SIZE_SVGA_W;
s->vsize.height = MS_VIDEO_SIZE_SVGA_H;
s->fps=17;
}else if (s->maxbr>=800000 && s->codec!=CODEC_ID_H263P){
s->vsize.width = MS_VIDEO_SIZE_VGA_W;
s->vsize.height = MS_VIDEO_SIZE_VGA_H;
s->fps=17;
}else if (s->maxbr>=512000){
s->vsize.width=MS_VIDEO_SIZE_CIF_W;
s->vsize.height=MS_VIDEO_SIZE_CIF_H;
s->fps=17;
}else if (s->maxbr>=256000){
s->vsize.width=MS_VIDEO_SIZE_CIF_W;
s->vsize.height=MS_VIDEO_SIZE_CIF_H;
s->fps=10;
s->qmin=3;
}else if (s->maxbr>=128000){
s->vsize.width=MS_VIDEO_SIZE_QCIF_W;
s->vsize.height=MS_VIDEO_SIZE_QCIF_H;
s->fps=10;
s->qmin=3;
}else if (s->maxbr>=64000){
s->vsize.width=MS_VIDEO_SIZE_QCIF_W;
s->vsize.height=MS_VIDEO_SIZE_QCIF_H;
s->fps=snow ? 7 : 5;
s->qmin=snow ? 4 : 5;
}else{
s->vsize.width=MS_VIDEO_SIZE_QCIF_W;
s->vsize.height=MS_VIDEO_SIZE_QCIF_H;
s->fps=5;
s->qmin=5;
}
if (s->av_context.codec!=NULL){
/*apply new settings dynamically*/
ms_filter_lock(f);
enc_postprocess(f);
enc_preprocess(f);
ms_filter_unlock(f);
}
where, mac fps is given as 17, my doubt is whether linphone will support 25 fps.
--
Thanks and Regards,
Harish Kumar. V
reply via email to
[Prev in Thread]
Current Thread
[Next in Thread]
[Linphone-developers] whether linphone supports 25fps
,
Harishkumar V
<=
Prev by Date:
[Linphone-developers] update for multicall
Next by Date:
Re: [Linphone-developers] Using MSConf - conference
Previous by thread:
[Linphone-developers] update for multicall
Next by thread:
[Linphone-developers] 0002-Add-support-for-sbit-ebit-when-depacketizing-RFC2190
Index(es):
Date
Thread