File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -699,7 +699,7 @@ static void compute_mb_mask_from_intra_frame_dependency_for_single_mb(int p_vide
699
699
}
700
700
gVideoCodecCtxList [p_videoFileIndex ]-> selected_mb_mask [l_mb .h ][l_mb .w ]++ ;
701
701
for (l_i = 0 ; l_i < 3 ; ++ l_i ) {
702
- p = pframe + (l_mb .h * _width + l_mb .w )* 8 + l_i * 2 ;
702
+ p = pframe + (l_mb .h * _width + l_mb .w )* 6 + l_i * 2 ;
703
703
if ((* p != 0 ) || (* (p + 1 ) != 0 )) {
704
704
l_mb2 .h = * p ;
705
705
l_mb2 .w = * (p + 1 );
Original file line number Diff line number Diff line change 46
46
//#define NORM_DECODE_DEBUG //uncommented: dump dependency for normal decoding mode; should be commented at //selective decoding mode
47
47
//#define DUMP_SELECTED_MB_MASK //enabled: dump the mask for the mb needed;
48
48
//#define DUMP_VIDEO_FRAME_BYTES //enabled: dump the bytes to a binary file
49
- // #define DUMP_SELECTIVE_DEP //enabled: dump the relationship in memory to files
49
+ #define DUMP_SELECTIVE_DEP //enabled: dump the relationship in memory to files
50
50
51
51
#define MAX_FRAME_NUM_IN_GOP 50
52
52
#define MAX_MB_H 100
Original file line number Diff line number Diff line change @@ -423,6 +423,7 @@ static int decode_slice_dep(MpegEncContext *s){
423
423
const int xy = s -> mb_x + s -> mb_y * s -> mb_stride ;
424
424
if (ret == SLICE_END ){
425
425
MPV_decode_mb_dep (s , s -> block );
426
+ fprintf (s -> avctx -> g_interDepF , "\n" );
426
427
if (s -> loop_filter )
427
428
ff_h263_loop_filter (s );
428
429
You can’t perform that action at this time.
0 commit comments