原创 Android_ics openmax in stagefright 學習記錄------2

///////////////////////////////////////////// //4,回到awesomeplayer initVideoDecoder()中 /////////////////////////////////

原创 2 stacks implement a queue

用兩個棧來模擬一個隊列的,進隊和出隊,寫的很爛,大家多批評,多給意見,謝謝了先..... /* *implement a stack in c *and make two stack as a queue *Date:2012.05.0

原创 gdb調試初學------1

菜鳥在寫C程序的時候最害怕就是遇到Segmentation fault (core dumped),遇到段錯誤可以嘗試從gdb調試來分析core文件從而定位問題代碼。然而,默認情況下是不生成core文件的,至少在我的ubuntu上,可執行

原创 ImageViewer應用開發總結

ImageViewer應用開發,android應用開發體會 在開發ImageViewer這個應用的過程中,主要遇到了以下問題:    1,對android應用層的控件,ImageSwitcher和Gallery還不熟悉  2,在開發的

原创 Multimedia Standards Introduction——專業術語

[Quto from H.261 specification] The standard supports two video frame sizes: CIF(352x288 luma with 176x144 chroma) and

原创 Multimedia standards introduction——兩個標準化組織的介紹

Two Organizations introduction 1, ITU-T/國際電信聯盟視頻編碼專家組 發佈了 H.264標準  2, ISO/IEC 國際標準化組織/國際電工委員會 下屬的MPEG(Moving Picture E

原创 Multimedia Standards Introduction——標準發佈之ITU H.26x

【前面說過了 ITU發佈的標準更具有專業性,其中H系列是可視音視頻的主要標準部分,算是Mulitmedia領域的權威吧】   H Series: Audiovisual and multimedia systems General pur

原创 android native ALooper AHandler

ALooper AHandler AMessage ALooperRoster之間的關係 ALooper 和 native Thread之間的關係 Thread Looping and Message delivering

原创 Posix pthread 多線程再學習

/* * ===================================================================================== * * Filename: pthr

原创 python 版猜數字遊戲

初學 python,寫了一個小小的toy code 來練習,bug 肯定有,歡迎提出意見 #! /usr/bin/python #This is guess number Game written in python import

原创 C Right_Left Rules

原文出處:http://ieng9.ucsd.edu/~cs30x/rt_lt.rule.html The "right-left" rule is a completely regular rule for deciphering

原创 Multimedia Standards Introduction——Profiles/Levels

Profiles The standard defines 21 sets of capabilities, which are referred to as profiles, targeting specific classes of

原创 Android Cyrillic Encoding support----我們真的可以識別native 編碼嗎?

需求是做Android上的 Cyrillic script的支持, Cyrillic 是一種以單字節編碼的 native charset。我們真的可以準確的判斷出Cyrillic 本地編碼,繼而對他進行轉化嗎? FYI,Cyrillic

原创 Unicode, UTF-8/16/32, Introduction

What is Unicode 1. 統一碼/標準萬國碼2. Unicode給每個字元提供了一個唯一的數位,不論是什麼平臺、 不論是什麼程式、 不論是什麼語言。What is UTF-8, UTF-16, UTF-32 回答這個問題之前先

原创 Android上MediaScanner是如何工作的

這裏注意兩個繼承關係,在JAVA層有一個MyMediaScannerClient class位於 MediaScanner.java中,如下代碼所示 private class MyMediaScannerClient implemen