Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
8a74029e
Commit
8a74029e
authored
Apr 08, 2012
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc doxy: add remaining avcodec.h functions to a misc doxygen group.
parent
6aadfbda
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
16 deletions
+36
-16
avcodec.h
libavcodec/avcodec.h
+36
-16
No files found.
libavcodec/avcodec.h
View file @
8a74029e
...
...
@@ -4125,9 +4125,23 @@ int av_picture_pad(AVPicture *dst, const AVPicture *src, int height, int width,
* @}
*/
void
avcodec_get_chroma_sub_sample
(
enum
PixelFormat
pix_fmt
,
int
*
h_shift
,
int
*
v_shift
);
/**
* @defgroup lavc_misc Utility functions
* @ingroup libavc
*
* Miscellaneous utility functions related to both encoding and decoding
* (or neither).
* @{
*/
void
avcodec_set_dimensions
(
AVCodecContext
*
s
,
int
width
,
int
height
);
/**
* @defgroup lavc_misc_pixfmt Pixel formats
*
* Functions for working with pixel formats.
* @{
*/
void
avcodec_get_chroma_sub_sample
(
enum
PixelFormat
pix_fmt
,
int
*
h_shift
,
int
*
v_shift
);
/**
* Return a value representing the fourCC code associated to the
...
...
@@ -4136,15 +4150,6 @@ void avcodec_set_dimensions(AVCodecContext *s, int width, int height);
*/
unsigned
int
avcodec_pix_fmt_to_codec_tag
(
enum
PixelFormat
pix_fmt
);
/**
* Put a string representing the codec tag codec_tag in buf.
*
* @param buf_size size in bytes of buf
* @return the length of the string that would have been generated if
* enough space had been available, excluding the trailing null
*/
size_t
av_get_codec_tag_string
(
char
*
buf
,
size_t
buf_size
,
unsigned
int
codec_tag
);
#define FF_LOSS_RESOLUTION 0x0001
/**< loss due to resolution change */
#define FF_LOSS_DEPTH 0x0002
/**< loss due to color depth change */
#define FF_LOSS_COLORSPACE 0x0004
/**< loss due to color space conversion */
...
...
@@ -4197,7 +4202,22 @@ int avcodec_get_pix_fmt_loss(enum PixelFormat dst_pix_fmt, enum PixelFormat src_
enum
PixelFormat
avcodec_find_best_pix_fmt
(
int64_t
pix_fmt_mask
,
enum
PixelFormat
src_pix_fmt
,
int
has_alpha
,
int
*
loss_ptr
);
/* external high level API */
enum
PixelFormat
avcodec_default_get_format
(
struct
AVCodecContext
*
s
,
const
enum
PixelFormat
*
fmt
);
/**
* @}
*/
void
avcodec_set_dimensions
(
AVCodecContext
*
s
,
int
width
,
int
height
);
/**
* Put a string representing the codec tag codec_tag in buf.
*
* @param buf_size size in bytes of buf
* @return the length of the string that would have been generated if
* enough space had been available, excluding the trailing null
*/
size_t
av_get_codec_tag_string
(
char
*
buf
,
size_t
buf_size
,
unsigned
int
codec_tag
);
void
avcodec_string
(
char
*
buf
,
int
buf_size
,
AVCodecContext
*
enc
,
int
encode
);
...
...
@@ -4210,8 +4230,6 @@ void avcodec_string(char *buf, int buf_size, AVCodecContext *enc, int encode);
*/
const
char
*
av_get_profile_name
(
const
AVCodec
*
codec
,
int
profile
);
enum
PixelFormat
avcodec_default_get_format
(
struct
AVCodecContext
*
s
,
const
enum
PixelFormat
*
fmt
);
int
avcodec_default_execute
(
AVCodecContext
*
c
,
int
(
*
func
)(
AVCodecContext
*
c2
,
void
*
arg2
),
void
*
arg
,
int
*
ret
,
int
count
,
int
size
);
int
avcodec_default_execute2
(
AVCodecContext
*
c
,
int
(
*
func
)(
AVCodecContext
*
c2
,
void
*
arg2
,
int
,
int
),
void
*
arg
,
int
*
ret
,
int
count
);
//FIXME func typedef
...
...
@@ -4243,8 +4261,6 @@ void avcodec_flush_buffers(AVCodecContext *avctx);
void
avcodec_default_free_buffers
(
AVCodecContext
*
s
);
/* misc useful functions */
/**
* Return codec bits per sample.
*
...
...
@@ -4427,4 +4443,8 @@ int av_codec_is_encoder(AVCodec *codec);
*/
int
av_codec_is_decoder
(
AVCodec
*
codec
);
/**
* @}
*/
#endif
/* AVCODEC_AVCODEC_H */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment