Content
PREFACE ...................................................................................................................I
GLOSSARY ...............................................................................................................II
REFERENCE ............................................................................................................III
PART A
REQUIREMENT ......................................................................................1
A.1. Application Scene.................................................................................................................................... 1
A.2. Function Requirement ............................................................................................................................ 1
A.3. Supplement .............................................................................................................................................. 1
PART B
ARCHITECTURE ....................................................................................1
B.1. Architecture of Libve .............................................................................................................................. 1
B.2. Recommended Architecture of Drivers using Libve ............................................................................ 2
B.3. Basic Execute Flows ................................................................................................................................ 3
B3.1.
Open Libve ....................................................................................................................................... 3
B3.2. Close Libve....................................................................................................................................... 3
B3.3. Decode Stream Frame....................................................................................................................... 4
B3.4. Reset Libve ....................................................................................................................................... 5
B3.5. Request Pictures to Show and return Pictures .................................................................................. 5
PART C
INTERFACE SPECIFICATION................................................................6
C.1. Libve Output Interface Design............................................................................................................... 6
libve_open ......................................................................................................................................................... 7
libve_close......................................................................................................................................................... 8
libve_reset ......................................................................................................................................................... 9
libve_set_vbv..................................................................................................................................................... 9
libve_get_fbm.................................................................................................................................................. 10
libve_decode.................................................................................................................................................... 10
libve_get_stream_info ......................................................................................................................................11
libve_get_version ............................................................................................................................................ 12
libve_get_last_error......................................................................................................................................... 12
libve_flush....................................................................................................................................................... 12
C.2.
Input Interface for Libve...................................................................................................................... 14
1