Displaying 5 results from an estimated 5 matches for "mpeg12_b".
Did you mean:
mpeg12_bo
2013 Jun 29
0
[PATCH] nv50: H.264/MPEG2 decoding support via VP2, available on NV84-NV96, NVA0
...+
> + struct pipe_mpeg12_picture_desc *desc = (struct pipe_mpeg12_picture_desc *)picture;
> +
> + assert(target->base.buffer_format == PIPE_FORMAT_NV12);
This can be written as
assert(video_target->buffer_format == PIPE_FORMAT_NV12);
> +
> + vl_mpg12_bs_decode(dec->mpeg12_bs,
> + video_target,
> + desc,
> + num_buffers,
> + data,
> + num_bytes);
And then the temporary variables can be removed, as you've done in
nv84_decoder_end_frame_mpeg12()
&g...
2013 Jun 29
2
[PATCH] nv50: H.264/MPEG2 decoding support via VP2, available on NV84-NV96, NVA0
...>> +
>> + assert(target->base.buffer_format == PIPE_FORMAT_NV12);
> This can be written as
> assert(video_target->buffer_format == PIPE_FORMAT_NV12);
Good point. The code was a bit different at an earlier point.
>
>> +
>> + vl_mpg12_bs_decode(dec->mpeg12_bs,
>> + video_target,
>> + desc,
>> + num_buffers,
>> + data,
>> + num_bytes);
> And then the temporary variables can be removed, as you've done in
> nv84_...
2013 Jun 30
0
[PATCH] nv50: H.264/MPEG2 decoding support via VP2, available on NV84-NV96, NVA0
...get->base.buffer_format == PIPE_FORMAT_NV12);
>> This can be written as
>> assert(video_target->buffer_format == PIPE_FORMAT_NV12);
>
> Good point. The code was a bit different at an earlier point.
>
>>
>>> +
>>> + vl_mpg12_bs_decode(dec->mpeg12_bs,
>>> + video_target,
>>> + desc,
>>> + num_buffers,
>>> + data,
>>> + num_bytes);
>> And then the temporary variables can be removed, as you...
2013 Jun 27
4
[PATCH] nv50: H.264/MPEG2 decoding support via VP2, available on NV84-NV96, NVA0
...struct nv84_decoder *)decoder;
+ struct nv84_video_buffer *target = (struct nv84_video_buffer *)video_target;
+
+ struct pipe_mpeg12_picture_desc *desc = (struct pipe_mpeg12_picture_desc *)picture;
+
+ assert(target->base.buffer_format == PIPE_FORMAT_NV12);
+
+ vl_mpg12_bs_decode(dec->mpeg12_bs,
+ video_target,
+ desc,
+ num_buffers,
+ data,
+ num_bytes);
+}
+
+static void
+nv84_decoder_begin_frame_mpeg12(struct pipe_video_decoder *decoder,
+ struct pipe_v...
2013 Jun 30
0
[PATCH v2] nv50: H.264/MPEG2 decoding support via VP2, available on NV84-NV96, NVA0
...ffers,
+ const void *const *data,
+ const unsigned *num_bytes)
+{
+ struct nv84_decoder *dec = (struct nv84_decoder *)decoder;
+
+ assert(video_target->buffer_format == PIPE_FORMAT_NV12);
+
+ vl_mpg12_bs_decode(dec->mpeg12_bs,
+ video_target,
+ (struct pipe_mpeg12_picture_desc *)picture,
+ num_buffers,
+ data,
+ num_bytes);
+}
+
+static void
+nv84_decoder_begin_frame_mpeg12(struct pipe_video_decoder *decoder,
+...