{"id":2483,"date":"2011-04-24T19:54:52","date_gmt":"2011-04-24T10:54:52","guid":{"rendered":"http:\/\/umezawa.dyndns.info\/wordpress\/?p=2483"},"modified":"2011-04-25T10:50:49","modified_gmt":"2011-04-25T01:50:49","slug":"dmo_input_streamf_holds_buffers-%e3%81%ae%e6%84%8f%e5%91%b3","status":"publish","type":"post","link":"http:\/\/umezawa.dyndns.info\/wordpress\/?p=2483","title":{"rendered":"DMO_INPUT_STREAMF_HOLDS_BUFFERS \u306e\u610f\u5473"},"content":{"rendered":"<p>\u4ee5\u524d\u306e\u30a8\u30f3\u30c8\u30ea\u3067\u66f8\u3044\u305f\u3068\u304a\u308a\u3001Ut Video Codec Suite \u306b DMO \u30c7\u30b3\u30fc\u30c0\u3092\u8ffd\u52a0\u3057\u3088\u3046\u3068\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3072\u3068\u307e\u305a DirectShow \u30b0\u30e9\u30d5\u306b\u8ffd\u52a0\u3067\u304d\u308b\u3088\u3046\u306b\u3001DMO \u30a8\u30f3\u30b3\u30fc\u30c0\u3092\u30b3\u30d4\u30fc\u3057\u3066\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306e\u30cd\u30b4\u30b7\u30a8\u30fc\u30b7\u30e7\u30f3\u3060\u3051\u66f8\u304d\u304b\u3048\u3066 GraphEdit \u3067\u8aad\u307f\u8fbc\u307e\u305b\u3088\u3046\u3068\u3057\u307e\u3057\u305f\u304c\u3001ULY2 \u306a AVI \u30d5\u30a1\u30a4\u30eb\u3092 Render File \u3057\u3066\u3082 DMO \u30c7\u30b3\u30fc\u30c0\u3092\u4f7f\u3063\u3066\u304f\u308c\u307e\u305b\u3093\uff08VCM \u30b3\u30fc\u30c7\u30c3\u30af\u3092 AVI Decompressor \u3067\u30e9\u30c3\u30d7\u3057\u305f\u3082\u306e\u304c\u4f7f\u308f\u308c\u308b\uff09\u3002<\/p>\n<p><!--more--><\/p>\n<p>\u30c7\u30d0\u30c3\u30ac\u3067\u8ffd\u3063\u3066\u307f\u308b\u3068 IMediaObject::GetInputSizeInfo \u3092\u547c\u3093\u3060\u5f8c\u306b\u3042\u304d\u3089\u3081\u3066\u3044\u308b\u3088\u3046\u306a\u306e\u3067\u3001\u8fd4\u3059\u5024\u3092\u5909\u3048\u306a\u304c\u3089\u3044\u308d\u3044\u308d\u3068\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\u304c\u89e3\u6c7a\u305b\u305a\u3001\u307b\u304b\u306e\u30e1\u30bd\u30c3\u30c9\u306f\u4f55\u304b\u7121\u3044\u304b\u306a\u3068\u601d\u3063\u3066 IMediaObject::GetInputStreamInfo \u3067\u8fd4\u3059\u30d5\u30e9\u30b0\u304b\u3089 DMO_INPUT_STREAMF_HOLDS_BUFFERS \u3092\u5916\u3057\u305f\u3089\u30b0\u30e9\u30d5\u306b\u8ffd\u52a0\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u3067\u3001DMO_INPUT_STREAMF_HOLDS_BUFFERS \u306e\u610f\u5473\u3063\u3066\u4f55\u306a\u306e\u3088\u3001\u3068\u3044\u3046\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002MSDN Library \u306e DMO_INPUT_STREAM_INFO_FLAGS \u5217\u6319\u578b\u306e\u6240\uff08<a href=\"http:\/\/msdn.microsoft.com\/ja-jp\/library\/cc353991.aspx\">\u65e5\u672c\u8a9e<\/a>\/<a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/dd375502%28v=VS.85%29.aspx\">\u82f1\u8a9e<\/a>\uff09\u306b\u306f\u306b\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u66f8\u3044\u3066\u3042\u308a\u307e\u3059\u3002<\/p>\n<blockquote>\n<dl>\n<dt>DMO_INPUT_STREAMF_HOLDS_BUFFERS<\/dt>\n<dd>DMO \u304c\u5165\u529b\u30c7\u30fc\u30bf\u306e\u30eb\u30c3\u30af\u30a2\u30d8\u30c3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3002DMO \u306f\u3053\u306e\u30b9\u30c8\u30ea\u30fc\u30e0\u7528\u306b\u8907\u6570\u306e\u5165\u529b\u30d0\u30c3\u30d5\u30a1\u3092\u4fdd\u6301\u3067\u304d\u308b\u3002<\/dd>\n<\/dl>\n<\/blockquote>\n<blockquote>\n<dl>\n<dt>DMO_INPUT_STREAMF_HOLDS_BUFFERS<\/dt>\n<dd>The DMO performs lookahead on the incoming data, and may hold multiple input buffers for this stream.<\/dd>\n<\/dl>\n<\/blockquote>\n<p>\u3067\u3082\u3001\u3053\u3053\u3067\u8a00\u3046\u300c\u30eb\u30c3\u30af\u30a2\u30d8\u30c3\u30c9\u300d\u3068\u306f\u4f55\u304b\u3001\u3068\u3044\u3046\u8aac\u660e\u306f\u3069\u3053\u306b\u3082\u306a\u304b\u3063\u305f\u3088\u3046\u306a\u2026\uff1f \u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u7528\u8a9e\u3068\u3057\u3066\u306f\u4e00\u822c\u7684\u3067\u306f\u3042\u308b\u306e\u3067\u3059\u304c\u3002<\/p>\n<p>IMediaObject::ProcessInput \u306e\u6240\uff08<a href=\"http:\/\/msdn.microsoft.com\/ja-jp\/library\/cc356997.aspx\">\u65e5\u672c\u8a9e<\/a>\/<a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/dd406959%28v=VS.85%29.aspx\">\u82f1\u8a9e<\/a>\uff09\u306b\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u8a18\u8ff0\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<blockquote><p>DMO \u304c\u30d0\u30c3\u30d5\u30a1\u5185\u306e\u3059\u3079\u3066\u306e\u30c7\u30fc\u30bf\u3092\u51e6\u7406\u3057\u306a\u3044\u5834\u5408\u3001\u305d\u306e DMO \u306f\u30d0\u30c3\u30d5\u30a1\u306e\u53c2\u7167\u30ab\u30a6\u30f3\u30c8\u3092\u4fdd\u6301\u3059\u308b\u3002DMO \u306f\u3001\u30c7\u30fc\u30bf\u306b\u5bfe\u3057\u3066\u30eb\u30c3\u30af\u30a2\u30d8\u30c3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u5834\u5408\u3092\u9664\u3044\u3066\u3001\u3059\u3079\u3066\u306e\u51fa\u529b\u3092\u751f\u6210\u3057\u305f\u5f8c\u3001\u30d0\u30c3\u30d5\u30a1\u3092\u89e3\u653e\u3059\u308b\u3002DMO \u304c\u30eb\u30c3\u30af\u30a2\u30d8\u30c3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u304b\u3069\u3046\u304b\u3092\u8abf\u3079\u308b\u306b\u306f\u3001IMediaObject::GetInputStreamInfo \u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3073\u51fa\u3059\u3002<\/p><\/blockquote>\n<blockquote><p>If the DMO does not process all the data in the buffer, it keeps a reference count on the buffer. It releases the buffer once it has generated all the output, unless it needs to perform lookahead on the data. (To determine whether a DMO performs lookahead, call the IMediaObject::GetInputStreamInfo method.)<\/p><\/blockquote>\n<p>\u3046\u30fc\u3093\u2026\uff1f<\/p>\n<p>\u3072\u3068\u307e\u305a\u3001\u30b3\u30fc\u30c7\u30c3\u30af\u30a8\u30f3\u30b8\u30f3\u306e\u5b9f\u88c5\u3068\u3057\u3066\u306f\u3001\u30a8\u30f3\u30b3\u30fc\u30c0\u3067\u3082\u30c7\u30b3\u30fc\u30c0\u3067\u30821\u30d5\u30ec\u30fc\u30e0\u53d7\u3051\u53d6\u3063\u30661\u30d5\u30ec\u30fc\u30e0\u5410\u304f\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u3066\u3001\u3064\u307e\u308a\u30eb\u30c3\u30af\u30a2\u30d8\u30c3\u30c9\u306f\u884c\u3044\u307e\u305b\u3093\u3002\u5c06\u6765\u7684\u306b\u3082\u3001\u672a\u6765\u306e\u30d5\u30ec\u30fc\u30e0\u3092\u5143\u306b\u30a8\u30f3\u30b3\u30fc\u30c9\u3057\u305f\u308a\u30c7\u30b3\u30fc\u30c9\u3057\u305f\u308a\u306f\u3057\u306a\u3044\uff08VCM \u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3088\u3046\u3068\u3059\u308b\u9650\u308a\u305d\u306e\u3088\u3046\u306a\u51e6\u7406\u306f\u884c\u3048\u306a\u3044\uff09\u4e88\u5b9a\u3067\u3059\u3002\u3068\u3044\u3046\u308f\u3051\u3067\u30d5\u30e9\u30b0\u3092\u5916\u3059\u3053\u3068\u306b\u3057\u307e\u3059\u3002<\/p>\n<p>DMO_INPUT_STREAMF_HOLDS_BUFFERS \u30d5\u30e9\u30b0\u3092\u5916\u3059\u3068\u30b0\u30e9\u30d5\u306b\u53c2\u52a0\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b\u3001\u3068\u3044\u3046\u70b9\u305d\u306e\u3082\u306e\u306b\u3064\u3044\u3066\u306f\u91c8\u7136\u3068\u3057\u306a\u3044\u3082\u306e\u304c\u6b8b\u308a\u307e\u3059\u304c\u2026<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4ee5\u524d\u306e\u30a8\u30f3\u30c8\u30ea\u3067\u66f8\u3044\u305f\u3068\u304a\u308a\u3001Ut Video Codec Suite \u306b DMO \u30c7\u30b3\u30fc\u30c0\u3092\u8ffd\u52a0\u3057\u3088\u3046\u3068\u3057\u3066\u3044\u307e\u3059\u3002 \u3072\u3068\u307e\u305a DirectShow \u30b0\u30e9\u30d5\u306b\u8ffd\u52a0\u3067\u304d\u308b\u3088\u3046\u306b\u3001DMO \u30a8\u30f3\u30b3\u30fc\u30c0\u3092\u30b3\u30d4\u30fc\u3057\u3066\u30d5\u30a9\u30fc\u30de\u30c3\u30c8 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-2483","post","type-post","status-publish","format-standard","hentry","category-programming"],"_links":{"self":[{"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/2483","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2483"}],"version-history":[{"count":8,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/2483\/revisions"}],"predecessor-version":[{"id":2491,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/2483\/revisions\/2491"}],"wp:attachment":[{"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2483"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2483"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2483"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}