[FFmpeg-devel] [PATCH v2] avcodec/cbs_vp8: Add support for VP8 codec bitstream READ methods

James Almer jamrial at gmail.com
Sun May 28 21:04:39 EEST 2023


On 5/23/2023 4:19 AM, Dai, Jianhui J wrote:
> +typedef struct VP8RawFrameHeader {
> +    // frame tag
> +    uint8_t frame_type;
> +    uint8_t profile;
> +    uint8_t show_frame;
> +    uint32_t first_partition_length_in_bytes;
> +
> +    uint32_t start_code_0;
> +    uint32_t start_code_1;
> +    uint32_t start_code_2;

These are unused since you read the values with fixed().

> +    uint16_t horizontal_scale;

uint8_t for this one.

> +    uint16_t vertical_scale;

Same.


More information about the ffmpeg-devel mailing list