Line | Code | Value | Export IDENTIFIER |
33 | #define LOG_FILE _T("dxva.log") | dxva.log | |
57 | { &GUID_NULL, _T("Not using DXVA") }, | Not using DXVA | |
58 | { &DXVA2_ModeH264_A, _T("H.264 motion compensation, no FGT") }, | H.264 motion compensation, no FGT | |
59 | { &DXVA2_ModeH264_B, _T("H.264 motion compensation, FGT") }, | H.264 motion compensation, FGT | |
60 | { &DXVA2_ModeH264_C, _T("H.264 IDCT, no FGT") }, | H.264 IDCT, no FGT | |
61 | { &DXVA2_ModeH264_D, _T("H.264 IDCT, FGT") }, | H.264 IDCT, FGT | |
62 | { &DXVA2_ModeH264_E, _T("H.264 bitstream decoder, no FGT") }, | H.264 bitstream decoder, no FGT | |
63 | { &DXVA2_ModeH264_F, _T("H.264 bitstream decoder, FGT") }, | H.264 bitstream decoder, FGT | |
64 | { &DXVA2_ModeMPEG2_IDCT, _T("MPEG-2 IDCT") }, | MPEG-2 IDCT | |
65 | { &DXVA2_ModeMPEG2_MoComp, _T("MPEG-2 motion compensation") }, | MPEG-2 motion compensation | |
66 | { &DXVA2_ModeMPEG2_VLD, _T("MPEG-2 variable-length decoder") }, | MPEG-2 variable-length decoder | |
67 | { &DXVA_ModeMPEG2_A, _T("MPEG-2 A") }, // TODO : find label !!! | MPEG-2 A | |
68 | { &DXVA_ModeMPEG2_B, _T("MPEG-2 B") }, | MPEG-2 B | |
69 | { &DXVA_ModeMPEG2_C, _T("MPEG-2 IDCT") }, | MPEG-2 IDCT | |
70 | { &DXVA_ModeMPEG2_D, _T("MPEG-2 D") }, | MPEG-2 D | |
71 | { &DXVA2_ModeVC1_A, _T("VC-1 post processing") }, | VC-1 post processing | |
72 | { &DXVA2_ModeVC1_B, _T("VC-1 motion compensation") }, | VC-1 motion compensation | |
73 | { &DXVA2_ModeVC1_C, _T("VC-1 IDCT") }, | VC-1 IDCT | |
74 | { &DXVA2_ModeVC1_D, _T("VC-1 bitstream decoder") }, | VC-1 bitstream decoder | |
75 | { &DXVA2_ModeWMV8_A, _T("WMV 8 post processing.") }, | WMV 8 post processing. | |
76 | { &DXVA2_ModeWMV8_B, _T("WMV8 motion compensation") }, | WMV8 motion compensation | |
77 | { &DXVA2_ModeWMV9_A, _T("WMV9 post processing") }, | WMV9 post processing | |
78 | { &DXVA2_ModeWMV9_B, _T("WMV9 motion compensation") }, | WMV9 motion compensation | |
79 | { &DXVA2_ModeWMV9_C, _T("WMV9 IDCT") }, | WMV9 IDCT | |
91 | { D3DFMT_UNKNOWN , _T("D3DFMT_UNKNOWN ") }, | D3DFMT_UNKNOWN | |
92 | { D3DFMT_R8G8B8 , _T("D3DFMT_R8G8B8 ") }, | D3DFMT_R8G8B8 | |
93 | { D3DFMT_A8R8G8B8 , _T("D3DFMT_A8R8G8B8 ") }, | D3DFMT_A8R8G8B8 | |
94 | { D3DFMT_X8R8G8B8 , _T("D3DFMT_X8R8G8B8 ") }, | D3DFMT_X8R8G8B8 | |
95 | { D3DFMT_R5G6B5 , _T("D3DFMT_R5G6B5 ") }, | D3DFMT_R5G6B5 | |
96 | { D3DFMT_X1R5G5B5 , _T("D3DFMT_X1R5G5B5 ") }, | D3DFMT_X1R5G5B5 | |
97 | { D3DFMT_A1R5G5B5 , _T("D3DFMT_A1R5G5B5 ") }, | D3DFMT_A1R5G5B5 | |
98 | { D3DFMT_A4R4G4B4 , _T("D3DFMT_A4R4G4B4 ") }, | D3DFMT_A4R4G4B4 | |
99 | { D3DFMT_R3G3B2 , _T("D3DFMT_R3G3B2 ") }, | D3DFMT_R3G3B2 | |
100 | { D3DFMT_A8 , _T("D3DFMT_A8 ") }, | D3DFMT_A8 | |
101 | { D3DFMT_A8R3G3B2 , _T("D3DFMT_A8R3G3B2 ") }, | D3DFMT_A8R3G3B2 | |
102 | { D3DFMT_X4R4G4B4 , _T("D3DFMT_X4R4G4B4 ") }, | D3DFMT_X4R4G4B4 | |
103 | { D3DFMT_A2B10G10R10 , _T("D3DFMT_A2B10G10R10 ") }, | D3DFMT_A2B10G10R10 | |
104 | { D3DFMT_A8B8G8R8 , _T("D3DFMT_A8B8G8R8 ") }, | D3DFMT_A8B8G8R8 | |
105 | { D3DFMT_X8B8G8R8 , _T("D3DFMT_X8B8G8R8 ") }, | D3DFMT_X8B8G8R8 | |
106 | { D3DFMT_G16R16 , _T("D3DFMT_G16R16 ") }, | D3DFMT_G16R16 | |
107 | { D3DFMT_A2R10G10B10 , _T("D3DFMT_A2R10G10B10 ") }, | D3DFMT_A2R10G10B10 | |
108 | { D3DFMT_A16B16G16R16 , _T("D3DFMT_A16B16G16R16 ") }, | D3DFMT_A16B16G16R16 | |
109 | { D3DFMT_A8P8 , _T("D3DFMT_A8P8 ") }, | D3DFMT_A8P8 | |
110 | { D3DFMT_P8 , _T("D3DFMT_P8 ") }, | D3DFMT_P8 | |
111 | { D3DFMT_L8 , _T("D3DFMT_L8 ") }, | D3DFMT_L8 | |
112 | { D3DFMT_A8L8 , _T("D3DFMT_A8L8 ") }, | D3DFMT_A8L8 | |
113 | { D3DFMT_A4L4 , _T("D3DFMT_A4L4 ") }, | D3DFMT_A4L4 | |
114 | { D3DFMT_X8L8V8U8 , _T("D3DFMT_X8L8V8U8 ") }, | D3DFMT_X8L8V8U8 | |
115 | { D3DFMT_Q8W8V8U8 , _T("D3DFMT_Q8W8V8U8 ") }, | D3DFMT_Q8W8V8U8 | |
116 | { D3DFMT_V16U16 , _T("D3DFMT_V16U16 ") }, | D3DFMT_V16U16 | |
117 | { D3DFMT_A2W10V10U10 , _T("D3DFMT_A2W10V10U10 ") }, | D3DFMT_A2W10V10U10 | |
118 | { D3DFMT_UYVY , _T("D3DFMT_UYVY ") }, | D3DFMT_UYVY | |
119 | { D3DFMT_R8G8_B8G8 , _T("D3DFMT_R8G8_B8G8 ") }, | D3DFMT_R8G8_B8G8 | |
120 | { D3DFMT_YUY2 , _T("D3DFMT_YUY2 ") }, | D3DFMT_YUY2 | |
121 | { D3DFMT_G8R8_G8B8 , _T("D3DFMT_G8R8_G8B8 ") }, | D3DFMT_G8R8_G8B8 | |
122 | { D3DFMT_DXT1 , _T("D3DFMT_DXT1 ") }, | D3DFMT_DXT1 | |
123 | { D3DFMT_DXT2 , _T("D3DFMT_DXT2 ") }, | D3DFMT_DXT2 | |
124 | { D3DFMT_DXT3 , _T("D3DFMT_DXT3 ") }, | D3DFMT_DXT3 | |
125 | { D3DFMT_DXT4 , _T("D3DFMT_DXT4 ") }, | D3DFMT_DXT4 | |
126 | { D3DFMT_DXT5 , _T("D3DFMT_DXT5 ") }, | D3DFMT_DXT5 | |
127 | { D3DFMT_D16_LOCKABLE , _T("D3DFMT_D16_LOCKABLE ") }, | D3DFMT_D16_LOCKABLE | |
128 | { D3DFMT_D32 , _T("D3DFMT_D32 ") }, | D3DFMT_D32 | |
129 | { D3DFMT_D15S1 , _T("D3DFMT_D15S1 ") }, | D3DFMT_D15S1 | |
130 | { D3DFMT_D24S8 , _T("D3DFMT_D24S8 ") }, | D3DFMT_D24S8 | |
131 | { D3DFMT_D24X8 , _T("D3DFMT_D24X8 ") }, | D3DFMT_D24X8 | |
132 | { D3DFMT_D24X4S4 , _T("D3DFMT_D24X4S4 ") }, | D3DFMT_D24X4S4 | |
133 | { D3DFMT_D16 , _T("D3DFMT_D16 ") }, | D3DFMT_D16 | |
134 | { D3DFMT_D32F_LOCKABLE , _T("D3DFMT_D32F_LOCKABLE") }, | D3DFMT_D32F_LOCKABLE | |
135 | { D3DFMT_D24FS8 , _T("D3DFMT_D24FS8 ") }, | D3DFMT_D24FS8 | |
136 | { D3DFMT_L16 , _T("D3DFMT_L16 ") }, | D3DFMT_L16 | |
137 | { D3DFMT_VERTEXDATA , _T("D3DFMT_VERTEXDATA ") }, | D3DFMT_VERTEXDATA | |
138 | { D3DFMT_INDEX16 , _T("D3DFMT_INDEX16 ") }, | D3DFMT_INDEX16 | |
139 | { D3DFMT_INDEX32 , _T("D3DFMT_INDEX32 ") }, | D3DFMT_INDEX32 | |
140 | { D3DFMT_Q16W16V16U16 , _T("D3DFMT_Q16W16V16U16 ") }, | D3DFMT_Q16W16V16U16 | |
142 | { MAKEFOURCC('N','V','1','2') , _T("D3DFMT_NV12") }, | D3DFMT_NV12 | |
143 | { MAKEFOURCC('N','V','2','4') , _T("D3DFMT_NV24") }, | D3DFMT_NV24 | |
146 | const LPCTSTR DXVAVersion[] = { _T("DXVA "), _T("DXVA1"), _T("DXVA2") }; | DXVA | |
| | DXVA1 | |
| | DXVA2 | |
284 | if(FILE* f = _tfopen(FileName, _T("at"))) | at | |
287 | _ftprintf(f, _T("%s\n"), buff); | %s\n | |
303 | if(FILE* f = _tfopen(LOG_FILE, _T("at"))) | at | |
306 | _ftprintf(f, _T("%s\n"), buff); | %s\n | |
317 | LOG(_T("%s[%d].dwSize = %d"), prefix, i, p[i].dwSize); | %s[%d].dwSize = %d | |
318 | LOG(_T("%s[%d].dwFlags = %08x"), prefix, i, p[i].dwFlags); | %s[%d].dwFlags = %08x | |
319 | LOG(_T("%s[%d].dwFourCC = %4.4hs"), prefix, i, &p[i].dwFourCC); | %s[%d].dwFourCC = %4.4hs | |
320 | LOG(_T("%s[%d].dwRGBBitCount = %08x"), prefix, i, &p[i].dwRGBBitCount); | %s[%d].dwRGBBitCount = %08x | |
321 | LOG(_T("%s[%d].dwRBitMask = %08x"), prefix, i, &p[i].dwRBitMask); | %s[%d].dwRBitMask = %08x | |
322 | LOG(_T("%s[%d].dwGBitMask = %08x"), prefix, i, &p[i].dwGBitMask); | %s[%d].dwGBitMask = %08x | |
323 | LOG(_T("%s[%d].dwBBitMask = %08x"), prefix, i, &p[i].dwBBitMask); | %s[%d].dwBBitMask = %08x | |
324 | LOG(_T("%s[%d].dwRGBAlphaBitMask = %08x"), prefix, i, &p[i].dwRGBAlphaBitMask); | %s[%d].dwRGBAlphaBitMask = %08x | |
332 | LOG(_T("%s[%d].dwUncompWidth = %d"), prefix, i, p[i].dwUncompWidth); | %s[%d].dwUncompWidth = %d | |
333 | LOG(_T("%s[%d].dwUncompHeight = %d"), prefix, i, p[i].dwUncompHeight); | %s[%d].dwUncompHeight = %d | |
336 | prefix2.Format(_T("%s[%d]"), prefix, i); | %s[%d] | |
349 | LOG_TOFILE (_T("picture.log"), _T("wFrameWidthInMbsMinus1,wFrameHeightInMbsMinus1,CurrPic.AssociatedFlag,CurrPic.bPicEntry,CurrPic.Index7Bits,num_ref_frames,wBitFields,bit_depth_luma_minus8,bit_depth_chroma_minus8,Reserved16Bits,StatusReportFeedbackNumber,RFL.AssociatedFlag[0],RFL.bPicEntry[0],RFL.Index7Bits[0],") \ | picture.log | |
| | wFrameWidthInMbsMinus1,wFrameHeightInMbsMinus1,CurrPic.AssociatedFlag,CurrPic.bPicEntry,CurrPic.Index7Bits,num_ref_frames,wBitFields,bit_depth_luma_minus8,bit_depth_chroma_minus8,Reserved16Bits,StatusReportFeedbackNumber,RFL.AssociatedFlag[0],RFL.bPicEntry[0],RFL.Index7Bits[0], | |
350 | _T("RFL.AssociatedFlag[1],RFL.bPicEntry[1],RFL.Index7Bits[1],RFL.AssociatedFlag[2],RFL.bPicEntry[2],RFL.Index7Bits[2],RFL.AssociatedFlag[3],RFL.bPicEntry[3],RFL.Index7Bits[3],RFL.AssociatedFlag[4],RFL.bPicEntry[4],RFL.Index7Bits[4],RFL.AssociatedFlag[5],RFL.bPicEntry[5],RFL.Index7Bits[5],") \ | RFL.AssociatedFlag[1],RFL.bPicEntry[1],RFL.Index7Bits[1],RFL.AssociatedFlag[2],RFL.bPicEntry[2],RFL.Index7Bits[2],RFL.AssociatedFlag[3],RFL.bPicEntry[3],RFL.Index7Bits[3],RFL.AssociatedFlag[4],RFL.bPicEntry[4],RFL.Index7Bits[4],RFL.AssociatedFlag[5],RFL.bPicEntry[5],RFL.Index7Bits[5], | |
351 | _T("RFL.AssociatedFlag[6],RFL.bPicEntry[6],RFL.Index7Bits[6],RFL.AssociatedFlag[7],RFL.bPicEntry[7],RFL.Index7Bits[7],RFL.AssociatedFlag[8],RFL.bPicEntry[8],RFL.Index7Bits[8],RFL.AssociatedFlag[9],RFL.bPicEntry[9],RFL.Index7Bits[9],RFL.AssociatedFlag[10],RFL.bPicEntry[10],RFL.Index7Bits[10],") \ | RFL.AssociatedFlag[6],RFL.bPicEntry[6],RFL.Index7Bits[6],RFL.AssociatedFlag[7],RFL.bPicEntry[7],RFL.Index7Bits[7],RFL.AssociatedFlag[8],RFL.bPicEntry[8],RFL.Index7Bits[8],RFL.AssociatedFlag[9],RFL.bPicEntry[9],RFL.Index7Bits[9],RFL.AssociatedFlag[10],RFL.bPicEntry[10],RFL.Index7Bits[10], | |
352 | _T("RFL.AssociatedFlag[11],RFL.bPicEntry[11],RFL.Index7Bits[11],RFL.AssociatedFlag[12],RFL.bPicEntry[12],RFL.Index7Bits[12],RFL.AssociatedFlag[13],RFL.bPicEntry[13],RFL.Index7Bits[13],RFL.AssociatedFlag[14],RFL.bPicEntry[14],RFL.Index7Bits[14],RFL.AssociatedFlag[15],RFL.bPicEntry[15],RFL.Index7Bits[15],") \ | RFL.AssociatedFlag[11],RFL.bPicEntry[11],RFL.Index7Bits[11],RFL.AssociatedFlag[12],RFL.bPicEntry[12],RFL.Index7Bits[12],RFL.AssociatedFlag[13],RFL.bPicEntry[13],RFL.Index7Bits[13],RFL.AssociatedFlag[14],RFL.bPicEntry[14],RFL.Index7Bits[14],RFL.AssociatedFlag[15],RFL.bPicEntry[15],RFL.Index7Bits[15], | |
353 | _T("CurrFieldOrderCnt[0], CurrFieldOrderCnt[1],FieldOrderCntList[0][0], FieldOrderCntList[0][1],FieldOrderCntList[1][0], FieldOrderCntList[1][1],FieldOrderCntList[2][0], FieldOrderCntList[2][1],FieldOrderCntList[3][0], FieldOrderCntList[3][1],FieldOrderCntList[4][0], FieldOrderCntList[4][1],FieldOrderCntList[5][0],") \ | CurrFieldOrderCnt[0], CurrFieldOrderCnt[1],FieldOrderCntList[0][0], FieldOrderCntList[0][1],FieldOrderCntList[1][0], FieldOrderCntList[1][1],FieldOrderCntList[2][0], FieldOrderCntList[2][1],FieldOrderCntList[3][0], FieldOrderCntList[3][1],FieldOrderCntList[4][0], FieldOrderCntList[4][1],FieldOrderCntList[5][0], | |
354 | _T("FieldOrderCntList[5][1],FieldOrderCntList[6][0], FieldOrderCntList[6][1],FieldOrderCntList[7][0], FieldOrderCntList[7][1],FieldOrderCntList[8][0], FieldOrderCntList[8][1],FieldOrderCntList[9][0], FieldOrderCntList[9][1],FieldOrderCntList[10][0], FieldOrderCntList[10][1],FieldOrderCntList[11][0],")\ | FieldOrderCntList[5][1],FieldOrderCntList[6][0], FieldOrderCntList[6][1],FieldOrderCntList[7][0], FieldOrderCntList[7][1],FieldOrderCntList[8][0], FieldOrderCntList[8][1],FieldOrderCntList[9][0], FieldOrderCntList[9][1],FieldOrderCntList[10][0], FieldOrderCntList[10][1],FieldOrderCntList[11][0], | |
355 | _T("FieldOrderCntList[11][1],FieldOrderCntList[12][0], FieldOrderCntList[12][1],FieldOrderCntList[13][0], FieldOrderCntList[13][1],FieldOrderCntList[14][0], FieldOrderCntList[14][1],FieldOrderCntList[15][0], FieldOrderCntList[15][1],pic_init_qs_minus26,chroma_qp_index_offset,second_chroma_qp_index_offset,")\ | FieldOrderCntList[11][1],FieldOrderCntList[12][0], FieldOrderCntList[12][1],FieldOrderCntList[13][0], FieldOrderCntList[13][1],FieldOrderCntList[14][0], FieldOrderCntList[14][1],FieldOrderCntList[15][0], FieldOrderCntList[15][1],pic_init_qs_minus26,chroma_qp_index_offset,second_chroma_qp_index_offset, | |
356 | _T("ContinuationFlag,pic_init_qp_minus26,num_ref_idx_l0_active_minus1,num_ref_idx_l1_active_minus1,Reserved8BitsA,FrameNumList[0],FrameNumList[1],FrameNumList[2],FrameNumList[3],FrameNumList[4],FrameNumList[5],FrameNumList[6],FrameNumList[7],FrameNumList[8],FrameNumList[9],FrameNumList[10],FrameNumList[11],")\ | ContinuationFlag,pic_init_qp_minus26,num_ref_idx_l0_active_minus1,num_ref_idx_l1_active_minus1,Reserved8BitsA,FrameNumList[0],FrameNumList[1],FrameNumList[2],FrameNumList[3],FrameNumList[4],FrameNumList[5],FrameNumList[6],FrameNumList[7],FrameNumList[8],FrameNumList[9],FrameNumList[10],FrameNumList[11], | |
357 | _T("FrameNumList[12],FrameNumList[13],FrameNumList[14],FrameNumList[15],UsedForReferenceFlags,NonExistingFrameFlags,frame_num,log2_max_frame_num_minus4,pic_order_cnt_type,log2_max_pic_order_cnt_lsb_minus4,delta_pic_order_always_zero_flag,direct_8x8_inference_flag,entropy_coding_mode_flag,pic_order_present_flag,")\ | FrameNumList[12],FrameNumList[13],FrameNumList[14],FrameNumList[15],UsedForReferenceFlags,NonExistingFrameFlags,frame_num,log2_max_frame_num_minus4,pic_order_cnt_type,log2_max_pic_order_cnt_lsb_minus4,delta_pic_order_always_zero_flag,direct_8x8_inference_flag,entropy_coding_mode_flag,pic_order_present_flag, | |
358 | _T("num_slice_groups_minus1,slice_group_map_type,deblocking_filter_control_present_flag,redundant_pic_cnt_present_flag,Reserved8BitsB,slice_group_change_rate_minus1")); | num_slice_groups_minus1,slice_group_map_type,deblocking_filter_control_present_flag,redundant_pic_cnt_present_flag,Reserved8BitsB,slice_group_change_rate_minus1 | |
363 | strRes.AppendFormat(_T("%d,"), pPic->wFrameWidthInMbsMinus1); | %d, | |
364 | strRes.AppendFormat(_T("%d,"), pPic->wFrameHeightInMbsMinus1); | %d, | |
367 | strRes.AppendFormat(_T("%d,"), pPic->CurrPic.AssociatedFlag); | %d, | |
368 | strRes.AppendFormat(_T("%d,"), pPic->CurrPic.bPicEntry); | %d, | |
369 | strRes.AppendFormat(_T("%d,"), pPic->CurrPic.Index7Bits); | %d, | |
372 | strRes.AppendFormat(_T("%d,"), pPic->num_ref_frames); | %d, | |
373 | strRes.AppendFormat(_T("%d,"), pPic->wBitFields); | %d, | |
374 | strRes.AppendFormat(_T("%d,"), pPic->bit_depth_luma_minus8); | %d, | |
375 | strRes.AppendFormat(_T("%d,"), pPic->bit_depth_chroma_minus8); | %d, | |
377 | strRes.AppendFormat(_T("%d,"), pPic->Reserved16Bits); | %d, | |
378 | strRes.AppendFormat(_T("%d,"), pPic->StatusReportFeedbackNumber); | %d, | |
382 | strRes.AppendFormat(_T("%d,"), pPic->RefFrameList[i].AssociatedFlag); | %d, | |
383 | strRes.AppendFormat(_T("%d,"), pPic->RefFrameList[i].bPicEntry); | %d, | |
384 | strRes.AppendFormat(_T("%d,"), pPic->RefFrameList[i].Index7Bits); | %d, | |
387 | strRes.AppendFormat(_T("%d, %d,"), pPic->CurrFieldOrderCnt[0], pPic->CurrFieldOrderCnt[1]); | %d, %d, | |
390 | strRes.AppendFormat(_T("%d, %d,"), pPic->FieldOrderCntList[i][0], pPic->FieldOrderCntList[i][1]); | %d, %d, | |
391 | // strRes.AppendFormat(_T("%d,"), pPic->FieldOrderCntList[16][2]); | %d, | |
393 | strRes.AppendFormat(_T("%d,"), pPic->pic_init_qs_minus26); | %d, | |
394 | strRes.AppendFormat(_T("%d,"), pPic->chroma_qp_index_offset); /* also used for QScb */ | %d, | |
395 | strRes.AppendFormat(_T("%d,"), pPic->second_chroma_qp_index_offset); /* also for QScr */ | %d, | |
396 | strRes.AppendFormat(_T("%d,"), pPic->ContinuationFlag); | %d, | |
399 | strRes.AppendFormat(_T("%d,"), pPic->pic_init_qp_minus26); | %d, | |
400 | strRes.AppendFormat(_T("%d,"), pPic->num_ref_idx_l0_active_minus1); | %d, | |
401 | strRes.AppendFormat(_T("%d,"), pPic->num_ref_idx_l1_active_minus1); | %d, | |
402 | strRes.AppendFormat(_T("%d,"), pPic->Reserved8BitsA); | %d, | |
405 | strRes.AppendFormat(_T("%d,"), pPic->FrameNumList[i]); | %d, | |
407 | // strRes.AppendFormat(_T("%d,"), pPic->FrameNumList[16]); | %d, | |
408 | strRes.AppendFormat(_T("%d,"), pPic->UsedForReferenceFlags); | %d, | |
409 | strRes.AppendFormat(_T("%d,"), pPic->NonExistingFrameFlags); | %d, | |
410 | strRes.AppendFormat(_T("%d,"), pPic->frame_num); | %d, | |
412 | strRes.AppendFormat(_T("%d,"), pPic->log2_max_frame_num_minus4); | %d, | |
413 | strRes.AppendFormat(_T("%d,"), pPic->pic_order_cnt_type); | %d, | |
414 | strRes.AppendFormat(_T("%d,"), pPic->log2_max_pic_order_cnt_lsb_minus4); | %d, | |
415 | strRes.AppendFormat(_T("%d,"), pPic->delta_pic_order_always_zero_flag); | %d, | |
417 | strRes.AppendFormat(_T("%d,"), pPic->direct_8x8_inference_flag); | %d, | |
418 | strRes.AppendFormat(_T("%d,"), pPic->entropy_coding_mode_flag); | %d, | |
419 | strRes.AppendFormat(_T("%d,"), pPic->pic_order_present_flag); | %d, | |
420 | strRes.AppendFormat(_T("%d,"), pPic->num_slice_groups_minus1); | %d, | |
422 | strRes.AppendFormat(_T("%d,"), pPic->slice_group_map_type); | %d, | |
423 | strRes.AppendFormat(_T("%d,"), pPic->deblocking_filter_control_present_flag); | %d, | |
424 | strRes.AppendFormat(_T("%d,"), pPic->redundant_pic_cnt_present_flag); | %d, | |
425 | strRes.AppendFormat(_T("%d,"), pPic->Reserved8BitsB); | %d, | |
427 | strRes.AppendFormat(_T("%d,"), pPic->slice_group_change_rate_minus1); | %d, | |
430 | // strRes.AppendFormat(_T("%d,"), pPic->SliceGroupMap[i]); | %d, | |
431 | // strRes.AppendFormat(_T("%d,"), pPic->SliceGroupMap[810]); | %d, | |
450 | LOG_TOFILE (_T("picture.log"), strRes); | picture.log | |
459 | LOG_TOFILE (_T("picture.log"), _T("wDecodedPictureIndex,wDeblockedPictureIndex,wForwardRefPictureIndex,wBackwardRefPictureIndex,wPicWidthInMBminus1,wPicHeightInMBminus1,bMacroblockWidthMinus1,bMacroblockHeightMinus1,bBlockWidthMinus1,bBlockHeightMinus1,bBPPminus1,bPicStructure,bSecondField,bPicIntra,bPicBackwardPrediction,bBidirectionalAveragingMode,bMVprecisionAndChromaRelation,bChromaFormat,bPicScanFixed,bPicScanMethod,bPicReadbackRequests,bRcontrol,bPicSpatialResid8,bPicOverflowBlocks,bPicExtrapolation,bPicDeblocked,bPicDeblockConfined,bPic4MVallowed,bPicOBMC,bPicBinPB,bMV_RPS,bReservedBits,wBitstreamFcodes,wBitstreamPCEelements,bBitstreamConcealmentNeed,bBitstreamConcealmentMethod")); | picture.log | |
| | wDecodedPictureIndex,wDeblockedPictureIndex,wForwardRefPictureIndex,wBackwardRefPictureIndex,wPicWidthInMBminus1,wPicHeightInMBminus1,bMacroblockWidthMinus1,bMacroblockHeightMinus1,bBlockWidthMinus1,bBlockHeightMinus1,bBPPminus1,bPicStructure,bSecondField,bPicIntra,bPicBackwardPrediction,bBidirectionalAveragingMode,bMVprecisionAndChromaRelation,bChromaFormat,bPicScanFixed,bPicScanMethod,bPicReadbackRequests,bRcontrol,bPicSpatialResid8,bPicOverflowBlocks,bPicExtrapolation,bPicDeblocked,bPicDeblockConfined,bPic4MVallowed,bPicOBMC,bPicBinPB,bMV_RPS,bReservedBits,wBitstreamFcodes,wBitstreamPCEelements,bBitstreamConcealmentNeed,bBitstreamConcealmentMethod | |
462 | strRes.Format (_T("%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d"), | %d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d | |
500 | LOG_TOFILE (_T("picture.log"), strRes); | picture.log | |
514 | LOG(_T("\nGetVideoAcceleratorGUIDs")); | \nGetVideoAcceleratorGUIDs | |
518 | LOG(_T("[in] *pdwNumGuidsSupported = %d"), *pdwNumGuidsSupported); | [in] *pdwNumGuidsSupported = %d | |
523 | LOG(_T("hr = %08x"), hr); | hr = %08x | |
527 | LOG(_T("[out] *pdwNumGuidsSupported = %d"), *pdwNumGuidsSupported); | [out] *pdwNumGuidsSupported = %d | |
533 | LOG(_T("[out] pGuidsSupported[%d] = %s"), i, CStringFromGUID(pGuidsSupported[i])); | [out] pGuidsSupported[%d] = %s | |
543 | LOG(_T("\nGetUncompFormatsSupported")); | \nGetUncompFormatsSupported | |
547 | LOG(_T("[in] *pGuid = %s"), CStringFromGUID(*pGuid)); | [in] *pGuid = %s | |
552 | LOG(_T("[in] *pdwNumFormatsSupported = %d"), *pdwNumFormatsSupported); | [in] *pdwNumFormatsSupported = %d | |
557 | LOG(_T("hr = %08x"), hr); | hr = %08x | |
561 | LOG(_T("[out] *pdwNumFormatsSupported = %d"), *pdwNumFormatsSupported); | [out] *pdwNumFormatsSupported = %d | |
565 | LOGPF(_T("[out] pFormatsSupported"), pFormatsSupported, *pdwNumFormatsSupported); | [out] pFormatsSupported | |
574 | LOG(_T("\nGetInternalMemInfo")); | \nGetInternalMemInfo | |
578 | LOG(_T("hr = %08x"), hr); | hr = %08x | |
585 | LOG(_T("\nGetCompBufferInfo")); | \nGetCompBufferInfo | |
592 | LOG(_T("[in] *pGuid = %s"), CStringFromGUID(*pGuid)); | [in] *pGuid = %s | |
596 | LOG(_T("[in] *pdwNumTypesCompBuffers = %d"), *pdwNumTypesCompBuffers); | [in] *pdwNumTypesCompBuffers = %d | |
602 | LOG(_T("hr = %08x"), hr); | hr = %08x | |
606 | // LOG(_T("[out] *pdwNumTypesCompBuffers = %d"), *pdwNumTypesCompBuffers); | [out] *pdwNumTypesCompBuffers = %d | |
610 | // LOGUDI(_T("[out] pamvaUncompDataInfo"), pamvaUncompDataInfo, *pdwNumTypesCompBuffers); | [out] pamvaUncompDataInfo | |
619 | LOG(_T("\nGetInternalCompBufferInfo")); | \nGetInternalCompBufferInfo | |
623 | LOG(_T("hr = %08x"), hr); | hr = %08x | |
630 | LOG(_T("\nBeginFrame")); | \nBeginFrame | |
634 | LOG(_T("[in] amvaBeginFrameInfo->dwDestSurfaceIndex = %08x"), amvaBeginFrameInfo->dwDestSurfaceIndex); | [in] amvaBeginFrameInfo->dwDestSurfaceIndex = %08x | |
635 | LOG(_T("[in] amvaBeginFrameInfo->pInputData = %08x"), amvaBeginFrameInfo->pInputData); | [in] amvaBeginFrameInfo->pInputData = %08x | |
636 | LOG(_T("[in] amvaBeginFrameInfo->dwSizeInputData = %08x"), amvaBeginFrameInfo->dwSizeInputData); | [in] amvaBeginFrameInfo->dwSizeInputData = %08x | |
637 | LOG(_T("[in] amvaBeginFrameInfo->pOutputData = %08x"), amvaBeginFrameInfo->pOutputData); | [in] amvaBeginFrameInfo->pOutputData = %08x | |
638 | LOG(_T("[in] amvaBeginFrameInfo->dwSizeOutputData = %08x"), amvaBeginFrameInfo->dwSizeOutputData); | [in] amvaBeginFrameInfo->dwSizeOutputData = %08x | |
642 | LOG(_T("[in] amvaBeginFrameInfo->pInputData => dwDestSurfaceIndex = %ld "), | [in] amvaBeginFrameInfo->pInputData => dwDestSurfaceIndex = %ld | |
649 | LOG(_T("hr = %08x"), hr); | hr = %08x | |
656 | LOG(_T("\nEndFrame")); | \nEndFrame | |
660 | LOG(_T("[in] pEndFrameInfo->dwSizeMiscData = %08x"), pEndFrameInfo->dwSizeMiscData); | [in] pEndFrameInfo->dwSizeMiscData = %08x | |
661 | LOG(_T("[in] pEndFrameInfo->pMiscData = %08x"), pEndFrameInfo->pMiscData); | [in] pEndFrameInfo->pMiscData = %08x | |
664 | LOG(_T("[out] pEndFrameInfo->pMiscData = %02x %02x %02x %02x "), | [out] pEndFrameInfo->pMiscData = %02x %02x %02x %02x | |
674 | LOG(_T("hr = %08x"), hr); | hr = %08x | |
684 | LOG(_T("\nGetBuffer")); | \nGetBuffer | |
686 | LOG(_T("[in] dwTypeIndex = %08x"), dwTypeIndex); | [in] dwTypeIndex = %08x | |
687 | LOG(_T("[in] dwBufferIndex = %08x"), dwBufferIndex); | [in] dwBufferIndex = %08x | |
688 | LOG(_T("[in] bReadOnly = %08x"), bReadOnly); | [in] bReadOnly = %08x | |
689 | LOG(_T("[in] ppBuffer = %08x"), ppBuffer); | [in] ppBuffer = %08x | |
690 | LOG(_T("[out] *lpStride = %08x"), *lpStride); | [out] *lpStride = %08x | |
691 | LOG(_T("hr = %08x"), hr); | hr = %08x | |
694 | //LOG(_T("[out] *ppBuffer = %02x %02x %02x %02x ..."), ((BYTE*)*ppBuffer)[0], ((BYTE*)*ppBuffer)[1], ((BYTE*)*ppBuffer)[2], ((BYTE*)*ppBuffer)[3]); | [out] *ppBuffer = %02x %02x %02x %02x ... | |
701 | LOG(_T("\nReleaseBuffer")); | \nReleaseBuffer | |
703 | LOG(_T("[in] dwTypeIndex = %08x"), dwTypeIndex); | [in] dwTypeIndex = %08x | |
704 | LOG(_T("[in] dwBufferIndex = %08x"), dwBufferIndex); | [in] dwBufferIndex = %08x | |
708 | LOG(_T("hr = %08x"), hr); | hr = %08x | |
717 | LOG(_T("\nExecute")); | \nExecute | |
718 | LOG(_T("[in] dwFunction = %08x"), dwFunction); | [in] dwFunction = %08x | |
727 | LOG(_T("[in] lpPrivateInputData, buffer description %d"), i); | [in] lpPrivateInputData, buffer description %d | |
728 | LOG(_T(" pBuffDesc->dwTypeIndex = %d"), pBuffDesc[i].dwTypeIndex); | pBuffDesc->dwTypeIndex = %d | |
729 | LOG(_T(" pBuffDesc->dwBufferIndex = %d"), pBuffDesc[i].dwBufferIndex); | pBuffDesc->dwBufferIndex = %d | |
730 | LOG(_T(" pBuffDesc->dwDataOffset = %d"), pBuffDesc[i].dwDataOffset); | pBuffDesc->dwDataOffset = %d | |
731 | LOG(_T(" pBuffDesc->dwDataSize = %d"), pBuffDesc[i].dwDataSize); | pBuffDesc->dwDataSize = %d | |
732 | LOG(_T(" pBuffDesc->dwFirstMBaddress = %d"), pBuffDesc[i].dwFirstMBaddress); | pBuffDesc->dwFirstMBaddress = %d | |
733 | LOG(_T(" pBuffDesc->dwHeight = %d"), pBuffDesc[i].dwHeight); | pBuffDesc->dwHeight = %d | |
734 | LOG(_T(" pBuffDesc->dwStride = %d"), pBuffDesc[i].dwStride); | pBuffDesc->dwStride = %d | |
735 | LOG(_T(" pBuffDesc->dwWidth = %d"), pBuffDesc[i].dwWidth); | pBuffDesc->dwWidth = %d | |
736 | LOG(_T(" pBuffDesc->dwNumMBsInBuffer = %d"), pBuffDesc[i].dwNumMBsInBuffer); | pBuffDesc->dwNumMBsInBuffer = %d | |
737 | LOG(_T(" pBuffDesc->dwReservedBits = %d"), pBuffDesc[i].dwReservedBits); | pBuffDesc->dwReservedBits = %d | |
743 | LOG(_T("[in] lpPrivateInputData, config requested")); | [in] lpPrivateInputData, config requested | |
744 | LOG(_T(" pBuffDesc->dwTypeIndex = %d"), ConfigRequested->bConfig4GroupedCoefs); | pBuffDesc->dwTypeIndex = %d | |
745 | LOG(_T(" ConfigRequested->bConfigBitstreamRaw = %d"), ConfigRequested->bConfigBitstreamRaw); | ConfigRequested->bConfigBitstreamRaw = %d | |
746 | LOG(_T(" ConfigRequested->bConfigHostInverseScan = %d"), ConfigRequested->bConfigHostInverseScan); | ConfigRequested->bConfigHostInverseScan = %d | |
747 | LOG(_T(" ConfigRequested->bConfigIntraResidUnsigned = %d"), ConfigRequested->bConfigIntraResidUnsigned); | ConfigRequested->bConfigIntraResidUnsigned = %d | |
748 | LOG(_T(" ConfigRequested->bConfigMBcontrolRasterOrder = %d"), ConfigRequested->bConfigMBcontrolRasterOrder); | ConfigRequested->bConfigMBcontrolRasterOrder = %d | |
749 | LOG(_T(" ConfigRequested->bConfigResid8Subtraction = %d"), ConfigRequested->bConfigResid8Subtraction); | ConfigRequested->bConfigResid8Subtraction = %d | |
750 | LOG(_T(" ConfigRequested->bConfigResidDiffAccelerator = %d"), ConfigRequested->bConfigResidDiffAccelerator); | ConfigRequested->bConfigResidDiffAccelerator = %d | |
751 | LOG(_T(" ConfigRequested->bConfigResidDiffHost = %d"), ConfigRequested->bConfigResidDiffHost); | ConfigRequested->bConfigResidDiffHost = %d | |
752 | LOG(_T(" ConfigRequested->bConfigSpatialHost8or9Clipping= %d"), ConfigRequested->bConfigSpatialHost8or9Clipping); | ConfigRequested->bConfigSpatialHost8or9Clipping= %d | |
753 | LOG(_T(" ConfigRequested->bConfigSpatialResid8 = %d"), ConfigRequested->bConfigSpatialResid8); | ConfigRequested->bConfigSpatialResid8 = %d | |
754 | LOG(_T(" ConfigRequested->bConfigSpatialResidInterleaved= %d"), ConfigRequested->bConfigSpatialResidInterleaved); | ConfigRequested->bConfigSpatialResidInterleaved= %d | |
755 | LOG(_T(" ConfigRequested->bConfigSpecificIDCT = %d"), ConfigRequested->bConfigSpecificIDCT); | ConfigRequested->bConfigSpecificIDCT = %d | |
756 | LOG(_T(" ConfigRequested->dwFunction = %d"), ConfigRequested->dwFunction); | ConfigRequested->dwFunction = %d | |
757 | LOG(_T(" ConfigRequested->guidConfigBitstreamEncryption = %s"), CStringFromGUID (ConfigRequested->guidConfigBitstreamEncryption)); | ConfigRequested->guidConfigBitstreamEncryption = %s | |
758 | LOG(_T(" ConfigRequested->guidConfigMBcontrolEncryption = %s"), CStringFromGUID (ConfigRequested->guidConfigMBcontrolEncryption)); | ConfigRequested->guidConfigMBcontrolEncryption = %s | |
759 | LOG(_T(" ConfigRequested->guidConfigResidDiffEncryption = %s"), CStringFromGUID (ConfigRequested->guidConfigResidDiffEncryption)); | ConfigRequested->guidConfigResidDiffEncryption = %s | |
762 | LOG(_T("[in] lpPrivateInputData = %02x %02x %02x %02x ..."), | [in] lpPrivateInputData = %02x %02x %02x %02x ... | |
768 | LOG(_T("[in] cbPrivateInputData = %08x"), cbPrivateInputData); | [in] cbPrivateInputData = %08x | |
769 | LOG(_T("[in] lpPrivateOutputData = %08"), lpPrivateOutputData); | [in] lpPrivateOutputData = %08 | |
770 | LOG(_T("[in] cbPrivateOutputData = %08x"), cbPrivateOutputData); | [in] cbPrivateOutputData = %08x | |
771 | LOG(_T("[in] dwNumBuffers = %08x"), dwNumBuffers); | [in] dwNumBuffers = %08x | |
776 | LOG(_T("[in] pamvaBufferInfo, buffer description %d"), i); | [in] pamvaBufferInfo, buffer description %d | |
777 | LOG(_T("[in] pamvaBufferInfo->dwTypeIndex = %08x"), pamvaBufferInfo[i].dwTypeIndex); | [in] pamvaBufferInfo->dwTypeIndex = %08x | |
778 | LOG(_T("[in] pamvaBufferInfo->dwBufferIndex = %08x"), pamvaBufferInfo[i].dwBufferIndex); | [in] pamvaBufferInfo->dwBufferIndex = %08x | |
779 | LOG(_T("[in] pamvaBufferInfo->dwDataOffset = %08x"), pamvaBufferInfo[i].dwDataOffset); | [in] pamvaBufferInfo->dwDataOffset = %08x | |
780 | LOG(_T("[in] pamvaBufferInfo->dwDataSize = %08x"), pamvaBufferInfo[i].dwDataSize); | [in] pamvaBufferInfo->dwDataSize = %08x | |
816 | LOG(_T("hr = %08x"), hr); | hr = %08x | |
820 | LOG(_T("[out] *lpPrivateOutputData : Result = %08x"), ((DWORD*)lpPrivateOutputData)[0]); | [out] *lpPrivateOutputData : Result = %08x | |
830 | LOG(_T("\nQueryRenderStatus Type=%d Index=%d hr = %08x"), dwTypeIndex, dwBufferIndex, hr); | \nQueryRenderStatus Type=%d Index=%d hr = %08x | |
837 | LOG(_T("\nEnter DisplayFrame : %d"), dwFlipToIndex); | \nEnter DisplayFrame : %d | |
841 | LOG(_T("Leave DisplayFrame : hr = %08x"), hr); | Leave DisplayFrame : hr = %08x | |
886 | ::DeleteFile (_T("picture.log")); | picture.log | |
897 | LOG(_T("DecodeBufferDesc type : %d Size=%d NumMBsInBuffer=%d"), pDecodeBuff->CompressedBufferType, pDecodeBuff->DataSize, pDecodeBuff->NumMBsInBuffer); | DecodeBufferDesc type : %d Size=%d NumMBsInBuffer=%d | |
898 | //LOG(_T(" - BufferIndex %d"), pDecodeBuff->BufferIndex); | - BufferIndex %d | |
899 | //LOG(_T(" - DataOffset %d"), pDecodeBuff->DataOffset); | - DataOffset %d | |
900 | //LOG(_T(" - DataSize %d"), pDecodeBuff->DataSize); | - DataSize %d | |
901 | //LOG(_T(" - FirstMBaddress %d"), pDecodeBuff->FirstMBaddress); | - FirstMBaddress %d | |
902 | //LOG(_T(" - NumMBsInBuffer %d"), pDecodeBuff->NumMBsInBuffer); | - NumMBsInBuffer %d | |
903 | //LOG(_T(" - Width %d"), pDecodeBuff->Width); | - Width %d | |
904 | //LOG(_T(" - Height %d"), pDecodeBuff->Height); | - Height %d | |
905 | //LOG(_T(" - Stride %d"), pDecodeBuff->Stride); | - Stride %d | |
906 | //LOG(_T(" - ReservedBits %d"), pDecodeBuff->ReservedBits); | - ReservedBits %d | |
907 | //LOG(_T(" - pvPVPState %d"), pDecodeBuff->pvPVPState); | - pvPVPState %d | |
918 | CFaceDirectXVideoDecoder(LPUNKNOWN pUnk, IDirectXVideoDecoder* pDec) : CUnknown(_T("Fake DXVA2 Dec"), pUnk) | Fake DXVA2 Dec | |
926 | LOG(_T("CFaceDirectXVideoDecoder destroyed !\n")); | CFaceDirectXVideoDecoder destroyed !\n | |
942 | LOG(_T("IDirectXVideoDecoder::GetVideoDecoderService hr = %08x\n"), hr); | IDirectXVideoDecoder::GetVideoDecoderService hr = %08x\n | |
949 | LOG(_T("IDirectXVideoDecoder::GetCreationParameters hr = %08x\n"), hr); | IDirectXVideoDecoder::GetCreationParameters hr = %08x\n | |
963 | // LOG(_T("IDirectXVideoDecoder::GetBuffer Type = %d, hr = %08x"), BufferType, hr); | IDirectXVideoDecoder::GetBuffer Type = %d, hr = %08x | |
971 | // LOG(_T("IDirectXVideoDecoder::ReleaseBuffer Type = %d, hr = %08x"), BufferType, hr); | IDirectXVideoDecoder::ReleaseBuffer Type = %d, hr = %08x | |
978 | LOG(_T("IDirectXVideoDecoder::BeginFrame pRenderTarget = %08x, hr = %08x"), pRenderTarget, hr); | IDirectXVideoDecoder::BeginFrame pRenderTarget = %08x, hr = %08x | |
985 | LOG(_T("IDirectXVideoDecoder::EndFrame Handle=0x%08x hr = %08x\n"), pHandleComplete, hr); | IDirectXVideoDecoder::EndFrame Handle=0x%08x hr = %08x\n | |
998 | strBuffer.AppendFormat (_T("%02x "), m_ppBuffer[pExecuteParams->pCompressedBuffers[i].CompressedBufferType][j]); | %02x | |
1000 | LOG (_T(" - Buffer type=%d, offset=%d, size=%d"), | - Buffer type=%d, offset=%d, size=%d | |
1018 | LOG(_T(" - BSNALunitDataLocation %d"), pSlice->BSNALunitDataLocation); | - BSNALunitDataLocation %d | |
1019 | LOG(_T(" - SliceBytesInBuffer %d"), pSlice->SliceBytesInBuffer); | - SliceBytesInBuffer %d | |
1020 | LOG(_T(" - wBadSliceChopping %d"), pSlice->wBadSliceChopping); | - wBadSliceChopping %d | |
1063 | LOG(_T("IDirectXVideoDecoder::Execute %d buffer, fct = %d (in=%d, out=%d), hr = %08x"), | IDirectXVideoDecoder::Execute %d buffer, fct = %d (in=%d, out=%d), hr = %08x | |
1070 | LOG(_T("IDirectXVideoDecoder::Execute %d buffer, hr = %08x"), pExecuteParams->NumCompBuffers, hr); | IDirectXVideoDecoder::Execute %d buffer, hr = %08x | |
1130 | LOG(_T("Config")); | Config | |
1131 | LOG(_T(" - Config4GroupedCoefs %d"), pConfig->Config4GroupedCoefs); | - Config4GroupedCoefs %d | |
1132 | LOG(_T(" - ConfigBitstreamRaw %d"), pConfig->ConfigBitstreamRaw); | - ConfigBitstreamRaw %d | |
1133 | LOG(_T(" - ConfigDecoderSpecific %d"), pConfig->ConfigDecoderSpecific); | - ConfigDecoderSpecific %d | |
1134 | LOG(_T(" - ConfigHostInverseScan %d"), pConfig->ConfigHostInverseScan); | - ConfigHostInverseScan %d | |
1135 | LOG(_T(" - ConfigIntraResidUnsigned %d"), pConfig->ConfigIntraResidUnsigned); | - ConfigIntraResidUnsigned %d | |
1136 | LOG(_T(" - ConfigMBcontrolRasterOrder %d"), pConfig->ConfigMBcontrolRasterOrder); | - ConfigMBcontrolRasterOrder %d | |
1137 | LOG(_T(" - ConfigMinRenderTargetBuffCount %d"), pConfig->ConfigMinRenderTargetBuffCount); | - ConfigMinRenderTargetBuffCount %d | |
1138 | LOG(_T(" - ConfigResid8Subtraction %d"), pConfig->ConfigResid8Subtraction); | - ConfigResid8Subtraction %d | |
1139 | LOG(_T(" - ConfigResidDiffAccelerator %d"), pConfig->ConfigResidDiffAccelerator); | - ConfigResidDiffAccelerator %d | |
1140 | LOG(_T(" - ConfigResidDiffHost %d"), pConfig->ConfigResidDiffHost); | - ConfigResidDiffHost %d | |
1141 | LOG(_T(" - ConfigSpatialHost8or9Clipping %d"), pConfig->ConfigSpatialHost8or9Clipping); | - ConfigSpatialHost8or9Clipping %d | |
1142 | LOG(_T(" - ConfigSpatialResid8 %d"), pConfig->ConfigSpatialResid8); | - ConfigSpatialResid8 %d | |
1143 | LOG(_T(" - ConfigSpatialResidInterleaved %d"), pConfig->ConfigSpatialResidInterleaved); | - ConfigSpatialResidInterleaved %d | |
1144 | LOG(_T(" - ConfigSpecificIDCT %d"), pConfig->ConfigSpecificIDCT); | - ConfigSpecificIDCT %d | |
1145 | LOG(_T(" - guidConfigBitstreamEncryption %s"), CStringFromGUID(pConfig->guidConfigBitstreamEncryption)); | - guidConfigBitstreamEncryption %s | |
1146 | LOG(_T(" - guidConfigMBcontrolEncryption %s"), CStringFromGUID(pConfig->guidConfigMBcontrolEncryption)); | - guidConfigMBcontrolEncryption %s | |
1147 | LOG(_T(" - guidConfigResidDiffEncryption %s"), CStringFromGUID(pConfig->guidConfigResidDiffEncryption)); | - guidConfigResidDiffEncryption %s | |
1152 | LOG(_T("VideoDesc")); | VideoDesc | |
1153 | LOG(_T(" - Format %s (0x%08x)"), FindD3DFormat(pVideoDesc->Format), pVideoDesc->Format); | - Format %s (0x%08x) | |
1154 | LOG(_T(" - InputSampleFreq %d/%d"), pVideoDesc->InputSampleFreq.Numerator, pVideoDesc->InputSampleFreq.Denominator); | - InputSampleFreq %d/%d | |
1155 | LOG(_T(" - OutputFrameFreq %d/%d"), pVideoDesc->OutputFrameFreq.Numerator, pVideoDesc->OutputFrameFreq.Denominator); | - OutputFrameFreq %d/%d | |
1156 | LOG(_T(" - SampleFormat %d"), pVideoDesc->SampleFormat.value); | - SampleFormat %d | |
1157 | LOG(_T(" - SampleHeight %d"), pVideoDesc->SampleHeight); | - SampleHeight %d | |
1158 | LOG(_T(" - SampleWidth %d"), pVideoDesc->SampleWidth); | - SampleWidth %d | |
1159 | LOG(_T(" - UABProtectionLevel %d"), pVideoDesc->UABProtectionLevel); | - UABProtectionLevel %d | |
1174 | LOG (_T("=== New mode : %s"), GetDXVAMode (&pDecoderGuids[iGuid])); | === New mode : %s | |
1190 | LOG (_T("Direct 3D format : %s"), FindD3DFormat(pFormats[iFormat])); | Direct 3D format : %s | |
1236 | LOG(_T("\n\n")); | \n\n | |
1255 | LOG(_T(" - Surf %d : %08x"), i, ppDecoderRenderTargets[i]); | - Surf %d : %08x | |
1259 | LOG(_T("IDirectXVideoDecoderService::CreateVideoDecoder %s (%d render targets) hr = %08x"), GetDXVAMode(&g_guidDXVADecoder), NumRenderTargets, hr); | IDirectXVideoDecoderService::CreateVideoDecoder %s (%d render targets) hr = %08x | |
1271 | LOG(_T("IDirectXVideoDecoderService::GetDecoderDeviceGuids hr = %08x\n"), hr); | IDirectXVideoDecoderService::GetDecoderDeviceGuids hr = %08x\n | |
1303 | ::DeleteFile (_T("picture.log")); | picture.log | |
| | | |