You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
Rename libavcodec/high_bit_depth.h ---> libavcodec/bit_depth_template.c
This naming scheme is used elsewhere, so it's sensible to be consistent.
This commit is contained in:
@@ -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 @@
|
|||||||
* @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 @@
|
|||||||
* @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 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#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;
|
||||||
|
Reference in New Issue
Block a user