FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
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 "internal.h"

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 42 of file libstagefright.cpp.

Referenced by Stagefright_init().

Function Documentation

void* decode_thread ( void arg)

Definition at line 153 of file libstagefright.cpp.

Referenced by Stagefright_decode_frame().

static av_cold int Stagefright_init ( AVCodecContext avctx)
static

Definition at line 256 of file libstagefright.cpp.

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

Definition at line 356 of file libstagefright.cpp.

static av_cold int Stagefright_close ( AVCodecContext avctx)
static

Definition at line 470 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,
}
#define NULL
Definition: coverity.c:32
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...
Definition: avcodec.h:824
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:175
static int Stagefright_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
static av_cold int Stagefright_close(AVCodecContext *avctx)

Definition at line 566 of file libstagefright.cpp.