Displaying 5 results from an estimated 5 matches for "frame_type".
2020 Aug 11
2
clarifying the handling of responses for virtio-rpmb
...REQ_DATA_WRITE frame (out_sg=1)
sg[1] - VIRTIO_RPMB_REQ_RESULT_READ (in_sg=1)
where the result frame is filled in and sent back?
I must say I'm a little confused by the logic in rpmb_ioctl (in the
userspace tool) which creates both out_frames and resp frames:
static int rpmb_ioctl(uint8_t frame_type, int fd, uint16_t req,
const void *frames_in, unsigned int cnt_in,
void *frames_out, unsigned int cnt_out)
{
int ret;
struct __packed {
struct rpmb_ioc_seq_cmd h;
struct rpmb_ioc_cmd cmd[3];...
2020 Sep 11
0
[virtio-dev] Re: clarifying the handling of responses for virtio-rpmb
...WRITE_DATA is always an additional REQ_RESULT_READ
> added. So in the end as last descriptor there is always an incoming
> frame to be filled either with the RESULT_READ data or the response
> data for REQ_GET_WRITE_COUNTER/REQ_DATA_READ.
>
>>> static int rpmb_ioctl(uint8_t frame_type, int fd, uint16_t req,
>>> const void *frames_in, unsigned int cnt_in,
>>> void *frames_out, unsigned int cnt_out)
>>> {
>>> int ret;
>>> struct __packed {
>>>...
2006 Sep 18
26
[Bug 512] poptop (pptpd) will not work if ip_nat_pptp loaded
https://bugzilla.netfilter.org/bugzilla/show_bug.cgi?id=512
------- Additional Comments From kaber@trash.net 2006-09-18 07:36 MET -------
There are still some problems with the PPtP helper, I'm currently trying to fix
these. Can you attach a tcpdump of a failed attempt please?
--
Configure bugmail: https://bugzilla.netfilter.org/bugzilla/userprefs.cgi?tab=email
------- You are
2007 Mar 22
0
11 commits - libswfdec/swfdec_color.c libswfdec/swfdec_flv_decoder.c libswfdec/swfdec_js_net_stream.c libswfdec/swfdec_movie.c libswfdec/swfdec_net_stream.c libswfdec/swfdec_net_stream.h libswfdec/swfdec_pattern.c libswfdec/swfdec_script.c NEWS test/trace
...ideo (SwfdecFlvD
offset = g_array_index (flv->video, SwfdecFlvVideoTag, 0).timestamp;
timestamp += offset;
id = swfdec_flv_decoder_find_video (flv, timestamp);
+ tag = &g_array_index (flv->video, SwfdecFlvVideoTag, id);
+ if (keyframe) {
+ while (id > 0 && tag->frame_type != 1) {
+ id--;
+ tag--;
+ }
+ }
if (next_timestamp) {
if (id + 1 >= flv->video->len)
*next_timestamp = 0;
else
*next_timestamp = g_array_index (flv->video, SwfdecFlvVideoTag, id + 1).timestamp - offset;
}
- tag = &g_array_index (flv->...
2007 Nov 08
0
configure.ac libswfdec-gtk/swfdec_gtk_widget.c libswfdec-gtk/swfdec_playback_alsa.c libswfdec/swfdec_as_date.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_types.c libswfdec/swfdec_audio_flv.c libswfdec/swfdec_audio_flv.h
...fdec_flv_decoder.c
+++ b/libswfdec/swfdec_flv_decoder.c
@@ -39,14 +39,14 @@ typedef struct _SwfdecFlvDataTag SwfdecFlvDataTag;
struct _SwfdecFlvVideoTag {
guint timestamp; /* milliseconds */
- SwfdecVideoCodec format; /* format in use */
+ guint format; /* format in use */
int frame_type; /* 0: undefined, 1: keyframe, 2: iframe, 3: H263 disposable iframe */
SwfdecBuffer * buffer; /* buffer for this data */
};
struct _SwfdecFlvAudioTag {
guint timestamp; /* milliseconds */
- SwfdecAudioCodec format; /* format in use */
+ guint format; /* format in use */
S...