aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/coda
AgeCommit message (Collapse)AuthorFilesLines
2014-08-05coda: move H.264 helper function into separate filefor-3.17Philipp Zabel4-23/+39
Currently there is only the coda_h264_padding function, but we will have to add more H.264 specific helpers later. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Kamil Debski <k.debski@samsung.com>
2014-08-05coda: move per-instance buffer allocation and cleanupPhilipp Zabel1-10/+21
This patch moves the context buffer allocation into the context start_streaming callbacks. The context buffer and internal framebuffer cleanup is moved into the context release callback. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Kamil Debski <k.debski@samsung.com>
2014-08-05coda: add coda_bit_stream_set_flag helperPhilipp Zabel1-33/+19
This adds a helper function to consolidate three occurences where the bitstream parameter stream end flag is set during operation. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Kamil Debski <k.debski@samsung.com>
2014-08-05coda: move BIT processor command execution out of pic_run_workPhilipp Zabel1-8/+13
In preparation for the split, move the AXI_SRAM_USE register access and the PIC_RUN command execution out of pic_run_work into prepare_encode/decode. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Kamil Debski <k.debski@samsung.com>
2014-08-05coda: add context opsPhilipp Zabel2-35/+63
Add a struct coda_context_ops that encapsulates context specific operations. This will simplify adding JPEG support in the future and helps to avoid exporting all functions individually when they move out of the main code file. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Kamil Debski <k.debski@samsung.com>
2014-08-05coda: move defines, enums, and structs into shared headerPhilipp Zabel2-190/+219
These will have to be shared between multiple code files. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Kamil Debski <k.debski@samsung.com>
2014-08-05coda: move coda driver into its own directoryPhilipp Zabel3-0/+4449
The coda driver has grown significantly and will continue to grow. Move the coda driver into its own directory so it can be split. Rename coda.h to coda_regs.h as it contains the register defines. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Kamil Debski <k.debski@samsung.com>

Privacy Policy