mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-13 10:30:05 +01:00
proresenc_kostya: remove unneeded parameters
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit bf10f09bcc)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
committed by
Michael Niedermayer
parent
c0ad5f9333
commit
7740b111dd
@@ -472,7 +472,6 @@ static void put_alpha_run(PutBitContext *pb, int run)
|
|||||||
|
|
||||||
// todo alpha quantisation for high quants
|
// todo alpha quantisation for high quants
|
||||||
static int encode_alpha_plane(ProresContext *ctx, PutBitContext *pb,
|
static int encode_alpha_plane(ProresContext *ctx, PutBitContext *pb,
|
||||||
const uint16_t *src, int linesize,
|
|
||||||
int mbs_per_slice, uint16_t *blocks,
|
int mbs_per_slice, uint16_t *blocks,
|
||||||
int quant)
|
int quant)
|
||||||
{
|
{
|
||||||
@@ -567,7 +566,7 @@ static int encode_slice(AVCodecContext *avctx, const AVFrame *pic,
|
|||||||
get_alpha_data(ctx, src, linesize, xp, yp,
|
get_alpha_data(ctx, src, linesize, xp, yp,
|
||||||
pwidth, avctx->height / ctx->pictures_per_frame,
|
pwidth, avctx->height / ctx->pictures_per_frame,
|
||||||
ctx->blocks[0], mbs_per_slice, ctx->alpha_bits);
|
ctx->blocks[0], mbs_per_slice, ctx->alpha_bits);
|
||||||
sizes[i] = encode_alpha_plane(ctx, pb, src, linesize,
|
sizes[i] = encode_alpha_plane(ctx, pb,
|
||||||
mbs_per_slice, ctx->blocks[0],
|
mbs_per_slice, ctx->blocks[0],
|
||||||
quant);
|
quant);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user