<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>woshidan</author_name>
  <author_url>https://blog.hatena.ne.jp/woshidan/</author_url>
  <blog_title>woshidan's loose leaf</blog_title>
  <blog_url>https://woshidan.hatenadiary.jp/</blog_url>
  <categories>
    <anon>Android</anon>
    <anon>Camera2</anon>
    <anon>Preview</anon>
  </categories>
  <description>昨日のImageReaderのメモで プレビューの向きがおかしいのが気になる、という話を書きました。 その件について調べると https://stackoverflow.com/questions/34536798/android-camera2-preview-is-rotated-90deg-while-in-landscape などどうもアプリの画面の向きがLANDSCAPEの場合、そういうことがあるらしい。 一つには、TextureView に画像変換用の Matrix をセットすることで、TextureViewにセットされる画像をいじることができて、例えば下記のように記述した場合、 …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwoshidan.hatenadiary.jp%2Fentry%2F2017%2F09%2F10%2F084342&quot; title=&quot;アプリで決めたActivityの向きがLANDSCAPEの時、Camera2のCameraDeviceから受け取るカメラのプレビューの向きがずれる - woshidan&amp;#39;s loose leaf&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/w/woshidan/20170910/20170910083842.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-09-10 08:43:42</published>
  <title>アプリで決めたActivityの向きがLANDSCAPEの時、Camera2のCameraDeviceから受け取るカメラのプレビューの向きがずれる</title>
  <type>rich</type>
  <url>https://woshidan.hatenadiary.jp/entry/2017/09/10/084342</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
