summaryrefslogtreecommitdiff
path: root/src/libvdpau/h264_parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libvdpau/h264_parser.h')
-rw-r--r--src/libvdpau/h264_parser.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/libvdpau/h264_parser.h b/src/libvdpau/h264_parser.h
index 3381cf4c2..99691e950 100644
--- a/src/libvdpau/h264_parser.h
+++ b/src/libvdpau/h264_parser.h
@@ -13,7 +13,8 @@ struct nal_parser {
uint8_t buf[MAX_FRAME_SIZE];
uint32_t buf_len;
- /* prebuf is a ringbuffer */
+ /* prebuf is used to store the currently
+ * processed nal unit */
uint8_t prebuf[MAX_FRAME_SIZE];
uint32_t prebuf_len;
uint32_t next_nal_position;
@@ -42,6 +43,9 @@ struct nal_parser {
uint32_t prev_pic_order_cnt_lsb;
uint32_t prev_pic_order_cnt_msb;
+ /* this is dpb used for reference frame
+ * heading to vdpau + unordered frames
+ */
struct dpb dpb;
};