Posts

Showing posts from November, 2008

Video Stream Start Codes for Different Codecs

Start Code Prefix (SCP) H.264 and MPEG-4 Stream contain various codes that are identified by a common 3 byte string = 0x 00 00 01 H.264 SCP Identifies beginning of NAL Unit. Stream Structure: 1. NAL Unit Code - 1 byte 2. NAL Unit Data Anatomy of 1 byte = 8 bits of NAL Unit Code: 1 Bit - Always zero 2 Bits - 0 for non ref frames. Non zero for SPS, PPS and Ref frame. 5 bits - NAL Unit Type. 1 - Non IDR, 5 - IDR, 7 - SPS, 8 - PPS. Typical NAL Unit Codes: x7- SPS x8 - PPS x5 - IDR x1- Reference P 01 - Non ref P Note: x is non zero Typical Stream: 00 00 00 01 67 (SPS) 42 00 1E AA 40 28 02 DC 80 00 00 00 01 68 (PPS) CE 38 80 00 00 00 01 65 (IDR) 88 ..... 00 00 01 41 (Non IDR Ref) 9A 44 .... MPEG-4 Stream Struct: 1. Video object start code - 00 through 1F 2. Video object layer start code - 20 through 2F 3. Video Object Layer Info - Length and value depends upon content 3. vop start code - B6 4. VOP Info Typical MP-4 Bitstream: 00 00 01 00 (vo Start) 00 00 01 20 (vol start) 00 C8 89 80 0C C9 1...

shriranga kamalakanta

श्रीरंगा कमलाकांता श्रीरंगा कमलाकांता हरीपदरा ते सोड रे ॥ धृ ॥ ब्रीजवासी नारी, जात असो की बाजारी हो कान्हा का मुरारी, अडविता का कंदारी मथुरेच्या बाजारी, पाहु मजा हो गिरीधारी विकुन वनित दहिहोड रे ॥ १ ॥ गायक: सुरेश हळदणकर गीतकार: होनाजी बाळा संगीतकार: हेमंत - केदार नाटक: होनाजी बाळा

Deva Gharache dnyat kunala

देवा घरचे ज्ञात कुणाला देवा घरचे ज्ञात कुणाला विचित्र नेमानेम कुणी रखडति धुळीत आणिक कुणास लाभे हेम ॥धृ॥ मी निष्कांचन निर्धन साधक वैराग्याचा एक उपासक हिमालयाचा मी तो यात्रिक मनात माझ्या का उपजावे संसाराचे प्रेम ॥ १ ॥ मूळ गायक: रामदास कामत गीत: वसंत कानेटकर संगीत: पं. जितेंद्र अभिषेकी नाटक: संगीत मत्स्यगंधा

High-level description of low-level OS terms!!

==> What is System Programming? System programming is the practice of writing 'system software', which is code that lives at a lower level, talking directly to the kernel and core system libraries. Put another way, system programming deals with system calls and other low-level functions, such as those defined by C library. ==> What are device drivers (in linux)? Device drivers are distinct "black boxes" that make a particular piece of hardware respond to a well-defined internal programmin interface; they hide completely the details of how the device works. User activities are performed by means of a set of standardized calls that are independent of the specific driver; mapping those calls to device-specific operations that act on real hardware is then the role of device driver.