return s->qscale;
return s->qscale*2;
static inline int get_penalty_factor(MpegEncContext *s, int type){    switch(type){    default:    case FF_CMP_SAD:        return s->qscale;    case FF_CMP_DCT:    case FF_CMP_SATD:    case FF_CMP_SSE:    case FF_CMP_PSNR:        return s->qscale*8;    case FF_CMP_BIT:        return 1;    case FF_CMP_RD:        return (s->qscale*s->qscale*105 + 64)>>7;    }}