Mercurial > libavcodec.hg
comparison svq3.c @ 10863:974ac220c93a libavcodec
Move check_intra4x4_pred_mode() back from h264.h to h264.c, the function is just
called once per MB in worst case and doesnt seem to benefit from static inline.
Actually the code might be a hair faster now (0.1% according to my benchmark but
this could be random noise)
author | michael |
---|---|
date | Tue, 12 Jan 2010 21:17:26 +0000 |
parents | 86d7ab878805 |
children | e3f5eb016712 |
comparison
equal
deleted
inserted
replaced
10862:d9c084a0c22b | 10863:974ac220c93a |
---|---|
587 } | 587 } |
588 | 588 |
589 ff_h264_write_back_intra_pred_mode(h); | 589 ff_h264_write_back_intra_pred_mode(h); |
590 | 590 |
591 if (mb_type == 8) { | 591 if (mb_type == 8) { |
592 check_intra4x4_pred_mode(h); | 592 ff_h264_check_intra4x4_pred_mode(h); |
593 | 593 |
594 h->top_samples_available = (s->mb_y == 0) ? 0x33FF : 0xFFFF; | 594 h->top_samples_available = (s->mb_y == 0) ? 0x33FF : 0xFFFF; |
595 h->left_samples_available = (s->mb_x == 0) ? 0x5F5F : 0xFFFF; | 595 h->left_samples_available = (s->mb_x == 0) ? 0x5F5F : 0xFFFF; |
596 } else { | 596 } else { |
597 for (i = 0; i < 4; i++) { | 597 for (i = 0; i < 4; i++) { |