[Libva] drm_intel_bo_alloc_for_render + dri_bo_map can help me read back the decoded data?
hank peng
pengxihan at gmail.com
Mon Aug 15 00:57:38 PDT 2011
2011/8/15 Xiang, Haihao <haihao.xiang at intel.com>:
> On Sat, 2011-08-13 at 23:28 +0800, hank peng wrote:
>> Hi, all:
>> I noticed that the dri_bo of a object surface is allocated using
>> drm_intel_bo_alloc_tiled function which returned USWC buffer, can I
>> use drm_intel_bo_alloc_for_render instead and then dri_bo_map to get
>> real decoded data back?
>
> No
>
you mean we should call drm_intel_bo_alloc_tiled with I915_TILING_Y?
If I call drm_intel_bo_alloc_tiled with I915_TILING_NONE, and then
dri_bo_map, I will not get the right decoded data?
>>
>>
>
>
>
--
The simplest is not all best but the best is surely the simplest!
More information about the Libva
mailing list