Originally committed as revision 21179 to svn://svn.ffmpeg.org/ffmpeg/trunk
| ... | ... |
@@ -515,7 +515,7 @@ void ff_avg_cavs_qpel8_mc00_c(uint8_t *dst, uint8_t *src, int stride); |
| 515 | 515 |
void ff_put_cavs_qpel16_mc00_c(uint8_t *dst, uint8_t *src, int stride); |
| 516 | 516 |
void ff_avg_cavs_qpel16_mc00_c(uint8_t *dst, uint8_t *src, int stride); |
| 517 | 517 |
|
| 518 |
-void ff_cavsdsp_init(DSPContext* c, AVCodecContext *avctx) {
|
|
| 518 |
+av_cold void ff_cavsdsp_init(DSPContext* c, AVCodecContext *avctx) {
|
|
| 519 | 519 |
#define dspfunc(PFX, IDX, NUM) \ |
| 520 | 520 |
c->PFX ## _pixels_tab[IDX][ 0] = ff_ ## PFX ## NUM ## _mc00_c; \ |
| 521 | 521 |
c->PFX ## _pixels_tab[IDX][ 1] = ff_ ## PFX ## NUM ## _mc10_c; \ |
| ... | ... |
@@ -4452,7 +4452,7 @@ static void ff_jref_idct1_add(uint8_t *dest, int line_size, DCTELEM *block) |
| 4452 | 4452 |
static void just_return(void *mem av_unused, int stride av_unused, int h av_unused) { return; }
|
| 4453 | 4453 |
|
| 4454 | 4454 |
/* init static data */ |
| 4455 |
-void dsputil_static_init(void) |
|
| 4455 |
+av_cold void dsputil_static_init(void) |
|
| 4456 | 4456 |
{
|
| 4457 | 4457 |
int i; |
| 4458 | 4458 |
|
| ... | ... |
@@ -4489,7 +4489,7 @@ int ff_check_alignment(void){
|
| 4489 | 4489 |
return 0; |
| 4490 | 4490 |
} |
| 4491 | 4491 |
|
| 4492 |
-void dsputil_init(DSPContext* c, AVCodecContext *avctx) |
|
| 4492 |
+av_cold void dsputil_init(DSPContext* c, AVCodecContext *avctx) |
|
| 4493 | 4493 |
{
|
| 4494 | 4494 |
int i; |
| 4495 | 4495 |
|
| ... | ... |
@@ -413,7 +413,7 @@ static void x8_v_loop_filter(uint8_t *src, int stride, int qscale){
|
| 413 | 413 |
x8_loop_filter(src, 1, stride, qscale); |
| 414 | 414 |
} |
| 415 | 415 |
|
| 416 |
-void ff_intrax8dsp_init(DSPContext* dsp, AVCodecContext *avctx) {
|
|
| 416 |
+av_cold void ff_intrax8dsp_init(DSPContext* dsp, AVCodecContext *avctx) {
|
|
| 417 | 417 |
dsp->x8_h_loop_filter=x8_h_loop_filter; |
| 418 | 418 |
dsp->x8_v_loop_filter=x8_v_loop_filter; |
| 419 | 419 |
dsp->x8_setup_spatial_compensation=x8_setup_spatial_compensation; |
| ... | ... |
@@ -251,7 +251,7 @@ RV30_MC(put_, 16) |
| 251 | 251 |
RV30_MC(avg_, 8) |
| 252 | 252 |
RV30_MC(avg_, 16) |
| 253 | 253 |
|
| 254 |
-void ff_rv30dsp_init(DSPContext* c, AVCodecContext *avctx) {
|
|
| 254 |
+av_cold void ff_rv30dsp_init(DSPContext* c, AVCodecContext *avctx) {
|
|
| 255 | 255 |
c->put_rv30_tpel_pixels_tab[0][ 0] = c->put_h264_qpel_pixels_tab[0][0]; |
| 256 | 256 |
c->put_rv30_tpel_pixels_tab[0][ 1] = put_rv30_tpel16_mc10_c; |
| 257 | 257 |
c->put_rv30_tpel_pixels_tab[0][ 2] = put_rv30_tpel16_mc20_c; |
| ... | ... |
@@ -662,7 +662,7 @@ int avcodec_decode_subtitle2(AVCodecContext *avctx, AVSubtitle *sub, |
| 662 | 662 |
return ret; |
| 663 | 663 |
} |
| 664 | 664 |
|
| 665 |
-int avcodec_close(AVCodecContext *avctx) |
|
| 665 |
+av_cold int avcodec_close(AVCodecContext *avctx) |
|
| 666 | 666 |
{
|
| 667 | 667 |
/* If there is a user-supplied mutex locking routine, call it. */ |
| 668 | 668 |
if (ff_lockmgr_cb) {
|
| ... | ... |
@@ -612,7 +612,7 @@ PUT_VC1_MSPEL(1, 3) |
| 612 | 612 |
PUT_VC1_MSPEL(2, 3) |
| 613 | 613 |
PUT_VC1_MSPEL(3, 3) |
| 614 | 614 |
|
| 615 |
-void ff_vc1dsp_init(DSPContext* dsp, AVCodecContext *avctx) {
|
|
| 615 |
+av_cold void ff_vc1dsp_init(DSPContext* dsp, AVCodecContext *avctx) {
|
|
| 616 | 616 |
dsp->vc1_inv_trans_8x8 = vc1_inv_trans_8x8_c; |
| 617 | 617 |
dsp->vc1_inv_trans_4x8 = vc1_inv_trans_4x8_c; |
| 618 | 618 |
dsp->vc1_inv_trans_8x4 = vc1_inv_trans_8x4_c; |