OSDN Git Service
(root)
/
handbrake-jp
/
handbrake-jp-git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
x264 bump to r1339-82b80ef
[handbrake-jp/handbrake-jp-git.git]
/
libhb
/
deblock.c
diff --git
a/libhb/deblock.c
b/libhb/deblock.c
index
42b7d8c
..
261b0b3
100644
(file)
--- a/
libhb/deblock.c
+++ b/
libhb/deblock.c
@@
-17,10
+17,10
@@
*/
#include "hb.h"
*/
#include "hb.h"
-#include "
libavcodec/avcodec
.h"
+#include "
hbffmpeg
.h"
#include "mpeg2dec/mpeg2.h"
#include "mpeg2dec/mpeg2.h"
-#define PP7_QP_DEFAULT
0
+#define PP7_QP_DEFAULT
5
#define PP7_MODE_DEFAULT 2
#define XMIN(a,b) ((a) < (b) ? (a) : (b))
#define PP7_MODE_DEFAULT 2
#define XMIN(a,b) ((a) < (b) ? (a) : (b))
@@
-405,8
+405,7
@@
hb_filter_private_t * hb_deblock_init( int pix_fmt,
pv->pp7_src = (uint8_t*)malloc( pv->pp7_temp_stride*(h+8)*sizeof(uint8_t) );
pv->pp7_src = (uint8_t*)malloc( pv->pp7_temp_stride*(h+8)*sizeof(uint8_t) );
- int buf_size = 3 * width * height / 2;
- pv->buf_out = hb_buffer_init( buf_size );
+ pv->buf_out = hb_video_buffer_init( width, height );
return pv;
}
return pv;
}