Browse Source

Merge commit '2ed008204d5467be03a0a3af1e293b2f7038d0a0'

* commit '2ed008204d5467be03a0a3af1e293b2f7038d0a0':
  h264: Add add_pixels4/8() to h264dsp, and remove add_pixels4 from dsputil

Conflicts:
	libavcodec/dsputil.c
	libavcodec/h264.c
	libavcodec/h264_mb_template.c
	libavcodec/h264addpx_template.c
	libavcodec/h264dsp.c
	libavcodec/h264dsp.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.2
Michael Niedermayer 12 years ago
parent
commit
088f20a332
2 changed files with 2 additions and 3 deletions
  1. +1
    -2
      libavcodec/dsputil.c
  2. +1
    -1
      libavcodec/h264.c

+ 1
- 2
libavcodec/dsputil.c View File

@@ -463,7 +463,6 @@ static void add_pixels8_c(uint8_t *av_restrict pixels,
}
}


static void add_pixels_clamped_c(const int16_t *block, uint8_t *av_restrict pixels,
int line_size)
{
@@ -2902,7 +2901,7 @@ av_cold void ff_dsputil_init(DSPContext* c, AVCodecContext *avctx)
c->get_pixels = FUNCC(get_pixels ## dct , depth);\
c->draw_edges = FUNCC(draw_edges , depth);\
c->clear_block = FUNCC(clear_block ## dct , depth);\
c->clear_blocks = FUNCC(clear_blocks ## dct , depth)
c->clear_blocks = FUNCC(clear_blocks ## dct , depth);\

switch (avctx->bits_per_raw_sample) {
case 9:


+ 1
- 1
libavcodec/h264.c View File

@@ -2216,7 +2216,7 @@ static av_always_inline void hl_decode_mb_predict_luma(H264Context *h,
} else {
if (transform_bypass) {
idct_dc_add =
idct_add = h->h264dsp.h264_add_pixels4_clear;
idct_add = h->h264dsp.h264_add_pixels4_clear;
} else {
idct_dc_add = h->h264dsp.h264_idct_dc_add;
idct_add = h->h264dsp.h264_idct_add;


Loading…
Cancel
Save