Displaying 5 results from an estimated 5 matches for "mpeg12_bo".
2013 Jun 30
0
[PATCH v2] nv50: H.264/MPEG2 decoding support via VP2, available on NV84-NV96, NVA0
...struct pipe_video_buffer *target,
+ struct pipe_picture_desc *picture)
+{
+ struct nv84_decoder *dec = (struct nv84_decoder *)decoder;
+ struct pipe_mpeg12_picture_desc *desc = (struct pipe_mpeg12_picture_desc *)picture;
+ int i;
+
+ nouveau_bo_wait(dec->mpeg12_bo, NOUVEAU_BO_RDWR, dec->client);
+ dec->mpeg12_mb_info = dec->mpeg12_bo->map + 0x100;
+ dec->mpeg12_data = dec->mpeg12_bo->map + 0x100 +
+ align(0x20 * mb(dec->base.width) * mb(dec->base.height), 0x100);
+ if (desc->intra_matrix) {
+ dec->zscan = desc...
2013 Jun 27
4
[PATCH] nv50: H.264/MPEG2 decoding support via VP2, available on NV84-NV96, NVA0
...struct pipe_video_buffer *target,
+ struct pipe_picture_desc *picture)
+{
+ struct nv84_decoder *dec = (struct nv84_decoder *)decoder;
+ struct pipe_mpeg12_picture_desc *desc = (struct pipe_mpeg12_picture_desc *)picture;
+ int i;
+
+ nouveau_bo_wait(dec->mpeg12_bo, NOUVEAU_BO_RDWR, dec->client);
+ dec->mpeg12_mb_info = dec->mpeg12_bo->map + 0x100;
+ dec->mpeg12_data = dec->mpeg12_bo->map + 0x100 +
+ align(0x20 * mb(dec->base.width) * mb(dec->base.height), 0x100);
+ if (desc->intra_matrix) {
+ dec->zscan = desc...
2013 Jun 29
0
[PATCH] nv50: H.264/MPEG2 decoding support via VP2, available on NV84-NV96, NVA0
...frame_mbs, frame_size;
> + /* VPRING layout:
> + RESIDUAL
> + CTRL
> + DEBLOCK
> + 0x1000
> + */
> + unsigned vpring_deblock, vpring_residual, vpring_ctrl;
> +
> +
> + struct vl_mpg12_bs *mpeg12_bs;
> +
> + struct nouveau_bo *mpeg12_bo;
> + void *mpeg12_mb_info;
> + uint16_t *mpeg12_data;
> + const int *zscan;
> + uint8_t mpeg12_intra_matrix[64];
> + uint8_t mpeg12_non_intra_matrix[64];
> +};
> +
...
> +static INLINE uint32_t mb(uint32_t coord)
> +{
> + return (coord + 0xf)>>4;
>...
2013 Jun 29
2
[PATCH] nv50: H.264/MPEG2 decoding support via VP2, available on NV84-NV96, NVA0
...yout:
>> + RESIDUAL
>> + CTRL
>> + DEBLOCK
>> + 0x1000
>> + */
>> + unsigned vpring_deblock, vpring_residual, vpring_ctrl;
>> +
>> +
>> + struct vl_mpg12_bs *mpeg12_bs;
>> +
>> + struct nouveau_bo *mpeg12_bo;
>> + void *mpeg12_mb_info;
>> + uint16_t *mpeg12_data;
>> + const int *zscan;
>> + uint8_t mpeg12_intra_matrix[64];
>> + uint8_t mpeg12_non_intra_matrix[64];
>> +};
>> +
> ...
>
>> +static INLINE uint32_t mb(uint32_t coord)
>> +...
2013 Jun 30
0
[PATCH] nv50: H.264/MPEG2 decoding support via VP2, available on NV84-NV96, NVA0
...;> + CTRL
>>> + DEBLOCK
>>> + 0x1000
>>> + */
>>> + unsigned vpring_deblock, vpring_residual, vpring_ctrl;
>>> +
>>> +
>>> + struct vl_mpg12_bs *mpeg12_bs;
>>> +
>>> + struct nouveau_bo *mpeg12_bo;
>>> + void *mpeg12_mb_info;
>>> + uint16_t *mpeg12_data;
>>> + const int *zscan;
>>> + uint8_t mpeg12_intra_matrix[64];
>>> + uint8_t mpeg12_non_intra_matrix[64];
>>> +};
>>> +
>> ...
>>
>>> +static INLIN...