avcodec/mpegvideo_enc: Avoid excessive inlining
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -2484,7 +2484,7 @@ static av_always_inline void encode_mb_internal(MpegEncContext *s,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static av_always_inline void encode_mb(MpegEncContext *s, int motion_x, int motion_y)
|
static void encode_mb(MpegEncContext *s, int motion_x, int motion_y)
|
||||||
{
|
{
|
||||||
if (s->chroma_format == CHROMA_420)
|
if (s->chroma_format == CHROMA_420)
|
||||||
encode_mb_internal(s, motion_x, motion_y, 8, 8, 6, 1, 1, CHROMA_420);
|
encode_mb_internal(s, motion_x, motion_y, 8, 8, 6, 1, 1, CHROMA_420);
|
||||||
@@ -2559,9 +2559,9 @@ static inline void copy_context_after_encode(MpegEncContext *d,
|
|||||||
d->esc3_level_length= s->esc3_level_length;
|
d->esc3_level_length= s->esc3_level_length;
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void encode_mb_hq(MpegEncContext *s, MpegEncContext *backup, MpegEncContext *best,
|
static void encode_mb_hq(MpegEncContext *s, MpegEncContext *backup, MpegEncContext *best,
|
||||||
PutBitContext pb[2], PutBitContext pb2[2], PutBitContext tex_pb[2],
|
PutBitContext pb[2], PutBitContext pb2[2], PutBitContext tex_pb[2],
|
||||||
int *dmin, int *next_block, int motion_x, int motion_y)
|
int *dmin, int *next_block, int motion_x, int motion_y)
|
||||||
{
|
{
|
||||||
int score;
|
int score;
|
||||||
uint8_t *dest_backup[3];
|
uint8_t *dest_backup[3];
|
||||||
|
Reference in New Issue
Block a user