Home
last modified time | relevance | path

Searched refs:chroma_type (Results 1 – 5 of 5) sorted by relevance

/external/libaom/libaom/common/
Dy4minput.c101 memcpy(_y4m->chroma_type, p + 1, q - p - 1); in y4m_parse_tags()
102 _y4m->chroma_type[q - p - 1] = '\0'; in y4m_parse_tags()
114 snprintf(_y4m->chroma_type, sizeof(_y4m->chroma_type), "420"); in y4m_parse_tags()
829 if (csp == AOM_CSP_VERTICAL && strcmp(_y4m->chroma_type, "420mpeg2") != 0) { in y4m_input_open()
842 if (strcmp(_y4m->chroma_type, "420") == 0 || in y4m_input_open()
843 strcmp(_y4m->chroma_type, "420jpeg") == 0) { in y4m_input_open()
852 } else if (strcmp(_y4m->chroma_type, "420p10") == 0) { in y4m_input_open()
870 } else if (strcmp(_y4m->chroma_type, "420p12") == 0) { in y4m_input_open()
888 } else if (strcmp(_y4m->chroma_type, "420mpeg2") == 0) { in y4m_input_open()
898 snprintf(_y4m->chroma_type, sizeof(_y4m->chroma_type), "420"); in y4m_input_open()
[all …]
Dy4minput.h43 char chroma_type[16]; member
/external/libvpx/libvpx/
Dy4minput.c104 memcpy(_y4m->chroma_type, p + 1, q - p - 1); in y4m_parse_tags()
105 _y4m->chroma_type[q - p - 1] = '\0'; in y4m_parse_tags()
117 if (!got_chroma) strcpy(_y4m->chroma_type, "420"); in y4m_parse_tags()
834 if (strcmp(_y4m->chroma_type, "420") == 0 || in y4m_input_open()
835 strcmp(_y4m->chroma_type, "420jpeg") == 0) { in y4m_input_open()
844 } else if (strcmp(_y4m->chroma_type, "420p10") == 0) { in y4m_input_open()
862 } else if (strcmp(_y4m->chroma_type, "420p12") == 0) { in y4m_input_open()
880 } else if (strcmp(_y4m->chroma_type, "420mpeg2") == 0) { in y4m_input_open()
888 } else if (strcmp(_y4m->chroma_type, "420paldv") == 0) { in y4m_input_open()
899 } else if (strcmp(_y4m->chroma_type, "422jpeg") == 0) { in y4m_input_open()
[all …]
Dy4minput.h42 char chroma_type[16]; member
/external/mesa3d/src/gallium/frontends/vdpau/
Dsurface.c55 vlVdpVideoSurfaceCreate(VdpDevice device, VdpChromaType chroma_type, in vlVdpVideoSurfaceCreate() argument
158 VdpChromaType *chroma_type, in vlVdpVideoSurfaceGetParameters() argument
161 if (!(width && height && chroma_type)) in vlVdpVideoSurfaceGetParameters()
171 … *chroma_type = PipeToChroma(pipe_format_to_chroma_format(p_surf->video_buffer->buffer_format)); in vlVdpVideoSurfaceGetParameters()
175 *chroma_type = PipeToChroma(pipe_format_to_chroma_format(p_surf->templat.buffer_format)); in vlVdpVideoSurfaceGetParameters()