[vlc-commits] [Git][videolan/vlc][master] 12 commits: codec: rawvideo: modify the visible format of the output

Steve Lhomme (@robUx4) gitlab at videolan.org
Wed Nov 16 18:01:48 UTC 2022



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
5e1871b5 by Steve Lhomme at 2022-11-16T17:42:04+00:00
codec: rawvideo: modify the visible format of the output

Don't touch the input format.

- - - - -
1847d5d0 by Steve Lhomme at 2022-11-16T17:42:04+00:00
hw:d3d11: modify the visible format of the output

Don't touch the input format.

- - - - -
14e8b04e by Steve Lhomme at 2022-11-16T17:42:04+00:00
codec: oggspots: normalize the framerate on the output

- - - - -
145992e9 by Steve Lhomme at 2022-11-16T17:42:04+00:00
codec: oggspots: don't modify source format for local image decoder

- - - - -
bb6b45f5 by Steve Lhomme at 2022-11-16T17:42:04+00:00
codec: dmo: constify the input format

- - - - -
b7756201 by Steve Lhomme at 2022-11-16T17:42:04+00:00
packetizer:vc1: constify the video format read

- - - - -
30a1608c by Steve Lhomme at 2022-11-16T17:42:04+00:00
demux: add an owner to the packetizer object

- - - - -
1fac7f19 by Steve Lhomme at 2022-11-16T17:42:04+00:00
test: packetizer: add an owner to the packetizer object

- - - - -
e652fc2b by Steve Lhomme at 2022-11-16T17:42:04+00:00
codec/packetizer: expose a read-only version of the input format

All code creating a decoder uses decoder_Init().
Packetizer creation needs to be taken care of as well.

- - - - -
3bbe3ffe by Steve Lhomme at 2022-11-16T17:42:04+00:00
codec/packetizer: use read-only input format wherever possible

It's renaming :
"dec->fmt_in.", "dec.fmt_in.", "decoder->fmt_in.", "&dec->fmt_in",
"&p_dec->fmt_in" (except in decoder_Init), "&p_dec->fmt_in->",
"&decoder->fmt_in", "&p_dec->fmt_in,", "= p_dec->fmt_in;",
"&id->p_decoder->fmt_in" and "p_sys->p_decoder->fmt_in"

- - - - -
08b24866 by Steve Lhomme at 2022-11-16T17:42:04+00:00
codec/packetizer: make the writable input format private

The writable fmt_in is kept in the decoder/packetizer owner.

The decoder/packetizer only has access to a const version.

- - - - -
007e5d91 by Steve Lhomme at 2022-11-16T17:42:04+00:00
codec/packtizer: rename p_fmt_in to fmt_in

We don't need to know it's a pointer and can save 2 characters.

No functional changes. This is simply renaming "dec->p_fmt_in",
"decoder->p_fmt_in", "dec.p_fmt_in" and "packetizer->p_fmt_in"

- - - - -


30 changed files:

- include/vlc_codec.h
- modules/codec/a52.c
- modules/codec/adpcm.c
- modules/codec/aes3.c
- modules/codec/aom.c
- modules/codec/araw.c
- modules/codec/arib/aribsub.c
- modules/codec/arib/libaribcaption.c
- modules/codec/audiotoolbox_midi.c
- modules/codec/avcodec/audio.c
- modules/codec/avcodec/avcodec.c
- modules/codec/avcodec/subtitle.c
- modules/codec/avcodec/video.c
- modules/codec/bpg.c
- modules/codec/cc.c
- modules/codec/cdg.c
- modules/codec/cvdsub.c
- modules/codec/daala.c
- modules/codec/dav1d.c
- modules/codec/davs2.c
- modules/codec/dca.c
- modules/codec/ddummy.c
- modules/codec/dmo/dmo.c
- modules/codec/dvbsub.c
- modules/codec/faad.c
- modules/codec/flac.c
- modules/codec/fluidsynth.c
- modules/codec/g711.c
- modules/codec/gstreamer/gstdecode.c
- modules/codec/hxxx_helper_testdec.c


The diff was not included because it is too large.


View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/55645823ca40294d4f47c034d2bba9965d5f5854...007e5d910c1ffe3f21c3aff1ae517ad5f67745c6

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/55645823ca40294d4f47c034d2bba9965d5f5854...007e5d910c1ffe3f21c3aff1ae517ad5f67745c6
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list