컴파일러 : C++ Builder XE2 <div><span style="font-size:9pt;">API : DirectShow</span></div> <div>라이브러리 : VCL</div> <div><br></div> <div><span style="font-size:9pt;">특이사항 : DirectShow를 통해 MicroSoft LifeCam을 제어하는대 성공</span></div> <div><span style="font-size:9pt;">초점이나 밝기, X축 Y축 이동등을 제어하지만 정작 헤상도 조절은 하지 못함</span></div> <div><span style="font-size:9pt;"><br></span></div> <div>요약내용 : <span style="font-size:9pt;">Scale.h파일도 CustomBaseFilter.h파일도 FilterParameters.h파일도 못찾겠습니다.</span></div> <div>어떻게 하면 CustomFilter를 쓸수 있도록 C++Builder에 등록시킬수 있을까요?</div> <div><br></div> <div>구체적 내용 :</div> <div><span style="font-size:9pt;">DirectShow를 통한 </span><span style="font-size:9pt;">LifeCam을 조작을 </span><span style="font-size:9pt;">벼락치기로 </span><span style="font-size:9pt;">하고 있다가 정작 Scale 조절부분에서 막혔습니다.</span></div> <div><span style="font-size:9pt;">아래 화면이</span></div> <div><span style="font-size:9pt;"></span> <div style="text-align:left;"><img src="http://thimg.todayhumor.co.kr/upfile/201711/1510016228caa96f8569c549a3a050cd96cdb66b49__mn483963__w1598__h765__f147235__Ym201711.png" width="800" height="383" alt="이미지 188.png" class="chimg_photo" style="border:none;" filesize="147235"></div>실제 구현된 프로그램이며 미구현인 스펙설정과 해상도 조절빼고는 잘 돌아 갑니다.</div> <div><span style="font-size:9pt;"><br></span></div> <div><span style="font-size:9pt;">DirectShow로 해상도 조절하는 것은 무척이나 어렵고 정작 성공한다 치더라도 매번 LifeCam을 정지 혹은 종료했다 다시 켜야되기 때문에</span></div> <div><span style="font-size:9pt;">비효율 적이고 딜레이가 깁니다.</span></div> <div><span style="font-size:9pt;"><br></span></div> <div><span style="font-size:9pt;">따라서 CustomFilter중에 </span><span style="font-size:9pt;">ScaleFilter란 해상도 조절 필터가 있는것을 알고 이를 다운받아 </span><span style="font-size:9pt;">ScaleFilter.dll을 </span><span style="font-size:9pt;">ScaleFilter.lib으로 형변환 하고 이를 </span></div> <div>C++Builder에서 project에 Add하였으나 정작 Dependecy Walker로 <span style="font-size:9pt;">ScaleFilter.dll을 열어보니</span></div> <div><span style="font-size:9pt;"></span> <div style="text-align:left;"><img src="http://thimg.todayhumor.co.kr/upfile/201711/15100167076eb0f170a2454279b97c621bc5c5ba73__mn483963__w960__h1080__f233602__Ym201711.png" width="800" height="900" alt="이미지 192.png" class="chimg_photo" style="border:none;" filesize="233602"></div> <div style="text-align:left;">다음과 같은 화면이 뜨며 뭔가 문제가 있음을 느꼈습니다.</div> <div style="text-align:left;">마찬가지로 lib 파일을 열어보니</div> <div style="text-align:left;"><img src="http://thimg.todayhumor.co.kr/upfile/201711/1510016761fdf6740d4175428a97fdae3b1b6df3e9__mn483963__w960__h1080__f97228__Ym201711.png" width="800" height="900" alt="이미지 193.png" class="chimg_photo" style="border:none;" filesize="97228"></div>위와 같은 화면을 띄어주며 뭔가 문제가 있내요</div> <div><span style="font-size:9pt;"><br></span></div> <div><span style="font-size:9pt;">혹시나 해서 C++Builder에서 돌려보니</span></div> <div>ScaleFilter 안의 함수를 꺼내쓸수 없습니다.</div> <div><br></div> <div>그래서 CustomFilter 추가하는 방법이 뭔가 잘못됬음을 느끼고</div> <div>아래 링크를 타고 파일을 살펴봐도 Scale.h파일도 CustomBaseFilter.h파일도 FilterParameters.h파일도 도저히 못찾겠더군요</div> <div><a target="_blank" href="http://svn.code.sf.net/p/videoprocessing/code/trunk/videoprocessing/Source/Filters/DirectShow/ScaleFilter/ScaleFilter.h" target="_blank">http://svn.code.sf.net/p/videoprocessing/code/trunk/videoprocessing/Source/Filters/DirectShow/ScaleFilter/ScaleFilter.h</a><br></div> <div>아니면 위 링크에 있는 텍스트 코드를 복사해서 세로운 파일들을 일일이 만들어야 할까요?</div>
댓글 분란 또는 분쟁 때문에 전체 댓글이 블라인드 처리되었습니다.