Commit c45f6295 authored by Diego Biurrun's avatar Diego Biurrun

Rename libavcodec/high_bit_depth.h ---> libavcodec/bit_depth_template.c

This naming scheme is used elsewhere, so it's sensible to be consistent.
parent 68e39d6e
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
* DSP utils * DSP utils
*/ */
#include "high_bit_depth.h" #include "bit_depth_template.c"
static inline void FUNC(copy_block2)(uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, int h) static inline void FUNC(copy_block2)(uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, int h)
{ {
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
* @author Michael Niedermayer <michaelni@gmx.at> * @author Michael Niedermayer <michaelni@gmx.at>
*/ */
#include "high_bit_depth.h" #include "bit_depth_template.c"
#define op_scale1(x) block[x] = av_clip_pixel( (block[x]*weight + offset) >> log2_denom ) #define op_scale1(x) block[x] = av_clip_pixel( (block[x]*weight + offset) >> log2_denom )
#define op_scale2(x) dst[x] = av_clip_pixel( (src[x]*weights + dst[x]*weightd + offset) >> (log2_denom+1)) #define op_scale2(x) dst[x] = av_clip_pixel( (src[x]*weights + dst[x]*weightd + offset) >> (log2_denom+1))
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
* @author Michael Niedermayer <michaelni@gmx.at> * @author Michael Niedermayer <michaelni@gmx.at>
*/ */
#include "high_bit_depth.h" #include "bit_depth_template.c"
#ifndef AVCODEC_H264IDCT_INTERNAL_H #ifndef AVCODEC_H264IDCT_INTERNAL_H
#define AVCODEC_H264IDCT_INTERNAL_H #define AVCODEC_H264IDCT_INTERNAL_H
......
...@@ -26,7 +26,8 @@ ...@@ -26,7 +26,8 @@
*/ */
#include "mathops.h" #include "mathops.h"
#include "high_bit_depth.h"
#include "bit_depth_template.c"
static void FUNCC(pred4x4_vertical)(uint8_t *_src, const uint8_t *topright, int _stride){ static void FUNCC(pred4x4_vertical)(uint8_t *_src, const uint8_t *topright, int _stride){
pixel *src = (pixel*)_src; pixel *src = (pixel*)_src;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment