libstagefright.cpp File Reference
#include <binder/ProcessState.h>
#include <media/stagefright/MetaData.h>
#include <media/stagefright/MediaBufferGroup.h>
#include <media/stagefright/MediaDebug.h>
#include <media/stagefright/MediaDefs.h>
#include <media/stagefright/OMXClient.h>
#include <media/stagefright/OMXCodec.h>
#include <utils/List.h>
#include <new>
#include <map>
#include "avcodec.h"
#include "libavutil/imgutils.h"
Include dependency graph for libstagefright.cpp:

Go to the source code of this file.

Data Structures

struct  Frame
 
struct  TimeStamp
 
struct  StagefrightContext
 
class  CustomSource
 

Macros

#define OMX_QCOM_COLOR_FormatYVU420SemiPlanar   0x7FA30C00
 

Functions

voiddecode_thread (void *arg)
 
static av_cold int Stagefright_init (AVCodecContext *avctx)
 
static int Stagefright_decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
 
static av_cold int Stagefright_close (AVCodecContext *avctx)
 

Variables

AVCodec ff_libstagefright_h264_decoder
 

Macro Definition Documentation

#define OMX_QCOM_COLOR_FormatYVU420SemiPlanar   0x7FA30C00

Definition at line 41 of file libstagefright.cpp.

Referenced by Stagefright_init().

Function Documentation

void* decode_thread ( void arg)

Definition at line 152 of file libstagefright.cpp.

Referenced by Stagefright_decode_frame().

static av_cold int Stagefright_close ( AVCodecContext avctx)
static

Definition at line 470 of file libstagefright.cpp.

static int Stagefright_decode_frame ( AVCodecContext avctx,
void data,
int *  got_frame,
AVPacket avpkt 
)
static

Definition at line 355 of file libstagefright.cpp.

static av_cold int Stagefright_init ( AVCodecContext avctx)
static

Definition at line 255 of file libstagefright.cpp.

Variable Documentation

AVCodec ff_libstagefright_h264_decoder
Initial value:
= {
"libstagefright_h264",
NULL_IF_CONFIG_SMALL("libstagefright H.264"),
NULL,
NULL,
NULL,
NULL,
NULL,
0,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
}
static av_cold int Stagefright_init(AVCodecContext *avctx)
#define CODEC_CAP_DELAY
Encoder or decoder requires flushing with NULL input at the end in order to give the complete and cor...
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static int Stagefright_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
NULL
Definition: eval.c:55
static av_cold int Stagefright_close(AVCodecContext *avctx)

Definition at line 572 of file libstagefright.cpp.