7 int NumberofCodedPFrame
;
11 int Frame_Total_Number_MB
;
12 int NumberofCodedMacroBlocks
;
15 extern InputParameters
*input
;
16 extern ImageParameters
*img
;
18 void rc_init_pict(int fieldpic
)
20 if(input
->MbInterlace
)
21 T
= img
->Frame_Total_Number_MB
;
22 img
->NumberofCodedMacroBlocks
=0;
23 if(input
->channel_type
==1
24 && img
->NumberofCodedPFrame
==58)
31 if(img
->NumberofCodedPFrame
>0
32 && img
->FieldControl
==1)
34 if(img
->NumberofPPicture
==1)
38 && img
->NumberofCodedPFrame
>0)
42 && img
->FieldControl
==1)