diff options
author | James Almer <jamrial@gmail.com> | 2017-08-30 14:43:22 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-08-30 14:44:27 -0300 |
commit | 2b7da70a70fef364f9a42e69b6d34133b3d089f8 (patch) | |
tree | d3e01e09ad57ec22154848e50abb42e86c592a65 /libpostproc/postprocess.c | |
parent | f7d4c60ac47547f69ddc96e7bed682f54436cd1a (diff) |
postproc: remove usage of deprecated QP_STORE_T define
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libpostproc/postprocess.c')
-rw-r--r-- | libpostproc/postprocess.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libpostproc/postprocess.c b/libpostproc/postprocess.c index 6aa4ace337..1fef8747c0 100644 --- a/libpostproc/postprocess.c +++ b/libpostproc/postprocess.c @@ -558,10 +558,10 @@ static av_always_inline void do_a_deblock_C(uint8_t *src, int step, #endif typedef void (*pp_fn)(const uint8_t src[], int srcStride, uint8_t dst[], int dstStride, int width, int height, - const QP_STORE_T QPs[], int QPStride, int isColor, PPContext *c2); + const int8_t QPs[], int QPStride, int isColor, PPContext *c2); static inline void postProcess(const uint8_t src[], int srcStride, uint8_t dst[], int dstStride, int width, int height, - const QP_STORE_T QPs[], int QPStride, int isColor, pp_mode *vm, pp_context *vc) + const int8_t QPs[], int QPStride, int isColor, pp_mode *vm, pp_context *vc) { pp_fn pp = postProcess_C; PPContext *c= (PPContext *)vc; @@ -870,9 +870,9 @@ static void reallocBuffers(PPContext *c, int width, int height, int stride, int } reallocAlign((void **)&c->deintTemp, 2*width+32); - reallocAlign((void **)&c->nonBQPTable, qpStride*mbHeight*sizeof(QP_STORE_T)); - reallocAlign((void **)&c->stdQPTable, qpStride*mbHeight*sizeof(QP_STORE_T)); - reallocAlign((void **)&c->forcedQPTable, mbWidth*sizeof(QP_STORE_T)); + reallocAlign((void **)&c->nonBQPTable, qpStride*mbHeight*sizeof(int8_t)); + reallocAlign((void **)&c->stdQPTable, qpStride*mbHeight*sizeof(int8_t)); + reallocAlign((void **)&c->forcedQPTable, mbWidth*sizeof(int8_t)); } static const char * context_to_name(void * ptr) { @@ -940,7 +940,7 @@ av_cold void pp_free_context(void *vc){ void pp_postprocess(const uint8_t * src[3], const int srcStride[3], uint8_t * dst[3], const int dstStride[3], int width, int height, - const QP_STORE_T *QP_store, int QPStride, + const int8_t *QP_store, int QPStride, pp_mode *vm, void *vc, int pict_type) { int mbWidth = (width+15)>>4; |