View Single Post
Old 28th February 2010, 20:48   #16  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
Quote:
Whats the deal with no subme 10? Even with trellis 2 I can't access it.
Code:
void X264InternalLogicService::adjustSubMe(X264Model *model)
{
    bool cabac = model->stringValue("entropyCoding") == QObject::tr("CABAC");
    bool trellis = model->stringValue("trellisQuantization") == QObject::tr("always");
    bool adaptiveQuant = model->stringValue("adaptiveQuantization") != QObject::tr("disabled");
    bool qcomp = model->doubleValue("curveCompression") != 1;
    QStringList values;
    values << QObject::tr("0: fullpel motion estimation only");
    values << QObject::tr("1: sad + 1pass quarterpixel");
    values << QObject::tr("2: satd + 2pass quarterpixel");
    values << QObject::tr("3: halfpixel + 2pass quarterpixel");
    values << QObject::tr("4: always quarterpixel");
    values << QObject::tr("5: quarterpixel + bidirectional motion estimation");
    values << QObject::tr("6: rate distortion optimization on I-/P-frames");
    values << QObject::tr("7: rate distortion optimization on all Frames");
    values << QObject::tr("8: rate refinement on I-/P-frames");
    values << QObject::tr("9: rate refinement on all frames");
    if (cabac && trellis && adaptiveQuant && qcomp) {
        values << QObject::tr("10: trellis based rate refinement on all frames");
    }
    this->doSet(model, "subPixelPrecision", "elements", values);
}
-> qcomp need to be != 1, trellis, adaptiveQuantization and cabac need to be enabled (you probably didn't enable adaptive quantization)

What OS do you use? (I might have to make a list to not have to ask everybody every time.
Think I fixed the f4v problem.
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote