FFmpeg
4.0
|
#include <errno.h>
#include <pthread.h>
#include <stdatomic.h>
#include <stdbool.h>
#include <stdint.h>
#include <camera/NdkCameraDevice.h>
#include <camera/NdkCameraManager.h>
#include <media/NdkImage.h>
#include <media/NdkImageReader.h>
#include "libavformat/avformat.h"
#include "libavformat/internal.h"
#include "libavutil/avstring.h"
#include "libavutil/display.h"
#include "libavutil/imgutils.h"
#include "libavutil/log.h"
#include "libavutil/opt.h"
#include "libavutil/parseutils.h"
#include "libavutil/pixfmt.h"
#include "libavutil/threadmessage.h"
#include "libavutil/time.h"
#include "version.h"
Go to the source code of this file.
Data Structures | |
struct | AndroidCameraCtx |
Macros | |
#define | IMAGE_FORMAT_ANDROID AIMAGE_FORMAT_YUV_420_888 |
#define | MAX_BUF_COUNT 2 |
#define | VIDEO_STREAM_INDEX 0 |
#define | VIDEO_TIMEBASE_ANDROID 1000000000 |
#define | RETURN_CASE(x) case x: return AV_STRINGIFY(x); |
#define | RETURN_DEFAULT(x) default: return AV_STRINGIFY(x); |
#define | OFFSET(x) offsetof(AndroidCameraCtx, x) |
#define | DEC AV_OPT_FLAG_DECODING_PARAM |
Variables | |
static const AVOption | options [] |
static const AVClass | android_camera_class |
AVInputFormat | ff_android_camera_demuxer |
#define IMAGE_FORMAT_ANDROID AIMAGE_FORMAT_YUV_420_888 |
Definition at line 50 of file android_camera.c.
Referenced by create_image_reader(), and match_video_size().
#define MAX_BUF_COUNT 2 |
Definition at line 52 of file android_camera.c.
Referenced by create_image_reader().
#define VIDEO_STREAM_INDEX 0 |
Definition at line 53 of file android_camera.c.
Referenced by add_video_stream(), and image_available().
#define VIDEO_TIMEBASE_ANDROID 1000000000 |
Definition at line 54 of file android_camera.c.
Referenced by add_video_stream().
#define RETURN_CASE | ( | x | ) | case x: return AV_STRINGIFY(x); |
Definition at line 56 of file android_camera.c.
Referenced by camera_status_string(), error_state_callback_string(), and media_status_string().
#define RETURN_DEFAULT | ( | x | ) | default: return AV_STRINGIFY(x); |
Definition at line 57 of file android_camera.c.
Referenced by camera_status_string(), and media_status_string().
#define OFFSET | ( | x | ) | offsetof(AndroidCameraCtx, x) |
Definition at line 844 of file android_camera.c.
#define DEC AV_OPT_FLAG_DECODING_PARAM |
Definition at line 845 of file android_camera.c.
|
static |
Definition at line 95 of file android_camera.c.
Referenced by create_capture_session(), and open_camera().
|
static |
Definition at line 117 of file android_camera.c.
Referenced by create_image_reader(), and image_available().
|
static |
Definition at line 145 of file android_camera.c.
Referenced by camera_dev_error().
Definition at line 158 of file android_camera.c.
Referenced by open_camera().
Definition at line 167 of file android_camera.c.
Referenced by open_camera().
|
static |
Definition at line 176 of file android_camera.c.
Referenced by android_camera_read_header().
|
static |
Definition at line 226 of file android_camera.c.
Referenced by android_camera_read_header().
|
static |
Definition at line 241 of file android_camera.c.
Referenced by android_camera_read_header().
|
static |
Definition at line 286 of file android_camera.c.
Referenced by android_camera_read_header().
|
static |
Definition at line 337 of file android_camera.c.
Referenced by image_available().
Definition at line 376 of file android_camera.c.
Referenced by create_image_reader().
|
static |
Definition at line 488 of file android_camera.c.
Referenced by android_camera_read_header().
Definition at line 523 of file android_camera.c.
Referenced by create_capture_session().
Definition at line 528 of file android_camera.c.
Referenced by create_capture_session().
Definition at line 533 of file android_camera.c.
Referenced by create_capture_session().
|
static |
Definition at line 538 of file android_camera.c.
Referenced by android_camera_read_header().
|
static |
Definition at line 628 of file android_camera.c.
Referenced by add_video_stream().
|
static |
Definition at line 640 of file android_camera.c.
Referenced by add_video_stream().
|
static |
Definition at line 664 of file android_camera.c.
Referenced by android_camera_read_header().
|
static |
Definition at line 695 of file android_camera.c.
Referenced by android_camera_read_header().
|
static |
Definition at line 772 of file android_camera.c.
|
static |
Definition at line 825 of file android_camera.c.
|
static |
Definition at line 846 of file android_camera.c.
|
static |
Definition at line 854 of file android_camera.c.
AVInputFormat ff_android_camera_demuxer |
Definition at line 862 of file android_camera.c.