Re: [FFmpeg-devel] [PATCH] [MXF] - Add jpeg2000 subdescriptor in MXF file (V2).

2024-10-29 Thread Tomas Härdin
sön 2024-10-27 klockan 21:06 -0700 skrev Pierre-Anthony Lemieux: > av_pix_fmt_count_planes() in > > On Thu, Dec 21, 2023 at 3:11 AM Tomas Härdin wrote: > > > > ons 2023-12-20 klockan 18:04 +0100 skrev Cédric Le Barz: > > > Le 19/12/2023 à 14:36, Tomas Härdin a écrit : > > > > > +    for ( comp =

Re: [FFmpeg-devel] [PATCH] [MXF] - Add jpeg2000 subdescriptor in MXF file (V2).

2024-10-28 Thread Pierre-Anthony Lemieux
av_pix_fmt_count_planes() in On Thu, Dec 21, 2023 at 3:11 AM Tomas Härdin wrote: > > ons 2023-12-20 klockan 18:04 +0100 skrev Cédric Le Barz: > > Le 19/12/2023 à 14:36, Tomas Härdin a écrit : > > > > +for ( comp = 0; comp < component_count; comp++ ) { > > > > +avio_write(pb, &sc->j2k_

Re: [FFmpeg-devel] [PATCH] [MXF] - Add jpeg2000 subdescriptor in MXF file (V2).

2023-12-31 Thread Tomas Härdin
sön 2023-12-31 klockan 14:16 +0100 skrev Tomas Härdin: > fre 2023-12-22 klockan 09:58 +0100 skrev Cédric Le Barz: > > > > Le 21/12/2023 à 12:11, Tomas Härdin a écrit : > > > ons 2023-12-20 klockan 18:04 +0100 skrev Cédric Le Barz: > > > > Le 19/12/2023 à 14:36, Tomas Härdin a écrit : > > > > > > +

Re: [FFmpeg-devel] [PATCH] [MXF] - Add jpeg2000 subdescriptor in MXF file (V2).

2023-12-31 Thread Tomas Härdin
fre 2023-12-22 klockan 09:58 +0100 skrev Cédric Le Barz: > > Le 21/12/2023 à 12:11, Tomas Härdin a écrit : > > ons 2023-12-20 klockan 18:04 +0100 skrev Cédric Le Barz: > > > Le 19/12/2023 à 14:36, Tomas Härdin a écrit : > > > > > +    for ( comp = 0; comp < component_count; comp++ ) { > > > > > + 

Re: [FFmpeg-devel] [PATCH] [MXF] - Add jpeg2000 subdescriptor in MXF file (V2).

2023-12-22 Thread Cédric Le Barz
Le 21/12/2023 à 12:11, Tomas Härdin a écrit : ons 2023-12-20 klockan 18:04 +0100 skrev Cédric Le Barz: Le 19/12/2023 à 14:36, Tomas Härdin a écrit : +for ( comp = 0; comp < component_count; comp++ ) { +avio_write(pb, &sc->j2k_info.j2k_comp_desc[3*comp] , 3); +} Looks like this

Re: [FFmpeg-devel] [PATCH] [MXF] - Add jpeg2000 subdescriptor in MXF file (V2).

2023-12-21 Thread Tomas Härdin
ons 2023-12-20 klockan 18:04 +0100 skrev Cédric Le Barz: > Le 19/12/2023 à 14:36, Tomas Härdin a écrit : > > > +    for ( comp = 0; comp < component_count; comp++ ) { > > > +    avio_write(pb, &sc->j2k_info.j2k_comp_desc[3*comp] , 3); > > > +    } > > Looks like this could be simplified to just

Re: [FFmpeg-devel] [PATCH] [MXF] - Add jpeg2000 subdescriptor in MXF file (V2).

2023-12-20 Thread Cédric Le Barz
Le 19/12/2023 à 14:36, Tomas Härdin a écrit : +for ( comp = 0; comp < component_count; comp++ ) { +avio_write(pb, &sc->j2k_info.j2k_comp_desc[3*comp] , 3); +} Looks like this could be simplified to just avio_write(pb, sc->j2k_info.j2k_comp_desc, 3*component_count); +if