|
|
@@ -1800,6 +1800,7 @@ redo_frame: |
|
|
|
quantize(s, b, b->ibuf, b->buf, b->stride, s->qbias); |
|
|
|
if(orientation==0) |
|
|
|
decorrelate(s, b, b->ibuf, b->stride, pic->pict_type == AV_PICTURE_TYPE_P, 0); |
|
|
|
if (!s->no_bitstream) |
|
|
|
encode_subband(s, b, b->ibuf, b->parent ? b->parent->ibuf : NULL, b->stride, orientation); |
|
|
|
assert(b->parent==NULL || b->parent->stride == b->stride*2); |
|
|
|
if(orientation==0) |
|
|
@@ -1904,6 +1905,7 @@ static av_cold int encode_end(AVCodecContext *avctx) |
|
|
|
#define VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM |
|
|
|
static const AVOption options[] = { |
|
|
|
{ "memc_only", "Only do ME/MC (I frames -> ref, P frame -> ME+MC).", OFFSET(memc_only), AV_OPT_TYPE_INT, { 0 }, 0, 1, VE }, |
|
|
|
{ "no_bitstream", "Skip final bitstream writeout.", OFFSET(no_bitstream), AV_OPT_TYPE_INT, { 0 }, 0, 1, VE }, |
|
|
|
{ NULL }, |
|
|
|
}; |
|
|
|
|
|
|
|