James Almer
|
9fc1d9adc8
|
avcodec/evc_parse: make freeing EVCParserContext buffers a shared function
Signed-off-by: James Almer <jamrial@gmail.com>
|
2023-06-17 10:08:54 -03:00 |
|
James Almer
|
46a9be01b8
|
avcodec/evc_parse: free pps struct on parsing failure
Prevents future checks for their presence from succeeding.
Signed-off-by: James Almer <jamrial@gmail.com>
|
2023-06-17 10:08:54 -03:00 |
|
James Almer
|
811460f5c2
|
avcodec/evc_parse: use the correct sps when parsing slice headers
Signed-off-by: James Almer <jamrial@gmail.com>
|
2023-06-17 10:08:54 -03:00 |
|
James Almer
|
44f26315c8
|
avcodec/evc_parse: use a local EVCParserSliceHeader when parsing slices
There's no need to store EVC_MAX_PPS_COUNT amount of slice headers in EVCParserContext.
Signed-off-by: James Almer <jamrial@gmail.com>
|
2023-06-17 10:08:54 -03:00 |
|
James Almer
|
57879b23bc
|
avcodec/evc_parse: zero sps, pps and sh structs
Otherwise stale values may remain in place.
Signed-off-by: James Almer <jamrial@gmail.com>
|
2023-06-17 10:08:54 -03:00 |
|
James Almer
|
da2af70ffa
|
avcodec/evc_parser: export framerate to the AVCodecContext
Signed-off-by: James Almer <jamrial@gmail.com>
|
2023-06-17 10:08:53 -03:00 |
|
James Almer
|
f42df8384a
|
avcodec/evc_parse: use the correct struct size when allocating pps
Signed-off-by: James Almer <jamrial@gmail.com>
|
2023-06-16 10:08:32 -03:00 |
|
Dawid Kozinski
|
34e4f18360
|
avcodec/evc_parser: Added parser implementation for EVC format
- Added constants definitions for EVC parser
- Provided NAL units parsing following ISO_IEC_23094-1
- EVC parser registration
Signed-off-by: Dawid Kozinski <d.kozinski@samsung.com>
|
2023-06-15 09:51:04 -03:00 |
|